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

Chapter 1. Introspecting Maya, Python, and PyMEL

Maya and Python are both excellent and elegant tools that can together achieve amazing results. And while it may be tempting to dive in and start wielding this power, it is prudent to understand some basic things first. Knowledge of the fundamentals will provide the platform from which we will grow great skills and conquer our obstacles throughout the rest of this book.

In this chapter, we will look at Python as a language, Maya as a program, and PyMEL as a framework. We will begin by briefly going over how to use the standard Python interpreter, the Maya Python interpreter, the Script Editor in Maya, and your Integrated Development Environment (IDE) or text editor in which you will do the majority of your development. Our goal for the chapter is to build a small library that can easily link us to documentation about Python and PyMEL objects. Building this library will illuminate how Maya, Python and PyMEL are designed, and demonstrate why PyMEL is superior to maya.cmds. We will use the powerful technique of type introspection to teach us more about Maya's node-based design than any Hypergraph or static documentation can. Along the way we will explore some core concepts that will reoccur throughout later chapters.

主站蜘蛛池模板: 布拖县| 广丰县| 新野县| 友谊县| 昌图县| 三亚市| 长岛县| 康保县| 金阳县| 长丰县| 延安市| 邵武市| 同德县| 湖州市| 合山市| 河西区| 新龙县| 喀喇| 汤阴县| 伊通| 准格尔旗| 舞阳县| 冷水江市| 安阳市| 施甸县| 土默特左旗| 赤水市| 德江县| 南溪县| 普格县| 日土县| 嘉峪关市| 荃湾区| 湘西| 略阳县| 江永县| 孝感市| 霍林郭勒市| 乡城县| 泰宁县| 大名县|