Created
June 6, 2014 01:53
-
-
Save kmaglione/a76b13760c569708229e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- skateboard-box.scad 2014-06-05 18:53:05.207198653 -0700 | |
+++ - 2014-06-05 18:53:49.918846203 -0700 | |
@@ -1,6 +1,7 @@ | |
// All measurements are made in millimeters | |
$fs=2; // Sphere polygons | |
+fudge=0.01; | |
// Skateboard enclosure | |
difference() { | |
@@ -58,7 +59,8 @@ | |
union() { | |
difference() { | |
cube([x, y, z], center=true); | |
- cube([x-wallwidth, y-wallwidth, z], center=true); | |
+ translate([0, 0, fudge]) | |
+ cube([x-wallwidth, y-wallwidth, z+fudge], center=true); | |
}; | |
translate([0, 0, z * -0.5]) { | |
cube([x, y, wallwidth], center=true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment