• Home
  • About Us
  • Contact Us
  • Disclaimer
  • Great Offers
  • Privacy Policy
  • Search
  • Site Maps
RSS Feed
Thousands of the Free Video Tutorials on 3D Animation and 3D Modeling
    • What is New
      • Magazine
      • Misc Tutorials
    • Maya Basics
      • What is 3D?
      • Getting Started
      • User Interface
    • Maya Modeling
      • Maya NURBS Modeling
      • Maya Poly Modeling >>
        • Understanding Poly
        • Architectural Modeling
        • Mechanical Modeling
        • Organic Modeling
        • Poly Misc Tutorials
      • Maya Subdivision Modeling
    • Maya Animation
      • Character Animation
      • Maya Kinematics
      • Maya Mechanics
    • Maya Dynamics
    • Maya Rendering
    • Maya Models
    • Maya Projects

Start MEL Scripting language 1

Yad | Jun 24, 2010 | Comments 0


From this place you can learn the MEL. You will find video, text and pdf tutorial in the form syllabus so that you can learn MEL as scripting language.

MEL is core language of Maya, Maya is almost written in MEL. Maya User interface has been/can be created MEL. With MEL you can write your own script in Maya, Thus MEL is a scripting language. All tools and panels of interface and all things of interface are scripted in MEL. MEL stands for Maya Embedded Language. Even a MEL scripter can all user interface even scripter can create their own interface in Maya. MEL is expert level job. It needs a little basic understanding of programming. If you have some knowhow in C++ or you can easily understand the MEL.

You can read this tutorial step by step

Let’s Start MEL

  1. Type a single command in command line
  2. sphere;

    Note: you will have to end up with a semi colon.

    image002

  3. Hit the Enter of Numeric Pad instead of the main keyboard Pad
  4. image004


    Now you will delete the sphere by typing simply the word delete in command line

  5. Type delete and then semi colon in command line.
  6. delete;

    This way you have deleted the object by simply writing a little word delete in command line

    Congratulations. You are now writing the MEL script.

    Let’s go ahead.

    Now try to create a Poly Cube by putting a single command in command line,

  7. Type a single command plolyCube and then semi colon in command line,
  8. polyCube;

    mel commonds

  9. Hit Enter on Numeric KeyPad of your Keyboard
  10. mel commonds

    Again delete the Poly Cube by typing simply delete and then semi colon

  11. Type delete and semi colon,
  12. delete;

    Let’s go more ahead,

    Now we’ll learn how to modify object with MEL commands

    Lets scale our object with MEL

  13. Type scale 3 5 6 and then semi colon
  14. Scale 3 5 6;

    This will scale the object which has already been created previously see the images below,

    image010

  15. Hit Enter of the Numeric KeyPad of your Keyboard
  16. mel maya

    Let’s rotate the same scaled object now

  17. Type rotate 30 20 110 and then semi colon
  18. rotate 30 20 110;

    image014

  19. Hit Enter of the Numeric Pad of your Key board
  20. image016

    We have rotated our object but it looks odd and we should reset the rotation of our object by writing a MEL script.


  21. Type rotate 0 0 0 and then semi colon
  22. rotate 0 0 0;

    this will reset the rotation of our object

    image018

    Let’s select a component of our object. We know a Poly Cube has 6 sides,

    image020

    Each side is a face of Poly Cube. We select a single face or more than one face at time with MEL scrip

  23. Type in command line the following command,
  24. select -r polySurface1.f[4] ;

    image022

  25. This will select a face of Poly Cube which is called component level
  26. image024

    Therefore,

    select is a command

    -r is flag

    polySurface1 is the name of Poly cube

    and f[4] is the number of face

    Let’s delete this single face now to show the hollowness of the box instead of a solid box

  27. Type delete and then semi colon
  28. delete;

    image026

    We are going ahead step by step, keep pace with us and don’t leave visit next lesson regularly if you really want to learn MEL .

    Thanks

Watch Video Tutorial Now ………


Related Posts in this Category


  • Start MEL Scripting language 2

    From this place you can learn the MEL. You will find video, text and pdf tutorial in the ...

  • Video-Start MEL Scripting language 1

    This is new 3d modeling and animation tutorial video series for learning MEL scrip ...

  • Modeling a Poly Puppy in Maya 3

    In this tutorial we will model a puppy with Poly Here is step by step Hand-on Excercise Let ...

  • MEL is core language of Maya

    MEL is core language of Maya, Maya is almost written in MEL. Maya User interface has b ...

  • Modeling a Poly Puppy in Maya 1

    In this tutorial we will model a puppy with Poly Here is step by step Hand-on Excercise ...

By Blogsdna
Be Sociable, Share!
  • Delicious
  • Myspace
  • Tumblr
  • Tumblr
  • Tumblr
  • Tumblr
  • Tumblr
  • Tumblr
  • Tumblr
  • Tumblr
  • Tumblr
  • Tumblr
  • Tumblr
  • Tumblr
  • Tumblr
  • Tumblr
  • Tumblr
  • Tumblr
  • Tweet
[pinit]

Filed Under: Uncategorized

Tags: 3d scripting • become a mel expert • command line • commond prompt • create a mel command • creating a user interface element in maya with mel • free tutorial on mel in maya • how create userinterface in maya with mel • how to create a window with mel in may • how to learn mel language of maya • how to use script editor in maya • how to write a mel script in maya • I want to learn mel maya embedded language • language • learning mel of maya • Maya MEL • mel • mel expert • mel scripts in maya • python scripts in maya • scripting • start • write in command line of maya • writing scripts in maya

About the Author:

RSSComments (0)

Trackback URL

Comments are closed.

  • Latest Video Tutorials
    • Onion Skinning Ghosting tool for Maya
    • Release Maya 2013 Extension: DirectX 11 Next gen viewport Shader
    • Modeling Simple Strawberry in Maya 2013
    • Journey 2 the Mysterious Island 3D Review
    • Ice Age 4 – Official Trailer (2012)
    • Autodesk Ilion Animation Studios
    • Autodesk Maya – Goldtooth Creative Agency, Inc
    • Graph Editor and HumanIK Enhancements in Maya 2013
  • Popular Tutorials
    Computer animation 3d character Visual Effects Graphics Design Interior DesignArchitectural Character Animation 3D Animation Rendering Mechanics Mechanical Modeling Simulation
© Copyright Free Maya Video Tutorials 2013. All rights reserved.
| XHTML | Go to Top |