summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXANTRONIX Development2023-11-12 23:17:10 -0500
committerXANTRONIX Development2023-11-12 23:17:10 -0500
commit36df84272f51bbf1dc9a12d500844e5718dcb13b (patch)
treed5da4c7d98df033f4fa8c06b67fcc3b27f866f66
parente92a326077abfbe5f7975b8db796e16599d6a4e7 (diff)
downloadxantronix-z32-36df84272f51bbf1dc9a12d500844e5718dcb13b.tar.gz
xantronix-z32-36df84272f51bbf1dc9a12d500844e5718dcb13b.tar.bz2
xantronix-z32-36df84272f51bbf1dc9a12d500844e5718dcb13b.zip
On a rail
-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,