This commit is contained in:
Rafal Paluch 2025-11-22 13:22:01 +01:00
parent 888d3dada8
commit f17241ca45
2 changed files with 27 additions and 1 deletions

Binary file not shown.

View File

@ -20,6 +20,24 @@ offset_x1 = 8.931
offset_y1 = 18.295
# 2 otworek
dl2o = 24.103
sz2o = 22.007
offset_x2 = 27.894
offset_y2 = 19.047
# 3 otworek
dl3o = 6.20
sz3o = 8.40
# 4 otworek
dl4o = 26.577
sz5o = 19.737
# with Locations((front_left_edge_vertex.X + 0, 0))
with BuildPart() as box:
with BuildSketch() as s1:
@ -32,7 +50,15 @@ with BuildPart() as box:
with Locations((front_left_edge_vertex.X + offset_x1, -offset_y1)):
Rectangle(dl1o, sz1o, align=(Align.MIN, Align.MIN, Align.CENTER))
extrude(amount=-scianka, mode=Mode.SUBTRACT)
with BuildSketch(front) as s3:
with Locations((front_left_edge_vertex.X + offset_x2, -offset_y2)):
Rectangle(dl2o, sz2o, align=(Align.MIN, Align.MIN, Align.CENTER))
extrude(amount=-scianka, mode=Mode.SUBTRACT)
with BuildSketch(front) as s4:
with Locations((front_left_edge_vertex.X + 0, 0)):
Rectangle(dl3o, sz3o, align=(Align.MIN, Align.MIN, Align.CENTER))
extrude(amount=-scianka, mode=Mode.SUBTRACT)
# show_all()
show(box,orange)
show(box, orange, s4)