Compare commits
2 Commits
4386b1c017
...
26dc83baf9
Author | SHA1 | Date | |
---|---|---|---|
26dc83baf9 | |||
29e2464bef |
File diff suppressed because it is too large
Load Diff
@ -45,10 +45,10 @@ kbd_pillars = (
|
|||||||
# Measured from top-left corner OUTSIDE
|
# Measured from top-left corner OUTSIDE
|
||||||
mounting_pillar_positions = [
|
mounting_pillar_positions = [
|
||||||
(6, -6),
|
(6, -6),
|
||||||
(width - 6, -6),
|
|
||||||
(width - 6, -40),
|
|
||||||
(120, -6),
|
(120, -6),
|
||||||
(170, -6),
|
(170, -6),
|
||||||
|
(width - 6, -6),
|
||||||
|
(width - 6, -40),
|
||||||
]
|
]
|
||||||
|
|
||||||
mounting_pillars = (
|
mounting_pillars = (
|
||||||
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -36,11 +36,16 @@ board_cutout = cq.Sketch().trapezoid(
|
|||||||
mode="a",
|
mode="a",
|
||||||
)
|
)
|
||||||
|
|
||||||
kbd_cable_hole = cq.Sketch().trapezoid(15, 5, 90, mode="a").vertices().fillet(1)
|
kbd_cable_hole = cq.Sketch().trapezoid(15, 6, 90, mode="a").vertices().fillet(1)
|
||||||
|
|
||||||
|
# The last mounting pillar is handled specially
|
||||||
|
x, y = mounting_pillar_positions[-1]
|
||||||
mounting_pillars = (
|
mounting_pillars = (
|
||||||
cq.Sketch()
|
cq.Sketch()
|
||||||
.polygon([(0, 0), (width, 0), (width, -12), (0, -12), (0, 0)], mode="a")
|
.polygon([(0, 0), (width, 0), (width, -12), (0, -12), (0, 0)], mode="a")
|
||||||
|
.polygon(
|
||||||
|
[(x - 6, y - 6), (x - 6, y + 6), (x + 6, y + 6), (x + 6, y - 6), (x - 6, y - 6)]
|
||||||
|
)
|
||||||
.push(mounting_pillar_positions)
|
.push(mounting_pillar_positions)
|
||||||
.circle(ti_radius, mode="s")
|
.circle(ti_radius, mode="s")
|
||||||
)
|
)
|
||||||
@ -94,7 +99,7 @@ def model():
|
|||||||
# Make small hole for the keyboard cable
|
# Make small hole for the keyboard cable
|
||||||
.faces(">Y")
|
.faces(">Y")
|
||||||
.workplane(offset=-5, centerOption="CenterOfBoundBox")
|
.workplane(offset=-5, centerOption="CenterOfBoundBox")
|
||||||
.center(-width / 2 + 128, -23)
|
.center(-width / 2 + 128, -24)
|
||||||
.placeSketch(kbd_cable_hole)
|
.placeSketch(kbd_cable_hole)
|
||||||
.cutBlind(-1000)
|
.cutBlind(-1000)
|
||||||
# Pillars to join with bottom half
|
# Pillars to join with bottom half
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user