Finally, we can begin putting theory into practice, and build our request-reply Maya automation system.
We'll start by learning how Python packages work, how to bootstrap Maya from another process, and how process pipes work. After that, we will set up a bare bones client and server. Once that is working, we will add support for
eval, exceptions, timeouts, and more.
Before writing our code, we need to create some files. Because these files are all closely related, we can put them in a folder and create a Python package.
Start by creating a
mayaserver directory in your development root. For this book, that is
C:\mayapybook\pylib\mayaserver. Inside, create three empty files: ...