RobotModelArtist.create_geometry
- RobotModelArtist.create_geometry(geometry: Union[compas.datastructures.mesh.mesh.Mesh, compas.geometry.shapes._shape.Shape], name: Optional[str] = None, color: Optional[Union[Tuple[int, int, int, int], Tuple[float, float, float, float]]] = None) bpy.types.Object [source]
Draw a COMPAS geometry in the respective CAD environment.
Note
This is an abstract method that needs to be implemented by derived classes.
- Parameters
geometry (
Mesh
) – Instance of a COMPAS meshname (str, optional) – The name of the mesh to draw.
- Returns
object – CAD-specific geometry