diff --git a/notebook_nueva/hinged_lid.py b/notebook_nueva/hinged_lid.py index b7809b7..fb1b1d3 100644 --- a/notebook_nueva/hinged_lid.py +++ b/notebook_nueva/hinged_lid.py @@ -14,15 +14,17 @@ from modelo import ( import keyboard import screen_mount -hinge_radius = 6 +hinge_radius = 5.5 screw_radius = 1.5 # M3 ring_radius = 5 # M3 hinge_offset = max(p[1] for p in mounting_pillar_positions) + 6 hinge_width = 25 -thickness = 50 - -distance_to_kbd_top = hinge_radius + 15 # measure +thickness = 41 +# This is a constant used to control how far back the hinges go +# when open. It's arbitrary and can be adjusted experimentally +# printing small samples +hinge_slant = shell_t + 2 def model(): # Create a 2-part hinged lid @@ -32,6 +34,10 @@ def model(): # Hollow box .workplane(offset=-thickness / 2) .box(width, height, thickness) + .edges("Z") + .fillet(10) + .edges(">Y and >Z") + .fillet(5) .faces(" - + - - - - + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - @@ -123,74 +96,134 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +