This commit is contained in:
Rafał Paluch 2025-12-13 22:14:18 +01:00
parent 03ae39fda7
commit 5d8806c41f
1 changed files with 10 additions and 1 deletions

View File

@ -12,8 +12,17 @@ with BuildPart() as p:
with Locations((50 - 10 / 2, 0)): with Locations((50 - 10 / 2, 0)):
t2 = Trapezoid(12, 10, 80, rotation=90, mode=Mode.SUBTRACT) t2 = Trapezoid(12, 10, 80, rotation=90, mode=Mode.SUBTRACT)
revolve(axis=Axis.Z) revolve(axis=Axis.Z)
g = p.part.faces().sort_by(Axis.Z)[-1]
with BuildSketch(g) as s2:
with Locations((10, 0)):
t3 = Rectangle(3.8, 6)
extrude(amount=-40, mode=Mode.SUBTRACT)
f = p.part.edges().filter_by(GeomType.CIRCLE)
# debug(t)
debug(f)
# debug(s2, name="s2")
# debug(t3, name="rec")
# debug(t2, name="trapez") # debug(t2, name="trapez")
show_object(p, name="calosc") show_object(p, name="calosc")
# debug(t) # debug(t)