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

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.

主站蜘蛛池模板: 岗巴县| 泰顺县| 资溪县| 昆明市| 南充市| 九江市| 青神县| 遂溪县| 苏尼特右旗| 宜丰县| 张北县| 莱阳市| 天津市| 宿松县| 栾川县| 彰化县| 阳朔县| 和龙市| 鄢陵县| 咸阳市| 利津县| 湖北省| 江源县| 二连浩特市| 泾阳县| 荔波县| 明星| 霍邱县| 井研县| 酒泉市| 平定县| 托克逊县| 崇明县| 凤台县| 高安市| 固安县| 洛南县| 天峨县| 义马市| 永嘉县| 阳城县|