File tree Expand file tree Collapse file tree 4 files changed +7
-1
lines changed Expand file tree Collapse file tree 4 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -157,6 +157,8 @@ class Polyhedron(Geometry):
157157 The point locations of the vertices of the polyhedron.
158158 faces : list[list[int]]
159159 The faces as a list of index lists.
160+ name : str, optional
161+ The name of the polyhedron.
160162
161163 Attributes
162164 ----------
Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ class Box(Shape):
3535 frame : :class:`compas.geometry.Frame`, optional
3636 The frame of the box.
3737 Defaults to ``Frame.worldXY()``.
38+ name : str, optional
39+ The name of the shape.
3840
3941 Attributes
4042 ----------
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ class Torus(Shape):
2727 The local coordinate system of the torus.
2828 Default is ``None``, in which case the torus is constructed in the world XY plane.
2929 name : str, optional
30- The name of the surface .
30+ The name of the shape .
3131
3232 Attributes
3333 ----------
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ class ToroidalSurface(Surface):
2020 The radius of the sphere.
2121 frame : :class:`Frame`
2222 The frame of the sphere.
23+ name : str, optional
24+ The name of the surface.
2325
2426 Examples
2527 --------
You can’t perform that action at this time.
0 commit comments