Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # TREE OPTIMIZER Version 0.1 BY: Brad Applebaum
- # 6/24/2015
- # A simple tool built to convert speed tree filmbox exports, to usable redshift models.
- myTree = ""
- for i in Application.Selection:
- myTree = i
- #print (myTree)
- Application.Scale("%s" %myTree, 1, 1, 1, "siAbsolute", "siPivot", "siObj", "siXYZ", "", "", "", "", "", "", "", 0, "")
- Application.DeleteObj("%s.polymsh.cls.User_Normal_Cluster" %myTree)
- for prop in xsi.ActiveProject2.ActiveScene.Root.myTree.polymsh.cls.Texture_Coordinates_AUTO:
- if prop != %s.polymsh.cls.Texture_Coordinates_AUTO.DiffuseUVLayer" %myTree:
- print prop
- #Application.DeleteObj("%s" %e)
- Application.FreezeModeling("%s" %myTree, "", "")
Add Comment
Please, Sign In to add comment