RhinoMeshObject

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

Bases: RhinoObject, MeshObject

Class for representing COMPAS meshes in Rhino.

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

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

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

Methods

clear

draw

modify

Update the attributes of the mesh.

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

Move the entire mesh to a different location.

move_face

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

move_vertex

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

move_vertices

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

move_vertices_direction

Move selected vertices along specified direction.

select_edges

Select edges of the mesh.

select_faces

Select faces of the mesh.

select_vertex

Select one vertex of the mesh.

select_vertices

Select vertices of the mesh.

Inherited Methods

add

move_edge

redraw

register

remove

select

select_edge

select_face