diff --git a/post_cap.py b/post_cap.py index 26abdea..f517c86 100644 --- a/post_cap.py +++ b/post_cap.py @@ -20,19 +20,21 @@ with BuildPart() as p: with BuildLine(Plane.XZ) as l1: ucho = CenterArc(center=(-15, 20), radius=17, start_angle=90, arc_size=180) punkt1 = ucho @ (0) - punkt2 = ucho @ (1) # print(punkt1) - with BuildSketch(Plane.ZY) as s2: + with BuildSketch(Plane.ZY.offset(15)) as s2: with Locations((punkt1.Z, 0)): - Ellipse(4, 10) - # print(punkt2) - with Locations((punkt2.Z, 0)): - Ellipse(4, 10) + Ellipse(4 / 2, 10 / 2) + sweep(path=ucho) + with BuildSketch(Plane.XZ) as s3: + 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") # debug(punkt1, name="punkt1") +debug(t3, name="t3") +debug(s3.sketch, name="s3") debug(s2.sketch, name="s2") debug(l1.line, name="ucho") -# show_object(p) +show_object(p) debug(s.sketch, name="kubek")