Ejemplo n.º 1
0
def subdivide(mesh, guid):
    compas_rhino.delete_object(guid)
    mesh = mesh_subdivide_catmullclark(mesh, k=1)

    artist = MeshArtist(mesh)
    artist.layer = '3GS::Skeleton'
    guid = artist.draw_faces(join_faces=True)
    artist.redraw()

    return mesh, guid[0]
Ejemplo n.º 2
0
 def purge(self):
     """Purge the Rhino object."""
     compas_rhino.delete_object(self.guid, purge=True)
Ejemplo n.º 3
0
 def delete(self):
     """Delete the Rhino object.
     """
     compas_rhino.delete_object(self.guid)