From 5d8806c41f8194ab5b0a54856c5282bcaf3d93ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Paluch?= Date: Sat, 13 Dec 2025 22:14:18 +0100 Subject: [PATCH] dalej --- revolveGemini.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/revolveGemini.py b/revolveGemini.py index 551af35..b9a4644 100644 --- a/revolveGemini.py +++ b/revolveGemini.py @@ -12,8 +12,17 @@ with BuildPart() as p: with Locations((50 - 10 / 2, 0)): t2 = Trapezoid(12, 10, 80, rotation=90, mode=Mode.SUBTRACT) 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") show_object(p, name="calosc") # debug(t)