Skip to content

Instantly share code, notes, and snippets.

@chuckis
Created May 30, 2016 16:38
Show Gist options
  • Save chuckis/e9d24c9e5e181c88fac74a822dffd45b to your computer and use it in GitHub Desktop.
Save chuckis/e9d24c9e5e181c88fac74a822dffd45b to your computer and use it in GitHub Desktop.
upper cube from lad-pad
//upper-cube.scad
INCL = 3.2; // inner cube length
INCW = 2; // inner cube width
INCH = 2; // inner cube height
THIKNESS = 0.9;
OCL = INCL + THIKNESS * 2 ; // outer cube length
OCW = INCW + THIKNESS * 2 ; // outer cube width
OCH = 2; // outer cube height
module upp_cube() {
difference() {
cube([OCW, OCL, OCH], center= true);
cube([ INCW, INCL, INCH + 1], center= true);
}
}
upp_cube();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment