Rozkminka nad trapezem

This commit is contained in:
Rafał Paluch 2025-12-18 22:08:47 +01:00
parent fa54f7c064
commit db91228e01
1 changed files with 9 additions and 7 deletions

View File

@ -20,19 +20,21 @@ with BuildPart() as p:
with BuildLine(Plane.XZ) as l1: with BuildLine(Plane.XZ) as l1:
ucho = CenterArc(center=(-15, 20), radius=17, start_angle=90, arc_size=180) ucho = CenterArc(center=(-15, 20), radius=17, start_angle=90, arc_size=180)
punkt1 = ucho @ (0) punkt1 = ucho @ (0)
punkt2 = ucho @ (1)
# print(punkt1) # print(punkt1)
with BuildSketch(Plane.ZY) as s2: with BuildSketch(Plane.ZY.offset(15)) as s2:
with Locations((punkt1.Z, 0)): with Locations((punkt1.Z, 0)):
Ellipse(4, 10) Ellipse(4 / 2, 10 / 2)
# print(punkt2) sweep(path=ucho)
with Locations((punkt2.Z, 0)): with BuildSketch(Plane.XZ) as s3:
Ellipse(4, 10) Trapezoid(18, 6, 80, 88, align=Align.MIN)
t3 = revolve(axis=Axis.Z, mode=Mode.PRIVATE)
# export_step(p.part, "/home/pali112/Build123d/debug.step") # export_step(p.part, "/home/pali112/Build123d/debug.step")
# debug(punkt1, name="punkt1") # debug(punkt1, name="punkt1")
debug(t3, name="t3")
debug(s3.sketch, name="s3")
debug(s2.sketch, name="s2") debug(s2.sketch, name="s2")
debug(l1.line, name="ucho") debug(l1.line, name="ucho")
# show_object(p) show_object(p)
debug(s.sketch, name="kubek") debug(s.sketch, name="kubek")