Identifies the naked edge points of a polygon mesh object. This function shows where polygon mesh vertices are not completely surrounded by faces. Joined meshes, such as are made by Mesh Box, have naked mesh edge points where the sub-meshes are joined.
rhinoscriptsyntax.MeshNakedEdgePoints (object_id)
rhinoscript.mesh.MeshNakedEdgePoints (object_id)
object_id |
Required. String. The identifier of a mesh object. |
List |
A list of boolean values that represent whether or not a mesh vertex is naked or not if successful. The number of elements in the array will be equal to the value returned by MeshVertexCount. In which case, the list will identify the naked status for each vertex return by MeshVertices. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
obj = rs.GetObject("Select mesh", rs.filter.mesh)
vertices = rs.MeshVertices( obj )
naked = rs.MeshNakedEdgePoints( obj )
for i, vertex in enumerate(vertices):
if naked[i]: rs.AddPoint(vertex)