Pymel

Python in Maya Done Right
Download

Pymel Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD
  • Price:
  • FREE
  • Publisher Name:
  • Pymel Team
  • Publisher web site:
  • http://code.google.com/p/pymel/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 24.6 MB

Pymel Tags


Pymel Description

Python in Maya Done Right Pymel is a free and open source utility that makes Python scripting with Maya work the way it should. Maya's command module is a direct translation of mel commands into python commands. The result is a very awkward and unpythonic syntax which does not take advantage of python's strengths -- particulary, a flexible, object-oriented design. Pymel builds on the cmds module by organizing many of its commands into a class hierarchy, and by customizing them to operate in a more succinct and intuitive way. Powerful new classes:· Node classes for nearly every major DAG object· An Attribute class organizes all the attribute commands in one place· Slice and dice your file paths with ease· Operate on sets as if they were python's builtin set type· Perform vector math, convert between spaces, and easily set object attributes with the results Do More with Less Code:· Customized operators for succinct scripting· Call Mel procedures as if they were python functions: no more annoying string formatting· Manage optionVars as a python dictionary· Enhanced Commands with intelligent defaults and new flags· Automatic Casting to Pymel Types: values are returned as pymel Nodes, Paths, Vectors, etc.· Fixes Bugs in maya.cmds: with pymel, maya's bugs are corrected behind the scenes so you don't even know they exist! Requirements: · Python What's New in This Release: CHANGES AND ADDITIONS: · added support for 2010 and python 2.6 · added basic support for all component types · added a 'removeNamespace' flag to FileReference.importContents() · added support for open-ended time ranges for command like keyframes (Issue 82) · enhanced keyframe function: if both valueChange and timeChange are queried, the result will be a list of (time,value) pairs · added ability to pass a list of types to ls 'type' argument, as you can with listRelatives · added checkLocalArray and checkOtherArray arguments to Attribute.isConnectedTo which will cause the function to also test mulit/array elements · improved core.language.pythonToMel reliability on lists · improved custom virtual class workflow · added functionality to pymel.tools.py2mel for dynamically creating MEL commands based on python functions/classes · added a new module pymel.api.plugins for working with api plugins in a more reasonable and automated fashion · updated eclipse integration documentation BUGFIXES: · fixed importFile, createReference, loadReference, and openFile now return PyNodes when passed returnNewNodes flag (Issue 85) · fixed rare bug with Vista where platform.system was failing during startup (Issue 87) · fixed a bug with plugin loading to intelligently handle when callback does not get a name · fixed optionMenu and optionMenuGrp to return empty lists instead of None · restored core.other.AttributeName.exists method · fixed a bug in 0.7_compatibility_mode · fixed minor bug in listRelatives · fixed a bug where curve command was returning a string instead of a PyNode (Issue 96) EASY INSTALL IMPROVEMENTS: · setup now copies over a readline library for 2010 OSX using readline.so from toxik which is more compatible · changed ipymel to be part of the default install instead of an extra package · fixed interpreter path of ipymel and other executable scripts on OSX · setup now detects and fixes invalid python installations on Linux which previously caused distutils and thus setup.py to fail


Pymel Related Software