diff options
author | XANTRONIX Development | 2023-11-12 23:41:46 -0500 |
---|---|---|
committer | XANTRONIX Development | 2023-11-12 23:41:46 -0500 |
commit | 6aa321427343040f8c0f48ccd92082889e1f7758 (patch) | |
tree | 987593dfb1a39ae2653ec8c060ea7de27941e51c /case | |
parent | cc5f2520d1de0e29876085c2f4b328bc93cffed1 (diff) | |
download | xantronix-z32-6aa321427343040f8c0f48ccd92082889e1f7758.tar.gz xantronix-z32-6aa321427343040f8c0f48ccd92082889e1f7758.tar.bz2 xantronix-z32-6aa321427343040f8c0f48ccd92082889e1f7758.zip |
Now we're cookin'!
Diffstat (limited to 'case')
-rw-r--r-- | case/case.scad | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/case/case.scad b/case/case.scad index 3a93290..2e9827d 100644 --- a/case/case.scad +++ b/case/case.scad @@ -172,64 +172,64 @@ module keyboard_base_plate(pcb_width, pcb_length) { thickness]); /* Upper edge */ - /*round_edge([0 - thickness - pcb_clearance_edge + corner_radius, - thickness + pcb_clearance_edge + pcb_length - corner_radius, - -thickness/2], + round_edge([-pcb_clearance_edge - thickness + corner_radius, + pcb_clearance_edge + thickness + pcb_length - corner_radius, + -thickness + corner_radius], [0, 90, 0], - bottom_width + 2 * corner_radius);*/ + bottom_width + thickness + 2 * corner_radius); /* Right edge */ - /*round_edge([ thickness + pcb_clearance_edge + pcb_width - corner_radius, - 0 - thickness - pcb_clearance_edge + corner_radius, - -thickness/2], + round_edge([ pcb_clearance_edge + thickness + pcb_width - corner_radius, + -pcb_clearance_edge - thickness + corner_radius, + -thickness + corner_radius], [270, 0, 0], - bottom_length + 2 * corner_radius);*/ + bottom_length + thickness + 2 * corner_radius); /* Lower edge */ - /*round_edge([-pcb_clearance_edge - thickness + corner_radius, + round_edge([-pcb_clearance_edge - thickness + corner_radius, -pcb_clearance_edge - thickness + corner_radius, - -thickness/2], + -thickness + corner_radius], [90, 180, 90], - bottom_width + 2 * corner_radius);*/ + bottom_width + thickness + 2 * corner_radius); /* Left edge */ - /*round_edge([-pcb_clearance_edge - thickness + corner_radius, + round_edge([-pcb_clearance_edge - thickness + corner_radius, -pcb_clearance_edge - thickness + corner_radius, - -thickness/2], + -thickness + corner_radius], [270, 90, 0], - bottom_length + 2 * corner_radius);*/ + bottom_length + thickness + 2 * corner_radius); /* Upper right corner */ - /*round_corner([pcb_clearance_edge + thickness + pcb_width - corner_radius, + round_corner([pcb_clearance_edge + thickness + pcb_width - corner_radius, pcb_clearance_edge + thickness + pcb_length - corner_radius, - -thickness/2], - [90, 90, 90]);*/ + -thickness + corner_radius], + [90, 90, 90]); /* Lower right corner */ - /*round_corner([ pcb_clearance_edge + thickness + pcb_width - corner_radius, + round_corner([ pcb_clearance_edge + thickness + pcb_width - corner_radius, -pcb_clearance_edge - thickness + corner_radius, - -thickness/2], - [180, 90, 90]);*/ + -thickness + corner_radius], + [180, 90, 90]); /* Lower left corner */ - /*round_corner([-pcb_clearance_edge - thickness + corner_radius, + round_corner([-pcb_clearance_edge - thickness + corner_radius, -pcb_clearance_edge - thickness + corner_radius, - -thickness/2], - [-90, 90, 90]);*/ + -thickness + corner_radius], + [-90, 90, 90]); /* Upper left corner */ - /*round_corner([-pcb_clearance_edge - thickness + corner_radius, + round_corner([-pcb_clearance_edge - thickness + corner_radius, pcb_clearance_edge + thickness + pcb_length - corner_radius, - -thickness/2], - [0, 90, 90]);*/ + -thickness + corner_radius], + [0, 90, 90]); /* Screw holes */ - /*for (screw_hole = screw_holes) { + for (screw_hole = screw_holes) { screw_post([screw_hole[0], screw_hole[1], 0], pcb_clearance_bottom * 2, pcb_screw_hole_diameter * 2, pcb_screw_hole_diameter); - }*/ + } /* Ridges (for rigidity!) */ ridges(thickness * 2, pcb_clearance_bottom / 2); |