• Document: Practical Maya Programming with Python
  • Size: 941.23 KB
  • Uploaded: 2018-12-07 20:22:40
  • Status: Successfully converted


Some snippets from your converted document:

Practical Maya Programming with Python Robert Galanakis Chapter No. 6 "Automating Maya from the Outside" In this package, you will find: The author’s biography A preview chapter from the book, Chapter no.6 "Automating Maya from the Outside" A synopsis of the book’s content Information on where to buy this book About the Author Robert Galanakis is a technical artist cum programmer who has worked in various areas of game development. He is the Technical Director of EVE Online at CCP Games, Iceland, where he focuses on Python, Lean, and Agile training and evangelism. In 2008, Rob founded , which is the largest and the most active community focused on tech art on the Internet. He has spoken at Game Developers Conference several times and has also written many articles about tools, pipelines, and culture. His blog can be found at . He lives in Reykjavík, Iceland, with his wife Casady and their son Marcus. For More Information: www.packtpub.com/practical-maya-programming-with-python/book Practical Maya Programming with Python When Autodesk added support for Python into Maya 8.5, few people understood the implications. It was a decision that has fundamentally changed the way 3D art gets done. Now, years later, we stand on the edge of realizing its promise. The promise of Python in Maya goes beyond just a familiar language with a great syntax. Any language could have been chosen to bind to Maya; and most would have been more familiar, and with a better syntax than MEL, and easier to use than C++. So, why Python? The promise goes beyond a powerful language with lots of built-in features. Python is said to have batteries included, but so do other languages, and Autodesk certainly has lots of batteries in Maya that now also exist in Python. So, again, why Python? The promise goes beyond having a single language for scripting, API use, and plugins. It goes beyond the endless third-party libraries maintained by a large community. It goes beyond having powerful development tools. The promise of Python in Maya is all of these things and more. You can learn how to use the language by leveraging a wide variety of resources that have nothing to do with Maya. You can easily translate what you know of MEL and the C++ API and use it in Python, but with an improved development velocity and maintainability of code. You can use your favorite standard Python editor and tools. You can learn about the language from a technical and design perspective and apply that to improve your programming in Maya. You can be part of a large, vibrant, diverse community of developers on the forefront of multiple areas of technology. Join me as we explore topics that will allow you to unleash the power of Maya through Python. Together, we'll learn how Python works both under the hood and over it, how Maya integrates with Python, and how the elegant PyMEL builds on that integration. We will drill down into what makes Python code beautiful and idiomatic, and how we can use these concepts and Python's language features to make our Maya Python code expressive and elegant. We will leverage third-party solutions for networking and user interfaces, to compliment and extend what is included with Maya and Python. We will decouple Python code from Maya dependencies, making our work go smoother and faster For More Information: www.packtpub.com/practical-maya-programming-with-python/book This book is not a reference. It is not a cookbook, and it is not a comprehensive guide to Maya's Python API. It is a book that will teach you how to write better Python code for use inside of Maya. It will unearth interesting ways of using Maya and Python to create amazing things that wouldn't be possible otherwise. While there is plenty of code in this book that I encourage you to copy and adapt, this book is not about providing recipes. It is a book to teach skills and enable. This is a book which, I hope, helps realize the promise of Python in Maya. What This Book Covers Chapter 1, Introspecting Maya, Python, and PyMEL, explores how Maya and Python work individually and together to create a powerful programming and scripting environment. It covers some of the key technical underpinnings for the rest of the book. Chapter 2, Writing Composable Code, introduces the practice of writing code that can be reused in many places. Composable code is a fundamental concept for the rest of the skills taught in this book. Chapter 3, Dealing with Errors, teaches you all about exceptions and errors in Maya and Python. We explore several strategies for handling them effectively. Chapter 4, Leveraging Context Managers and Decorators in Maya, covers context managers and decorators, which are two powerful features of Python, and how they can be used to simplify your code. Chapter 5, Building Graphical User Interfaces for Maya, demonstrates the PySide and PyQt frameworks, how to abstract your user interface code from underlying logic, and a strategy

Recently converted files (publicly available):