Skip to content

Commit

Permalink
Clarifying Polygon docstring as discussed in PR #395
Browse files Browse the repository at this point in the history
  • Loading branch information
gumyr committed Dec 1, 2023
1 parent 4db8b6c commit f622815
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/build123d/objects_sketch.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,14 @@ class Polygon(BaseSketchObject):
Add polygon(s) defined by given sequence of points to sketch.
Note that the order of the points define the normal of the Face that is created in
Algebra mode, where counter clockwise order creates Faces with their normal being up
while a clockwise order will have a normal that is down. In Builder mode, all Faces
added to the sketch are up.
Args:
pts (Union[VectorLike, Iterable[VectorLike]]): sequence of points defining the
vertices of polygon
vertices of the polygon
rotation (float, optional): angles to rotate objects. Defaults to 0.
align (Union[Align, tuple[Align, Align]], optional): align min, center, or max of object.
Defaults to (Align.CENTER, Align.CENTER).
Expand Down

0 comments on commit f622815

Please sign in to comment.