pymel.core.general.MeshEdge¶
digraph inheritanceeec10f1536 { rankdir=TB; ranksep=0.15; nodesep=0.15; size="8.0, 12.0"; "Component" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.general.Component.html#pymel.core.general.Component",style="setlinewidth(0.5)",tooltip="Abstract base class for pymel components.",height=0.25,shape=box,fontsize=8]; "PyNode" -> "Component" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Component1D" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.general.Component1D.html#pymel.core.general.Component1D",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "DiscreteComponent" -> "Component1D" [arrowsize=0.5,style="setlinewidth(0.5)"]; "DimensionedComponent" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.general.DimensionedComponent.html#pymel.core.general.DimensionedComponent",style="setlinewidth(0.5)",tooltip="Components for which having a __getitem__ of some sort makes sense",height=0.25,shape=box,fontsize=8]; "Component" -> "DimensionedComponent" [arrowsize=0.5,style="setlinewidth(0.5)"]; "DiscreteComponent" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.general.DiscreteComponent.html#pymel.core.general.DiscreteComponent",style="setlinewidth(0.5)",tooltip="Components whose dimensions are discretely indexed.",height=0.25,shape=box,fontsize=8]; "DimensionedComponent" -> "DiscreteComponent" [arrowsize=0.5,style="setlinewidth(0.5)"]; "MItComponent" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.general.MItComponent.html#pymel.core.general.MItComponent",style="setlinewidth(0.5)",tooltip="Abstract base class for pymel components that can be accessed via iterators.",height=0.25,shape=box,fontsize=8]; "Component" -> "MItComponent" [arrowsize=0.5,style="setlinewidth(0.5)"]; "MItComponent1D" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.general.MItComponent1D.html#pymel.core.general.MItComponent1D",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "MItComponent" -> "MItComponent1D" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Component1D" -> "MItComponent1D" [arrowsize=0.5,style="setlinewidth(0.5)"]; "MeshEdge" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="#pymel.core.general.MeshEdge",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "MItComponent1D" -> "MeshEdge" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ProxyUnicode" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="../pymel.util.utilitytypes/pymel.util.utilitytypes.ProxyUnicode.html#pymel.util.utilitytypes.ProxyUnicode",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "PyNode" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.general.PyNode.html#pymel.core.general.PyNode",style="setlinewidth(0.5)",tooltip="Abstract class that is base for all pymel nodes classes.",height=0.25,shape=box,fontsize=8]; "ProxyUnicode" -> "PyNode" [arrowsize=0.5,style="setlinewidth(0.5)"]; }
- class MeshEdge(*args, **kwargs)¶
-
- connectedVertices()¶
Return type: MeshVertex list
- getLength(space='preTransform')¶
This method returns the length of the current edge.
Parameters: - space : Space.Space
Coordinate space in which to perform the operation.
values: ‘transform’, ‘preTransform’, ‘object’, ‘world’
Return type: float
Derived from api method maya.OpenMaya.MSpace.getLength
- getPoint(index, space='preTransform')¶
Return the position of the specified vertex of the current edge.
Parameters: - index : int
The vertex of the edge we wish to examine (0 or 1)
- space : Space.Space
The coordinate system for this operation
values: ‘transform’, ‘preTransform’, ‘object’, ‘world’
Return type: Point
Derived from api method maya.OpenMaya.MSpace.point
- isConnectedTo(component)¶
Return type: bool
- isConnectedToEdge(index)¶
This method determines whether the given edge is connected to the current edge
Parameters: - index : int
Index of edge to check.
Return type: bool
Derived from api method maya.OpenMaya.MItMeshEdge.connectedToEdge
- isConnectedToFace(index)¶
This method determines whether the given face contains the current edge
Parameters: - index : int
Index of face to check.
Return type: bool
Derived from api method maya.OpenMaya.MItMeshEdge.connectedToFace
- isOnBoundary()¶
This method checks to see if the current edge is a border edge.
Return type: bool Derived from api method maya.OpenMaya.MItMeshEdge.onBoundary
- isSmooth()¶
This method determines if the current edge in the iteration is smooth (soft).
Return type: bool Derived from api method maya.OpenMaya.MItMeshEdge.isSmooth
- numConnectedEdges()¶
This method returns the number of edges connected to the current edge.
Return type: int Derived from api method maya.OpenMaya.MItMeshEdge.numConnectedEdges
- numConnectedFaces()¶
This method returns the number of faces (1 or 2 ) connected to the current edge.
Return type: int Derived from api method maya.OpenMaya.MItMeshEdge.numConnectedFaces
- setPoint(point, index, space='preTransform')¶
Set the specified vertex of the current edge to the given value.
Parameters: - point : Point
The new value for the edge
- index : int
The vertex index of the current edge we wish to set (0 or 1)
- space : Space.Space
The coordinate system for this operation
values: ‘transform’, ‘preTransform’, ‘object’, ‘world’
Derived from api method maya.OpenMaya.MSpace.setPoint
- setSmoothing(smooth=True)¶
This method sets the current edge to be hard or smooth (soft). The cleanupSmoothing method is no longer required to be called after setSmoothing in Maya3.0 and later versions.
Parameters: - smooth : bool
if true the edge will be smooth (soft), otherwise the edge will be hard.
Derived from api method maya.OpenMaya.MItMeshEdge.setSmoothing
Undo is not currently supported for this method
- updateSurface()¶
Signal that this polygonal surface has changed and needs to redraw itself. Derived from api method maya.OpenMaya.MItMeshEdge.updateSurface
Undo is not currently supported for this method