Converts a mesh object's quad faces to triangles.
Rhino.MeshQuadsToTriangles (strObject)
strObject |
Required. String. The identifier of a mesh object. |
Boolean |
True or False indicating success or failure. |
Null |
On error. |
Const rhObjectMesh = 32
Dim strObject
strObject = Rhino.GetObject("Select mesh", rhObjectMesh )
If (Rhino.MeshQuadCount(strObject) > 0) Then
Rhino.MeshQuadsToTriangles strObject
End If