Sunday, March 3, 2013

PyMEL

1) Installing PyMEL
2) Introduction to PyMEL
PyNodes:
written more pythonically, faster than maya.cmds counterparts, tracking identities in code much simpler and more reliable than working with object names, speed up node and attribute comparisons.

Advantages:

  • Experienced Python programmers may have a much easier time learning PyMEL due to its object-oriented nature.
  • PyMEL syntax tends to be a bit cleaner and creates neater code.
  • Speed is greater in some cases due to API hybridization.
  • The pymel package is open source, meaning studios can pull their own branch and add their own features and fixes.
Disadvantages:
  • PyMEL's object-oriented nature can present a learning curve to MEL programmers. Switching from MEL to Python and learning a new programming paradigm at the same time can be daunting.
  • PyMEL is not very widely adopted yet. A small community does mean that sometimes getting questions answered is difficult. Nevertheless, the development team is always eager to answer questions online.
  • In some cases, speed can be degraded. Processing large numbers of components, for instance, can be much slower using PyMEL depending on the specific operation.
  • Autodesk's ling-term roadmap for PyMEL is unclear.
  • Because the pymel package is open source, it is possible (though rare) to get into a situation where a custom branch is quite divergent from the main one.

No comments:

Post a Comment