TorusObject.draw
- TorusObject.draw(color=None, collection=None, u=16, v=16, show_wire=False, shade_smooth=True)[source]
Draw the torus associated with the scene object.
- Parameters:
- colortuple[float, float, float] | tuple[int, int, int] |
compas.colors.Color
, optional The RGB color of the torus.
- collectionstr, optional
The name of the Blender scene collection containing the created object(s).
- uint, optional
Number of faces in the “u” direction.
- vint, optional
Number of faces in the “v” direction.
- show_wirebool, optional
Display the wireframe of the torus.
- shade_smoothbool, optional
Display smooth shading on the torus.
- colortuple[float, float, float] | tuple[int, int, int] |
- Returns:
- list[bpy.types.Curve]
The objects created in Blender.