diff --git a/notebook_nueva/left_screen_mount.stl b/notebook_nueva/left_screen_mount.stl index 46afeab..50c85ec 100644 Binary files a/notebook_nueva/left_screen_mount.stl and b/notebook_nueva/left_screen_mount.stl differ diff --git a/notebook_nueva/lid.py b/notebook_nueva/lid.py index df5d416..093253c 100644 --- a/notebook_nueva/lid.py +++ b/notebook_nueva/lid.py @@ -68,18 +68,8 @@ def model(): def decorative_cover(): model = cq.Workplane("XY").box(10, height, 1).edges("|Z").fillet(1) - vent = hex_vents(size=6, width=width * 0.9, height=height * 0.9)[0] + vent = hex_vents(size=6, width=width * 0.9, height=height * 0.9, density=0.775)[0] - model = extrude_shape2( - model=model, - face=">Z", - w=width, - h=height, - x_offset=0.05 * width, - y_offset=0.05 * height, - hole=vent, - depth=-1, - ) model = extrude_shape2( model=model, face=">Z", diff --git a/notebook_nueva/lid_cover.stl b/notebook_nueva/lid_cover.stl index cc2d0a7..939be39 100644 Binary files a/notebook_nueva/lid_cover.stl and b/notebook_nueva/lid_cover.stl differ diff --git a/notebook_nueva/right_screen_mount.stl b/notebook_nueva/right_screen_mount.stl index f81da1c..54ad02c 100644 Binary files a/notebook_nueva/right_screen_mount.stl and b/notebook_nueva/right_screen_mount.stl differ diff --git a/notebook_nueva/screen_mount.stl b/notebook_nueva/screen_mount.stl index 70a4fed..a9b00be 100644 Binary files a/notebook_nueva/screen_mount.stl and b/notebook_nueva/screen_mount.stl differ diff --git a/notebook_nueva/utils.py b/notebook_nueva/utils.py index c26dfea..ecdeda6 100644 --- a/notebook_nueva/utils.py +++ b/notebook_nueva/utils.py @@ -32,7 +32,7 @@ def extrude_shape2(*, model, face, w, h, x_offset, y_offset, hole, depth): ) -def hex_vents(*, size, width, height): +def hex_vents(*, size, width, height, density=0.85): # size is radius of the hexagon # Information about how this works: # https://www.redblobgames.com/grids/hexagons/ @@ -66,7 +66,7 @@ def hex_vents(*, size, width, height): { "x": 0, "y": 0, - "shape": cq.Sketch().push(vent_positions).regularPolygon(size * 0.85, 6), + "shape": cq.Sketch().push(vent_positions).regularPolygon(size * density, 6), } ]