官术网_书友最值得收藏!

Summary

In this chapter, we learned how Maya and Python work together to create PyMEL. First we learned how to use the mayapy interpreter, and how to create and use Python libraries and modules. Then we explored PyMEL via introspection: how it mirrors Maya concepts such as DAG nodes and attributes, how every Maya object is represented as a first-class PyMEL node, and PyMEL's special math data types. Finally, we built a function that can bring us to the PyMEL online help when we want more information about a PyMEL node. Along the way, we learned about concepts central to Python, such as types, the standard library, magic methods, a definition of the term Pythonic, and easier to ask for forgiveness than permission versus look before you leap.

In the next chapter, we will learn more about writing practical Maya Python with PyMEL by investigating the important concept of composability.

主站蜘蛛池模板: 伊川县| 边坝县| 府谷县| 迁西县| 江安县| 阜新市| 略阳县| 巴林右旗| 娱乐| 竹溪县| 南川市| 赤峰市| 开封县| 若尔盖县| 班玛县| 涿鹿县| 中牟县| 紫金县| 镇宁| 东山县| 自治县| 宁强县| 麻栗坡县| 喜德县| 永州市| 青州市| 西华县| 江西省| 尚志市| 禄劝| 杂多县| 云浮市| 宜昌市| 古交市| 昌江| 双柏县| 灌云县| 云林县| 兴山县| 彰化市| 历史|