diff --git a/notebook_nueva/components/keyboard.py b/notebook_nueva/components/keyboard.py index d1caaa7..9e7dcfa 100644 --- a/notebook_nueva/components/keyboard.py +++ b/notebook_nueva/components/keyboard.py @@ -9,6 +9,11 @@ kbd_back_thickness = 0 kbd_front_thickness = 0 kbd_actual_height = 0 kbd_angle = 0 +kbd_pillar_offset_1 = 0 +kbd_pillar_radius_1 = 0 +kbd_pillar_offset_2 = 0 +kbd_pillar_radius_2 = 0 +kbd_screw_radius = 0 def init(): @@ -19,19 +24,19 @@ def init(): { "x": 0, "y": 0, - "z": 5.5, - "shape": cq.Sketch().push(kbd_pillar_positions).circle(5, mode="a"), + "z": kbd_pillar_offset_1, + "shape": cq.Sketch().push(kbd_pillar_positions).circle(kbd_pillar_radius_1, mode="a"), }, # Taller pillars with holes for self-tapping screws { "x": 0, "y": 0, - "z": 2.5, + "z": kbd_pillar_offset_2, "shape": ( cq.Sketch() .push(kbd_pillar_positions) - .circle(2.4, mode="a") - .circle(1.1, mode="s") + .circle(kbd_pillar_radius_2, mode="a") + .circle(kbd_screw_radius, mode="s") ), }, ] diff --git a/notebook_nueva/dimensions.py b/notebook_nueva/dimensions.py index 15f4003..71fb19c 100644 --- a/notebook_nueva/dimensions.py +++ b/notebook_nueva/dimensions.py @@ -41,6 +41,11 @@ keyboard.kbd_pillar_positions = [ (145.5, 82.5), (keyboard.kbd_width - 19, 79.5), ] +keyboard.kbd_pillar_offset_1 = 5.5 +keyboard.kbd_pillar_radius_1 = 5 +keyboard.kbd_pillar_offset_2 = 2.5 +keyboard.kbd_pillar_radius_2 = 2.4 +keyboard.kbd_screw_radius = 1.1 keyboard.init() ## Screen dimensions diff --git a/notebook_nueva/tandy_lid.stl b/notebook_nueva/tandy_lid.stl index 5c5bd0b..aa3b9d1 100644 Binary files a/notebook_nueva/tandy_lid.stl and b/notebook_nueva/tandy_lid.stl differ diff --git a/notebook_nueva/tandy_lid_left.stl b/notebook_nueva/tandy_lid_left.stl index ac638fd..2245bae 100644 Binary files a/notebook_nueva/tandy_lid_left.stl and b/notebook_nueva/tandy_lid_left.stl differ