Docsity

Maya Embedded Language - Assignment | VSFX 160, Assignments of Typography

Toggle sidebar
bg1
Extra Credit assignment: Write a .mel file
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

Partial preview of the text

Download Maya Embedded Language - Assignment | VSFX 160 and more Assignments Typography in PDF only on Docsity!

Extra Credit assignment: Write a .mel file

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