By Robert Galanakis
Create and customise UIs utilizing normal instruments and libraries
Understand how Maya can leverage complex Python features
Make your instruments, and Maya itself, absolutely automatable
Autodesk Maya is a 3D special effects software program. It bargains an enormous and versatile set of gains using Python. it's not tricky to start utilizing Python in Autodesk Maya, however it could be tricky to move from writing procedural, MEL-inspired instruments to development the robust but easy structures that Python promises.
Practical Maya Programming with Python can help you grasp either Python and Maya. With thorough motives, illustrative examples, and entire pattern initiatives, you are going to the best way to use Python to attraction Maya into obeying your each command. useful Maya Programming with Python will train you ways PyMEL works in addition to how one can take care of mistakes and write composable code in Python.
What you'll examine from this book
Understand the structure of Python items, Maya nodes, and PyMEL
Write composable code that's modular and re-usable
Make Maya "Pythonic" by using decorators and context managers
Learn approximately varied Maya UI thoughts and libraries
Use PySide and PyQt to construct Maya person interfaces
Turn Maya right into a server that may be managed remotely
Understand easy methods to use Python with Maya's API
Conquer customized nodes utilizing Python's dynamic sort creation
"Practical Maya Programming with Python" is a realistic instructional filled with lots of examples and pattern tasks which courses you thru construction reusable, self sufficient modules and dealing with unforeseen errors.
Who this ebook is written for
If you're a developer trying to construct a strong approach utilizing Python and Maya's features, then this publication is for you. useful Maya Programming with Python is ideal for intermediate clients with uncomplicated event in Python and Maya who are looking to greater their wisdom and abilities.
Read Online or Download Practical Maya Programming with Python PDF
Best 3d graphics books
This booklet is concentrated in any respect degrees of animators and visible results artists who desire to reveal global classification caliber of their machine generated (CG) lights environments.
Become aware of your imaginative and prescient with wonderful renders of your 3ds Max initiatives which may simply be accomplished with a robust engine like psychological ray. starting with a concise evaluate of the basic suggestions, you continue to step by step tutorials that train you ways to render scenes with oblique mild or with particular results, resembling intensity of box and movement blur.
This ebook introduces the geometry of 3D imaginative and prescient, that's, the reconstruction of 3-D versions of items from a set of 2-D photos. It info the vintage idea of 2 view geometry and exhibits extra right device for learning the geometry of a number of perspectives is the so-called rank attention of the a number of view matrix.
This ebook investigates collisions taking place within the movement of solids, within the movement of fluids but additionally within the movement of pedestrians in crowds. The period of those offered collisions is brief in comparison to the entire length of the movement: they're assumed prompt. The leading edge notion confirmed during this ebook is approach made from solids, is deformable simply because their relative place alterations.
- Learning Autodesk 3ds Max Design
- The Complete Guide to Blender Graphics: Computer Modeling & Animation
- Mental ray for Maya, 3ds Max and XSI: a 3D artist's guide to rendering
- Computer Vision: From Surfaces to 3D Objects
- Real World modo: The Authorized Guide. In the Trenches with modo
Extra resources for Practical Maya Programming with Python
If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy. com> with a link to the suspected pirated material. We appreciate your help in protecting our authors, and our ability to bring you valuable content. com> if you are having a problem with any aspect of the book, and we will do our best to address it. com>. Chapter 1. Introspecting Maya, Python, and PyMEL Maya and Python are both excellent and elegant tools that can together achieve amazing results.
We can see all available paths by looking at the path list on the sys module. path: ... zip C:\Program Files\Autodesk\Maya2013\Python\DLLs C:\Program Files\Autodesk\Maya2013\Python\lib C:\Program Files\Autodesk\Maya2013\Python\lib\plat-win C:\Program Files\Autodesk\Maya2013\Python\lib\lib-tk C:\Program Files\Autodesk\Maya2013\bin C:\Program Files\Autodesk\Maya2013\Python C:\Program Files\Autodesk\Maya2013\Python\lib\site-packages A number of paths will print out; I've replicated what's on my Windows system, but yours will almost definitely be different.
But as you start building class hierarchies, decorators, and other things that have dependencies or state, the situation can quickly get out of control. Always test your code in a fresh version of Maya before declaring it done to be sure it does not have some lingering defect hidden by reloading. Though once you are a master Pythonista you can ignore these warnings and figure out how to reload just about anything! Exploring Maya and PyMEL Now we will start digging into Maya and PyMEL. Let's begin by initializing Maya in the mayapy interpreter so we can use more than just standard Python functionality.