RhinoVolMeshObject

class compas_ui.rhino.objects.RhinoVolMeshObject(*args, **kwargs)[source]

Bases: RhinoObject, VolMeshObject

Class for representing COMPAS volmeshes in Rhino.

Attributes:
  • guid_vertex (dict[System.Guid, int]) – Map between Rhino object GUIDs and volmesh vertex identifiers.

  • guid_edge (dict[System.Guid, tuple[int, int]]) – Map between Rhino object GUIDs and volmesh edge identifiers.

  • guid_face (dict[System.Guid, int]) – Map between Rhino object GUIDs and volmesh face identifiers.

  • guid_cell (dict[System.Guid, int]) – Map between Rhino object GUIDs and volmesh cell identifiers.

Methods

clear

Clear all objects previously drawn by this artist.

draw

Draw the volmesh using the visualisation settings.

modify

Update the attributes of the volmesh.

modify_edges

Update the attributes of the edges.

modify_faces

Update the attributes of selected faces.

modify_vertices

Update the attributes of selected vertices.

move_face

Move a single face of the volmesh object and update the data structure accordingly.

move_vertex

Move a single vertex of the volmesh object and update the data structure accordingly.

move_vertices

Move a multiple vertices of the volmesh object and update the data structure accordingly.

select_edges

Select edges of the volmesh.

select_faces

Select faces of the volmesh.

select_vertex

Select one vertex of the mesh.

select_vertices

Select vertices of the volmesh.

Inherited Methods

add

move

redraw

register

remove

select