Hey y'all, welcome to my series of tutorials on Maya scripting.
I always think that scripting is amongst the most powerful skills you can have as a CG artist. Scripting allows you to automate lots of tedious processes, make your own tools and pipelines, thus significantly improve your productivity. However, due to its highly technical stigma, most artists get turned off immediately after seeing a thousand lines of boring codes.
That said, I want to be able to break this terrifying illusion, showing you that scripting is not some computer wizardry but in fact just a simple, logical procedure that everyone can do to turn your computer into a powerful assistant.
Of course I have to be honest, scripting does not have beautifully rendered pictures or nicely painted textures (although it does have some nice color code) and it can be dry sometimes, but I will try my best to explain it in a simplest form without dumbing down the content.
I strongly believe that that regardless of what specialization you have as a CG artist, scripting is an invaluable skill to have.
With these tutorials, I hope to share some the most essential, simple and practical scripting knowledge inside Maya. Hopefully by the end of it, you could come up with some cool toys on your own.
So I hope that instead of closing this page immediately after my rambles, give scripting a try by clicking on these links below to go to the respective tutorial. I have arranged these from basic to advanced levels but feel free to jump around if you wish.
* more tutorials are coming, stay tuned!
Chapter 0: getting started - the logic of scripting/programing.
Chapter 1: Command and Syntax - just like vocabulary and grammar.
Chapter 2: Variables and arrays - put them in a box with a proper address.
Chapter 3: The loop - making it do something over and over again
Chapter 4: Condition - make your script a little smarter
Chapter 5: Procedure - wrap it nicely and deliver!
Chapter 6: Making it presentable - UI scripting
Chapter 7: Object-oriented programming - read this only if you finally developed an interested for scripting.