Chad Vernon
  • Home
  • Reel/Resume
  • Work
  • Resources
  • About
  • Contact
sideBar

Search

Categories

  • CAM
  • CG
  • cvxporter
  • Maya
    • API
    • Plug-ins
  • Personal

Archives

  • July 2012
  • June 2012
  • May 2012
  • March 2012
  • September 2011
  • June 2011
  • March 2011
  • December 2010
  • November 2010
  • September 2010
  • August 2010
  • July 2010
  • May 2010
  • April 2010
  • March 2010
  • December 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007

Rss

  • Main Entries RSS
  • Comments RSS
Home » Resources » Python Scripting for Maya Artists

Python Scripting for Maya Artists

  Introduction To Python Scripting for Maya Artists PDF (914.6 KiB, 7,582 hits)

Check out my Introduction to the Maya API video series at CGCircuit

Introduction

This workshop is geared towards students with little to no scripting/programming experience. By the end of this workshop, you will have the knowledge to write and run Python scripts inside and outside of Maya. You will not learn everything about Python from this workshop. This workshop includes all the basic information you should know in order to be proficient in reading, writing, running, and modifying Python scripts. The purpose of this workshop is not to make you expert Python scripters, but to give you a solid foundation from which in further your Python studies.

Additional Resources

  • Learning Python, 3rd Edition by Mark Lutz
  • Dive Into Python: http://www.diveintopython.org/toc/index.html
  • The python_inside_maya Google email list: http://groups.google.com/group/python_inside_maya
  • http://www.pythonchallenge.com/

Python in the Computer Graphics Industry

Some Programs that support Python:

  • Maya
  • Modo
  • Houdini
  • XSI
  • Massive
  • Blender
  • Photoshop (indirectly)
  • 3ds max (indirectly)

What is Python used for?

Artists can

  • Automate repetitive and/or tedious tasks.
  • Reduce human error.
  • Produce more creative iterations in the feedback loop.

Engineers can

  • Create applications and tools to run studio pipelines.
  • Customize existing applications to support studio specific workflows.
  • Let artists be artists.

Contents

  1. Introduction to Python
  2. Data Types and Variables
  3. Controlling the Flow of Execution
  4. Functions
  5. Exceptions and Error Handling
  6. File Input and Output
  7. Modules
  8. Classes and Object Oriented Programming
  9. Documenting your Code
  10. Sample Script
  11. Python in Maya

Conclusion

After reading these notes, you should have a good understanding of how to write and run Python scripts inside and outside of Maya. There is still plenty to learn though. There are hundreds of Maya commands and plenty of useful modules out there to experiment with. I recommend continuing your Python education by looking through the references included with these notes, reading other peoples’ scripts, and experimenting with your own scripts. Good luck!

No Responses to “Python Scripting for Maya Artists”

Subscribes to this topic Comment RSS or TrackBack URL
Home » Resources » Python Scripting for Maya Artists

© 2011 Chad Vernon