Last active
April 8, 2019 05:50
-
-
Save apokellypse/151029b3165c39572bb68644b8c128bd to your computer and use it in GitHub Desktop.
Add Faces To Objects Such That Objects Are Now Closed Shells
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### iterative_polycloseborder.py | |
### author: Kelly Yu | |
import maya.cmds as cmds | |
cmds.select(clear=1) | |
# select all objects that start with polySurface | |
bunny_slices = cmds.ls('polySurface*') | |
for slice in bunny_slices: | |
# create faces along edges that are not part of a face | |
cmds.polyCloseBorder(slice) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment