diff options
author | XANTRONIX Development | 2023-11-11 04:28:53 -0500 |
---|---|---|
committer | XANTRONIX Development | 2023-11-11 04:28:53 -0500 |
commit | b46f3dd3749412413a8c401958607f3efbcc66ed (patch) | |
tree | b439da243fca8bdb0acf7f6cc18efaa6e3e18478 | |
parent | 0d12b585d6738d4106e2f3170158d34b91d6d562 (diff) | |
download | xantronix-z32-b46f3dd3749412413a8c401958607f3efbcc66ed.tar.gz xantronix-z32-b46f3dd3749412413a8c401958607f3efbcc66ed.tar.bz2 xantronix-z32-b46f3dd3749412413a8c401958607f3efbcc66ed.zip |
idk cats
-rw-r--r-- | case/case.scad | 37 |
1 files changed, 20 insertions, 17 deletions
diff --git a/case/case.scad b/case/case.scad index ac8c187..7745975 100644 --- a/case/case.scad +++ b/case/case.scad @@ -1,15 +1,18 @@ +pcb_clearance_edge = 1.0; +pcb_clearance_bottom = 2.0; + pcb_width = 257.175; pcb_height = 95.250; -radius = 0.5; +corner_radius = 0.5; $fn = 72; /* Lower left rounded corner */ rotate([-90, 90, 90]) rotate_extrude(angle = 90) { intersection() { - circle(r=radius); - square(radius*2); + circle(r=corner_radius); + square(corner_radius*2); } } @@ -18,8 +21,8 @@ translate([pcb_width, 0, 0]) rotate([270, 0, 0]) linear_extrude(pcb_height) intersection() { - circle(r=radius); - square(radius*2); + circle(r=corner_radius); + square(corner_radius*2); } /* Upper left rounded corner */ @@ -27,8 +30,8 @@ translate([0, pcb_height, 0]) rotate([0, 90, 90]) rotate_extrude(angle = 90) { intersection() { - circle(r=radius); - square(radius*2); + circle(r=corner_radius); + square(corner_radius*2); } } @@ -37,8 +40,8 @@ translate([pcb_width, pcb_height, 0]) rotate([90, 90, 90]) rotate_extrude(angle = 90) { intersection() { - circle(r=radius); - square(radius*2); + circle(r=corner_radius); + square(corner_radius*2); } } @@ -46,16 +49,16 @@ rotate([90, 90, 90]) rotate([270, 90, 0]) linear_extrude(pcb_height) intersection() { - circle(r=radius); - square(radius*2); + circle(r=corner_radius); + square(corner_radius*2); } /* Bottom rounded edge */ rotate([90, 180, 90]) linear_extrude(pcb_width) intersection() { - circle(r=radius); - square(radius*2); + circle(r=corner_radius); + square(corner_radius*2); } /* Right rounded edge */ @@ -63,8 +66,8 @@ translate([pcb_width, 0, 0]) rotate([180, 90, 90]) rotate_extrude(angle = 90) { intersection() { - circle(r=radius); - square(radius*2); + circle(r=corner_radius); + square(corner_radius*2); } } @@ -74,8 +77,8 @@ translate([0, pcb_height, 0]) rotate([0, 90, 0]) linear_extrude(pcb_width) intersection() { - circle(r=radius); - square(radius*2); + circle(r=corner_radius); + square(corner_radius*2); } square([pcb_width, pcb_height], false);
\ No newline at end of file |