Python Scripting in Maya

Easily learn Python and begin utilizing the powerful capabilities with creative projects, practical examples, and a fun and easy approach to learning object-oriented programming. Ideal for artists interested in tool development, creating rapid applications, and adding efficiency to workflows. Software required: Maya 8.5 and up.
Course info
Level
Intermediate
Updated
Nov 27, 2007
Duration
3h 17m
Table of contents
Description
Course info
Level
Intermediate
Updated
Nov 27, 2007
Duration
3h 17m
Description

Easily learn Python and begin utilizing the powerful capabilities with creative projects, practical examples, and a fun and easy approach to learning object-oriented programming. Ideal for artists interested in tool development, creating rapid applications, and adding efficiency to workflows. Contains over 3 hours of intuitive project-based training. Popular highlights include: Basics of Python Coding; Plug-in Development; Rewriting MEL as Python; Variables and Types; Print and Concatenation; Loops and Lists; Working with Selections; Scripting for Automation; Creating a Procedural Gear Generator; Building Custom UIs with Python; Creating Motion Trail and Lags; Timeline Based Scripting; Python in Maya Expressions; Creating a Tkinter GUI; Working with Mayapy Shell; Working with Python Editors. Software required: Maya 8.5 and up.

About the author
Section Introduction Transcripts
Section Introduction Transcripts

Introduction and Project Overview
[Autogenerated] Hello and welcome to Introduction to Python in Maya, presented by digital theaters and auto desk authorized publisher. My name is Sunder, and I'll be your instructor for the duration of this training product. Before Molly, a 8.5, the only rate of Bill's scripts was with Mel Mai's embedded language, and the only way to create plug ins was with C plus plus. The advent of the Python programming language to Maya has not unified Maya programming. Python is essentially a modern programming language that is easier to use than c++ and more powerful and more intuitive than Mel, and it can be used for both script and blood and creation. This makes extending mice functionality even easier than before. With the help of custom Interface is external python modules, scripts and much, much more. In this training kid, we're going to learn the basics of python programming in Maya, how to build various tools with it and how to rewrite our Mel code for python usage will build tools that can generate gears, procedurally, scatter objects, resize objects from small to big and even produced a motion trill effect based on any animated object in our scene. We'll also learn how to write python for expressions and even scratched the surface of some advanced techniques, like using external python editors, Python gooey programming and Maya Plug in programming. Upon completing this training kit, you'll be armed with enough python programming knowledge to create your own custom tools and plug ins. Now keep in mind that this training product is designed for users who have some melt scripting experience. Before you learn python or even go through this product, I recommend that you brush up on basic melt scripting or go through the Artist Guide to Melt and or the introduction to melt training products. This will help gain a form understanding of scripting in Maya ritual greatly helped in the python in mild learning process. Also, a few lessons on this training kit involved the use of both male and python, so learning Mel will only be to your advantage. Now keep in mind. Also, that coding can be a little difficult, so errors are bound to happen. Be sure to review your code a few times and check for any errors. If errors are still abound, please use our help this system to submit a support ticket with descriptions of the errors and will assist you as soon as possible. Now, with no delay, let's get started with the first lesson.