Skip to content

Instantly share code, notes, and snippets.

@kmaglione
Created June 6, 2014 01:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kmaglione/a76b13760c569708229e to your computer and use it in GitHub Desktop.
Save kmaglione/a76b13760c569708229e to your computer and use it in GitHub Desktop.
--- 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