
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Although this is not a .mel class (Maya embedded language), I would like to introduce you to the ability to write code in Maya’s native language. (You can also do this with any other 3D program you enjoy using.)
Type this in and save it as test.mel
// This is a mel file and can be opened with maya file –f –new; sphere –r .5; move 2 0 0; polyCube; move 4 5 0; curve -d 1 -p 3.5 4.5 0.5 -p 2.4 0.2 -0.2;
then type: maya test.mel &
What you have to do in Maya (or any other program is do a command on the GUI (graphic interface) and then look at how the command was generated in the script editor (window-general editors-script editor)
Your assignment: Generate a pure mel code file that makes a cool design in Maya