Ok będzie dalsza część ucha
This commit is contained in:
parent
345ae64adf
commit
fa54f7c064
15
post_cap.py
15
post_cap.py
|
|
@ -18,10 +18,21 @@ with BuildPart() as p:
|
||||||
split(bisect_by=Plane.YZ)
|
split(bisect_by=Plane.YZ)
|
||||||
revolve(axis=Axis.Z)
|
revolve(axis=Axis.Z)
|
||||||
with BuildLine(Plane.XZ) as l1:
|
with BuildLine(Plane.XZ) as l1:
|
||||||
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)
|
||||||
|
punkt2 = ucho @ (1)
|
||||||
|
# print(punkt1)
|
||||||
|
with BuildSketch(Plane.ZY) as s2:
|
||||||
|
with Locations((punkt1.Z, 0)):
|
||||||
|
Ellipse(4, 10)
|
||||||
|
# print(punkt2)
|
||||||
|
with Locations((punkt2.Z, 0)):
|
||||||
|
Ellipse(4, 10)
|
||||||
|
|
||||||
# export_step(p.part, "/home/pali112/Build123d/debug.step")
|
# export_step(p.part, "/home/pali112/Build123d/debug.step")
|
||||||
|
|
||||||
|
# debug(punkt1, name="punkt1")
|
||||||
|
debug(s2.sketch, name="s2")
|
||||||
debug(l1.line, name="ucho")
|
debug(l1.line, name="ucho")
|
||||||
# show_object(p)
|
# show_object(p)
|
||||||
debug(s.sketch)
|
debug(s.sketch, name="kubek")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue