diff --git a/__pycache__/orange.cpython-311.pyc b/__pycache__/orange.cpython-311.pyc index 6cb5b66..e16ee1b 100644 Binary files a/__pycache__/orange.cpython-311.pyc and b/__pycache__/orange.cpython-311.pyc differ diff --git a/orange.py b/orange.py index 7d0ab9b..ad54b28 100644 --- a/orange.py +++ b/orange.py @@ -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)