Make all screen pillar holes come from the bottom

This commit is contained in:
Roberto Alsina 2023-03-29 09:40:43 -03:00
parent 9bff855ad7
commit 682fb38852
4 changed files with 8 additions and 3 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -15,8 +15,7 @@ def init(positions, thickness):
"y": 0, "y": 0,
"shape": cq.Sketch() "shape": cq.Sketch()
.push(positions) .push(positions)
.trapezoid(12, 12, 90, mode="a") .trapezoid(12, 12, 90, mode="a"),
.circle(1.8, mode="s"),
"height": thickness, "height": thickness,
} }
] ]
@ -27,7 +26,13 @@ def init(positions, thickness):
"y": 0, "y": 0,
"shape": cq.Sketch().push(positions).circle(3, mode="a"), "shape": cq.Sketch().push(positions).circle(3, mode="a"),
"depth": thickness - 13, # (screw thread length - threaded insert depth) "depth": thickness - 13, # (screw thread length - threaded insert depth)
} },
{
"x": 0,
"y": 0,
"shape": cq.Sketch().push(positions).circle(1.8, mode="a"),
"depth": 100,
},
] ]