Compare commits
No commits in common. "0335944118e4c8a74017f204589f11562c56dc74" and "a5274c05349a52506e30a05b4ac0b676f274731e" have entirely different histories.
0335944118
...
a5274c0534
@ -12,7 +12,7 @@ holes = [
|
|||||||
{
|
{
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 4,
|
"y": 4,
|
||||||
"shape": cq.Sketch().trapezoid(17, 5, 90, mode="a").vertices().fillet(2),
|
"shape": cq.Sketch().trapezoid(17, 5, 90, mode="a").fillet(2),
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -81,13 +81,13 @@ vents = hex_vents(size=3, width=width, height=height)
|
|||||||
holes = [
|
holes = [
|
||||||
# Power inlet
|
# Power inlet
|
||||||
{
|
{
|
||||||
"x": -18,
|
"x": -15,
|
||||||
"y": -1 + pillar_height,
|
"y": -1 + pillar_height,
|
||||||
"shape": cq.Sketch().trapezoid(12, 6.5, 90, mode="a").vertices().fillet(1),
|
"shape": cq.Sketch().trapezoid(12, 6.5, 90, mode="a").vertices().fillet(1),
|
||||||
},
|
},
|
||||||
# Power button
|
# Power button
|
||||||
{
|
{
|
||||||
"x": -70,
|
"x": -67,
|
||||||
"y": 5.5 + pillar_height,
|
"y": 5.5 + pillar_height,
|
||||||
"shape": cq.Sketch().trapezoid(7, 7, 90, mode="a").vertices().fillet(1),
|
"shape": cq.Sketch().trapezoid(7, 7, 90, mode="a").vertices().fillet(1),
|
||||||
},
|
},
|
||||||
|
@ -4,8 +4,8 @@ import math
|
|||||||
# Size of the kbd board
|
# Size of the kbd board
|
||||||
kbd_height = 95.5
|
kbd_height = 95.5
|
||||||
kbd_width = 305
|
kbd_width = 305
|
||||||
back_thickness = 19
|
back_thickness = 17
|
||||||
front_thickness = 12
|
front_thickness = 10
|
||||||
|
|
||||||
# Pythagoras
|
# Pythagoras
|
||||||
actual_height = (kbd_height**2 - (back_thickness - front_thickness) ** 2) ** 0.5
|
actual_height = (kbd_height**2 - (back_thickness - front_thickness) ** 2) ** 0.5
|
||||||
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user