Compare commits

...

2 Commits

6 changed files with 5 additions and 7 deletions

View File

@ -12,7 +12,7 @@ actual_height = (kbd_height**2 - (back_thickness - front_thickness) ** 2) ** 0.5
kbd_angle = math.acos(actual_height / kbd_height) * 180 / math.pi
kbd_pillar_positions = [
(18.25, 16),
(19, 16),
(142.5, 25.5),
(kbd_width - 20, 16),
(23.5, 79.5),

Binary file not shown.

Binary file not shown.

View File

@ -33,13 +33,13 @@ ti_depth = 6.25
# Measured from top-left corner OUTSIDE
mounting_pillar_positions = [
(6, 6),
(6, 52),
(6, 48),
(120, 6),
(170, 6),
(width - 6, 6),
(width - 6, 30),
(120, 52),
(170, 52),
(120, 48),
(170, 48),
]
screen_pillars.init(mounting_pillar_positions, thickness - shell_t)

Binary file not shown.

View File

@ -13,9 +13,7 @@ def init(positions, thickness):
{
"x": 0,
"y": 0,
"shape": cq.Sketch()
.push(positions)
.trapezoid(12, 12, 90, mode="a"),
"shape": cq.Sketch().push(positions).trapezoid(12, 12, 90, mode="a"),
"height": thickness,
}
]