Slightly tweaked design
This commit is contained in:
parent
56c880ffe8
commit
445cb1caeb
@ -10,7 +10,9 @@ m4_bottom = 4
|
|||||||
m4_height = 2.5
|
m4_height = 2.5
|
||||||
|
|
||||||
|
|
||||||
height = 64.5 + shell_t # Measured
|
lip_thickness = 1.5
|
||||||
|
# Position of pillar + shell_t + pillar "radius" + lip
|
||||||
|
height = max([y for _, y in mounting_pillar_positions]) + 6 + shell_t + lip_thickness
|
||||||
thickness = shell_t
|
thickness = shell_t
|
||||||
front_lip = 8
|
front_lip = 8
|
||||||
|
|
||||||
@ -52,13 +54,13 @@ def model():
|
|||||||
.cskHole(m4_bottom, m4_top, 82, depth=None)
|
.cskHole(m4_bottom, m4_top, 82, depth=None)
|
||||||
)
|
)
|
||||||
|
|
||||||
# Add front edge
|
# Add front lip
|
||||||
|
|
||||||
model = (
|
model = (
|
||||||
model.faces(">Z")
|
model.faces(">Z")
|
||||||
.workplane(centerOption="CenterOfBoundBox")
|
.workplane(centerOption="CenterOfBoundBox")
|
||||||
.center(0, -height / 2 - shell_t / 2)
|
.center(0, -height / 2 + lip_thickness / 2)
|
||||||
.placeSketch(cq.Sketch().trapezoid(width, shell_t, 90))
|
.placeSketch(cq.Sketch().trapezoid(width - 2 * shell_t, lip_thickness, 90))
|
||||||
.extrude(-front_lip - thickness)
|
.extrude(-front_lip - thickness)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user