Compare commits

..

No commits in common. "f1521523e6313ce60b6dbecbd0b0c13d1e4a0d74" and "682fb388520c691db634579a60e88a5a5e071094" have entirely different histories.

6 changed files with 7 additions and 5 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_angle = math.acos(actual_height / kbd_height) * 180 / math.pi
kbd_pillar_positions = [ kbd_pillar_positions = [
(19, 16), (18.25, 16),
(142.5, 25.5), (142.5, 25.5),
(kbd_width - 20, 16), (kbd_width - 20, 16),
(23.5, 79.5), (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 # Measured from top-left corner OUTSIDE
mounting_pillar_positions = [ mounting_pillar_positions = [
(6, 6), (6, 6),
(6, 48), (6, 52),
(120, 6), (120, 6),
(170, 6), (170, 6),
(width - 6, 6), (width - 6, 6),
(width - 6, 30), (width - 6, 30),
(120, 48), (120, 52),
(170, 48), (170, 52),
] ]
screen_pillars.init(mounting_pillar_positions, thickness - shell_t) screen_pillars.init(mounting_pillar_positions, thickness - shell_t)

Binary file not shown.

View File

@ -13,7 +13,9 @@ def init(positions, thickness):
{ {
"x": 0, "x": 0,
"y": 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, "height": thickness,
} }
] ]