VolMeshObject
- class compas_rhino.objects.VolMeshObject(volmesh, scene=None, name=None, layer=None, visible=True, settings=None)[source]
Bases:
compas_rhino.objects._object.BaseObjectClass for representing COMPAS volmeshes in Rhino.
- Parameters
volmesh (
compas.datastructures.VolMesh) – A volmesh data structure.scene (
compas.scenes.Scene, optional) – A scene object.name (str, optional) – The name of the object.
layer (str, optional) – The layer for drawing.
visible (bool, optional) – Toggle for the visibility of the object.
settings (dict, optional) – A dictionary of settings.
Attributes
SETTINGSanchorThe vertex of the volmesh that is anchored to the location of the object.
guid_cellMap between Rhino object GUIDs and volmesh face identifiers.
guid_celllabelMap between Rhino object GUIDs and volmesh celllabel identifiers.
guid_edgeMap between Rhino object GUIDs and volmsh edge identifiers.
guid_edgelabelMap between Rhino object GUIDs and volmesh edgelabel identifiers.
guid_faceMap between Rhino object GUIDs and volmesh face identifiers.
guid_facelabelMap between Rhino object GUIDs and volmesh facelabel identifiers.
guid_vertexMap between Rhino object GUIDs and volmesh vertex identifiers.
guid_vertexlabelMap between Rhino object GUIDs and volmesh vertexlabel identifiers.
guidsThe GUIDs of all Rhino objects created by this artist.
locationcompas.geometry.Point: The location of the object.rotationlist of 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.
scalefloat: A uniform scaling factor for the object in the scene.
vertex_xyzThe view coordinates of the volmesh object.
volmeshInherited Attributes
artistiditemlayernamesceneMethods
Clear all objects previously drawn by this artist.
Draw the volmesh using the visualisation settings.
Update the attributes of the volmesh.
Update the attributes of the edges.
Update the attributes of selected faces.
Update the attributes of selected vertices.
Move the entire volmesh object to a different location.
Move a single face of the volmesh object and update the data structure accordingly.
Move a single vertex of the volmesh object and update the data structure accordingly.
Move a multiple vertices of the volmesh object and update the data structure accordingly.
Select the object representing the item.
Select edges of the volmesh.
Select faces of the volmesh.
Select one vertex of the mesh.
Select vertices of the volmesh.
Inherited Methods
Clear the layer of the object.
Redraw the Rhino scene/view.