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

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.

主站蜘蛛池模板: 怀柔区| 女性| 新源县| 松潘县| 阿瓦提县| 赤城县| 二连浩特市| 醴陵市| 邹城市| 什邡市| 九龙坡区| 班戈县| 乐都县| 宾川县| 平罗县| 皋兰县| 丰宁| 蚌埠市| 嘉义市| 太保市| 佛冈县| 内黄县| 平陆县| 东阳市| 贡嘎县| 新邵县| 舟曲县| 嵊泗县| 防城港市| 松原市| 福安市| 昌图县| 台东县| 六安市| 贵定县| 淄博市| 双辽市| 甘南县| 永嘉县| 宜黄县| 海口市|