summaryrefslogtreecommitdiffstats
path: root/case
diff options
context:
space:
mode:
Diffstat (limited to 'case')
-rw-r--r--case/case.scad64
1 files changed, 32 insertions, 32 deletions
diff --git a/case/case.scad b/case/case.scad
index 57dfdab..0a7fd6f 100644
--- a/case/case.scad
+++ b/case/case.scad
@@ -131,6 +131,38 @@ module keyboard_base_plate(pcb_width, pcb_length) {
0],
[thickness, wall_length, wall_height]);
+ /* Upper right wall corner */
+ wall_corner([thickness + pcb_clearance_edge + pcb_width - corner_radius,
+ thickness + pcb_clearance_edge + pcb_length - corner_radius,
+ 0],
+ [0, 0, 0],
+ corner_radius,
+ wall_height);
+
+ /* Lower right wall corner */
+ wall_corner([ thickness + pcb_clearance_edge + pcb_width - corner_radius,
+ 0 - thickness - pcb_clearance_edge + corner_radius,
+ 0],
+ [0, 0, 270],
+ corner_radius,
+ wall_height);
+
+ /* Lower left wall corner */
+ wall_corner([-pcb_clearance_edge - thickness + corner_radius,
+ -pcb_clearance_edge - thickness + corner_radius,
+ 0],
+ [0, 0, 180],
+ corner_radius,
+ wall_height);
+
+ /* Upper left wall corner */
+ wall_corner([-pcb_clearance_edge - thickness + corner_radius,
+ pcb_clearance_edge + pcb_length + thickness - corner_radius,
+ 0],
+ [0, 0, 90],
+ corner_radius,
+ wall_height);
+
/* Upper right corner */
/*round_corner([pcb_clearance_edge + thickness + pcb_width - corner_radius,
pcb_clearance_edge + thickness + pcb_length - corner_radius,
@@ -183,38 +215,6 @@ module keyboard_base_plate(pcb_width, pcb_length) {
[270, 90, 0],
bottom_length + 2 * corner_radius);*/
- /* Upper right wall corner */
- /*wall_corner([thickness + pcb_clearance_edge + pcb_width - corner_radius,
- thickness + pcb_clearance_edge + pcb_length - corner_radius,
- -thickness/2],
- [0, 0, 0],
- corner_radius,
- wall_height);*/
-
- /* Lower right wall corner */
- /*wall_corner([ thickness + pcb_clearance_edge + pcb_width - corner_radius,
- 0 - thickness - pcb_clearance_edge + corner_radius,
- -thickness/2],
- [0, 0, 270],
- corner_radius,
- wall_height);*/
-
- /* Lower left wall corner */
- /*wall_corner([0 - thickness - pcb_clearance_edge + corner_radius,
- 0 - thickness - pcb_clearance_edge + corner_radius,
- -thickness/2],
- [0, 0, 180],
- corner_radius,
- wall_height);*/
-
- /* Upper left wall corner */
- /*wall_corner([-pcb_clearance_edge - corner_radius,
- pcb_clearance_edge + corner_radius + pcb_length,
- -thickness/2],
- [0, 0, 90],
- corner_radius,
- wall_height);*/
-
/* Bottom plate */
/*side([-pcb_clearance_edge - corner_radius,
-pcb_clearance_edge - corner_radius,