mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 10:41:20 -08:00
remove unnecessary parens in ex17 and ex20
This commit is contained in:
parent
3eaa41abe5
commit
23682daf2e
1 changed files with 2 additions and 2 deletions
|
|
@ -401,7 +401,7 @@ with BuildPart() as ex17:
|
|||
with BuildSketch() as ex17_sk:
|
||||
RegularPolygon(radius=a, side_count=5)
|
||||
extrude(amount=b)
|
||||
mirror(ex17.part, about=Plane((ex17.faces().group_by(Axis.Y)[0])[0]))
|
||||
mirror(ex17.part, about=Plane(ex17.faces().group_by(Axis.Y)[0][0])
|
||||
# [Ex. 17]
|
||||
|
||||
svgout(ex_counter)
|
||||
|
|
@ -464,7 +464,7 @@ length, width, thickness = 80.0, 60.0, 10.0
|
|||
|
||||
with BuildPart() as ex20:
|
||||
Box(length, width, thickness)
|
||||
plane = Plane((ex20.faces().group_by(Axis.X))[0][0])
|
||||
plane = Plane(ex20.faces().group_by(Axis.X)[0][0])
|
||||
with BuildSketch(plane.offset(2 * thickness)):
|
||||
Circle(width / 3)
|
||||
extrude(amount=width)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue