3D-Palace Community Forums
 
 
3D-Palace ed209

3d-Palace Video Tutorials Sponsor 3d-palace Training DVD Shop Gamedev 2 (ED209) Commercial Training DL Shop
Go Back   3D-Palace Community Forums > Application Specific and Hardware Subforums > MAYA

MAYA Autodesk's Maya is one of the industries most popular applications, held under contract my many studios around the world it is used in Film, TV, Games, Advertising, Visualisation and a lot more.

» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Site Navigation
3d-Palace
Training DVD Shop
IRC Support channel
Main Forum
Video Tutorials
Paid Memberships
3D Book Store
Advertise with us
» From The Shop
ED209 Gamedev Set
The ATMT Set
The APU Set
The CRUX Set
The Cutty Sark
The Dreadnought
Game Development 1
The Master Seminar
The Obelisk
Stormbringer/Firefly
» Forums List
News and Announcements
3D-Palace Chat
Written Tutorials
Non 3D-Conversation
Review Forum
Competition Forum
Sponsor Lounge
Regular Member Lounge
Bugs Forum
Mentoring Forum
3DS Max Forum
Cinema 4D Forum
Softimage XSI FOrum
Maya Forum
Finished Works Gallery
Member Portfios
WIP Forum
» Today's Birthdays
None
» Stats
Members: 99,965
Threads: 16,647
Posts: 152,843
Top Poster: olblue (7,236)
Welcome to our newest member, LyncplaillRal
» Online Users: 51
8 members and 43 guests
BiroBoy, ChrisPerr, cihy, GorgeouS, Lord Ravensburg, LyncplaillRal, Morrag, skuggan
Most users ever online was 419, 07-02-2007 at 01:19 AM.

3D Palace Training DVDs. Best in the World and Free Postage Too

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 05-14-2008, 04:10 PM
supertom44's Avatar
Senior Member
Sinister 3D Overlord
 
Join Date: Jul 2005
Location: Uk - Cannock
Posts: 1,048
supertom44 is on a distinguished road
Credits: 15,189
MEL or Python

I plan to attempt to learn a programming language for maya soon, and I was just wondering if I should learn MEL or Python.

Anyone got any advice which one to go for?

Thanks
__________________
Si vis pacem, para bellum!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 05-14-2008, 04:21 PM
ragupasta's Avatar
3dp Hammer Swinging Ninja
ARTIST
 
Join Date: Apr 2006
Location: Ov'ver Yonder-->
Posts: 3,489
ragupasta has a spectacular aura aboutragupasta has a spectacular aura about
Credits: 34,548
Personally I would go Python, as you can use it outside of Maya too if need be...
__________________
3d-Palace SUPERmoderator

Pimp the rep system!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 05-14-2008, 04:42 PM
jackobeast's Avatar
Pastor of Muppets
3D addicted maniac
 
Join Date: Jul 2005
Location: Dark side of the spoon
Posts: 802
jackobeast is an unknown quantity at this point
Credits: 4,299
Send a message via AIM to jackobeast Send a message via MSN to jackobeast Send a message via Yahoo to jackobeast
I'll second ragu on that one. More practical to learn python. It's not difficult either.
-j
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 05-14-2008, 06:40 PM
Zerflag's Avatar
Know-it-all
Wonky 3D Drunkard
 
Join Date: Feb 2003
Location: Los Angeles, CA
Posts: 1,545
Zerflag will become famous soon enoughZerflag will become famous soon enough
Credits: 10,777
Send a message via AIM to Zerflag
learn both. mel's not hard either. it'll also give you exposure to shell style languages.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 06-27-2008, 10:15 PM
Member
locator of 3d wisdom
 
Join Date: Feb 2007
Posts: 44
Jedipottsy is on a distinguished road
Credits: 326
Unfortunately within Maya Python isnt a one stop solution. Python is much easier than other languages like C++ and does have more control than mel however due to Maya being built upon MEL you still need to learn mel.

In particular running Maya commands require you to invoke the Maya commands and require you to prefix all your maya's commands with the maya command library. As such:

import maya.cmds as mc
import maya.mel as mel
import maya.OpenMaya as om

need to be initialised at the beginning of your python script.

so in mel to create a polyshere the command is:

Code:
polySphere -r 1 -sx 20 -sy 20 -ax 0 1 0 -cuv 2 -ch 1;
however in Python you would need to do this:

[code]
import maya.cms as mc

mc.polyshere(r=True, sx=20, sy=20, ax=(0,1,0), cuv=2, ch=1)

in python commands that require the maya.cmds library need the mc. prefixed then the variables for the command
to be inside the ( ). also mel commands such as -r mean relative. However the relative flag is a boolean (either yes or no) so the flag needs to be True with a capital T.
Seems like alot of hassle to include python inside of maya if it needs all of these extra steps. However python has alot of advantages over Python. For one python can now be used for plugins rather than just C/C++. Also python is alot more flexible than mel. Its listing ability alone allows for a greater amount of control.

i suggest learning python as its a very flexible language. Easiest way to learn mel is to open the scipt editor and do some stuff inside of maya to see what the commands are. The built in help also is greatful for showing how the commands require their flags to be presented etc. Good Luck
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Powered by vBadvanced CMPS v3.0.1
Sponsored Links
3D-Palace ed209


All times are GMT. The time now is 12:43 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Advertisement System V2.5 By   Branden
3d-Palace