Wednesday, 12 February 2014

Python Scripting - Cutting to make Archs

Before cutting polygons to make archs, I have created more circles on other levels. To do so, I created another function and copied and pasted from the Arch() function. 
But this time round, I have added for each in range into the function. Since I have 6 levels, I duplicate the group of cylinders 6 times and move them accordingly like what I did for Levels(). 

Cutting polygons in Maya is called Difference, while python commands, it is called polyBoo10p.


Boolean polygons
  1. MC.polyUnite is to combine objects together into one.
  2. MC.select is to select items.
  3. MC.polyBoo10p is to create boolean(difference).

Booleans
The cutting is not deep enough and I have to move the cylinders inwards before cutting to get the arches. 




No comments:

Post a Comment