mirror of
https://github.com/gumyr/build123d.git
synced 2026-04-18 02:51:14 -07:00
Correct ex26 by revolving 180 and removing mirror which creates invalid shape
This commit is contained in:
parent
a7b554001f
commit
c13ef47cef
2 changed files with 3 additions and 4 deletions
|
|
@ -68,8 +68,7 @@ with BuildPart() as ex26:
|
|||
with BuildSketch() as ex26_sk:
|
||||
with Locations((0, rev)):
|
||||
Circle(rad)
|
||||
revolve(axis=Axis.X, revolution_arc=90)
|
||||
mirror(about=Plane.XZ)
|
||||
revolve(axis=Axis.X, revolution_arc=180)
|
||||
with BuildSketch() as ex26_sk2:
|
||||
Rectangle(rad, rev)
|
||||
ex26_target = ex26.part
|
||||
|
|
|
|||
|
|
@ -26,8 +26,8 @@ rad, rev = 3, 25
|
|||
|
||||
# Extrude last
|
||||
circle = Pos(0, rev) * Circle(rad)
|
||||
ex26_target = revolve(circle, Axis.X, revolution_arc=90)
|
||||
ex26_target = ex26_target + mirror(ex26_target, Plane.XZ)
|
||||
ex26_target = revolve(circle, Axis.X, revolution_arc=180)
|
||||
ex26_target = ex26_target
|
||||
|
||||
rect = Rectangle(rad, rev)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue