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

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.

主站蜘蛛池模板: 宁波市| 米泉市| 门源| 六安市| 遂昌县| 营口市| 揭东县| 紫金县| 龙江县| 大丰市| 佛学| 康定县| 平度市| 平定县| 新津县| 金湖县| 新津县| 通辽市| 互助| 德化县| 合川市| 西乡县| 宾阳县| 兴海县| 土默特右旗| 白水县| 新竹县| 金平| 民丰县| 昌图县| 海盐县| 义马市| 松潘县| 城固县| 衡东县| 汉川市| 喀什市| 沙田区| 阳西县| 鄱阳县| 汤原县|