diff --git a/monitor/case.py b/monitor/case.py index 609c098..7964cee 100644 --- a/monitor/case.py +++ b/monitor/case.py @@ -11,14 +11,15 @@ board_cutout = ( cq.Sketch().trapezoid(55, 50, 90, mode="a").reset().vertices("X") .shell(-shell_t) .edges("|X") .fillet(fillet_s) - # Cutout room for plugs to slide in and be exposed - .faces(">X") - .workplane(centerOption="CenterOfBoundBox") - .center(0, -5) - .placeSketch(plug_cutout) - .cutBlind(-width / 2) # Cutout visible screen area from top face .faces(">Z") .workplane(centerOption="CenterOfBoundBox") @@ -75,12 +69,6 @@ def case(): .center(0, -length) .placeSketch(segment_breaks_bottom) .cutBlind(-1000) - # Cutout for the circuit board - .faces("X") + .workplane(centerOption="CenterOfBoundBox") + .center(0, -5) + .placeSketch(plug_channel_cutout) + .cutBlind(-width / 2) ) diff --git a/monitor/parameters.py b/monitor/parameters.py index 6bbd86e..f6e39c6 100644 --- a/monitor/parameters.py +++ b/monitor/parameters.py @@ -9,6 +9,7 @@ screen_left_margin = 7 + shell_t # (7 is bezel width on that side) # width, length, height INCLUDING_BEZEL display_w = 233 display_l = 65 +# This is the general height without the board, that's handled separately display_h = 5 width = 250