Compare commits
2 Commits
682fb38852
...
f1521523e6
Author | SHA1 | Date | |
---|---|---|---|
f1521523e6 | |||
2dc9510a04 |
@ -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 = [
|
||||||
(18.25, 16),
|
(19, 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.
@ -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, 52),
|
(6, 48),
|
||||||
(120, 6),
|
(120, 6),
|
||||||
(170, 6),
|
(170, 6),
|
||||||
(width - 6, 6),
|
(width - 6, 6),
|
||||||
(width - 6, 30),
|
(width - 6, 30),
|
||||||
(120, 52),
|
(120, 48),
|
||||||
(170, 52),
|
(170, 48),
|
||||||
]
|
]
|
||||||
screen_pillars.init(mounting_pillar_positions, thickness - shell_t)
|
screen_pillars.init(mounting_pillar_positions, thickness - shell_t)
|
||||||
|
|
||||||
|
Binary file not shown.
@ -13,9 +13,7 @@ def init(positions, thickness):
|
|||||||
{
|
{
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 0,
|
"y": 0,
|
||||||
"shape": cq.Sketch()
|
"shape": cq.Sketch().push(positions).trapezoid(12, 12, 90, mode="a"),
|
||||||
.push(positions)
|
|
||||||
.trapezoid(12, 12, 90, mode="a"),
|
|
||||||
"height": thickness,
|
"height": thickness,
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user