VolMeshObject

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

Bases: Object

Class for representing COMPAS volmeshes in Rhino.

Attributes:
  • anchor (int) – The vertex of the mesh that is anchored to the location of the object.

  • location (compas.geometry.Point) – The location of the object. Default is the origin of the world coordinate system.

  • scale (float) – A uniform scaling factor for the object in the scene. The scale is applied relative to the location of the object in the scene.

  • rotation (list[float]) – The rotation angles around the 3 axis of the coordinate system with the origin placed at the location of the object in the scene.

  • vertex_xyz (dict[int, list[float]]) – The view coordinates of the mesh object.

Methods

modify_edges

modify_faces

modify_vertices

move_face

move_vertex

move_vertices

select_edges

select_faces

select_vertex

select_vertices

Inherited Methods

add

clear

draw

modify

move

redraw

register

remove

select