vertices_and_faces_to_rhino
- compas_rhino.conversions.vertices_and_faces_to_rhino(vertices, faces, color=None, vertexcolors=None, facecolors=None, disjoint=True, face_callback=None)[source]
Convert COMPAS vertices and faces to a Rhino mesh object.
- Parameters:
- verticeslist[[float, float, float] |
compas.geometry.Point
] A list of point locations.
- faceslist[list[int]]
A list of faces as lists of indices into vertices.
- disjointbool, optional
If
True
, each face of the resulting mesh will be independently defined (have a copy of its own vertices).- face_callbackcallable, optional
Called after each face is created with the face as an agrument, useful for custom post-processing.
- verticeslist[[float, float, float] |
- Returns:
Rhino.Geometry.Mesh
A Rhino mesh object.