Explodes a mesh object, or mesh objects, into submeshes. A submesh is a collection of mesh faces that are contained within a closed loop of unwelded mesh edges. Unwelded mesh edges are edges where the mesh faces that share the edge have unique mesh vertices (not mesh topology vertices) at both ends of the edge.
rhinoscriptsyntax.ExplodeMeshes (mesh_ids, delete=False)
rhinoscript.mesh.ExplodeMeshes (mesh_ids, delete=False)
mesh_ids |
Required. String, Guid, or list of Guids. The identifier(s) of the mesh object(s) to explode. |
delete |
Optional. Boolean. Delete input objects after exploding. The default is not to delete objects (False). |
List |
A list of Guids identifying the newly created mesh objects if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
obj = rs.GetObject("Select mesh to explode", rs.filter.mesh)
if rs.IsMesh(obj): rs.ExplodeMeshes(obj)