import maya.cmds as cmds
def edgeCutter():
cmds.polySplitEdge() #split one or more edges so that each face that shared the vertex acquires its own copy of the edge
objName = cmds.ls(hilite = True) #getobject name
cmds.select(objName)
cmds.polySeparate() #create a newobjectfor each section of the mesh that is distinct
cmds.delete(ch=True)
edgeCutter()
def edgeCutter():
cmds.polySplitEdge() #split one or more edges so that each face that shared the vertex acquires its own copy of the edge
objName = cmds.ls(hilite = True) #getobject name
cmds.select(objName)
cmds.polySeparate() #create a newobjectfor each section of the mesh that is distinct
cmds.delete(ch=True)
edgeCutter()
本文介绍了一种使用Maya进行网格编辑的方法,包括如何通过polySplitEdge命令将一个或多个边分开,使得每个面获得其自己的边副本。此外,还介绍了如何选择对象、分离网格的不同部分创建新对象以及删除构造历史。
2941

被折叠的 条评论
为什么被折叠?



