Skip to content

Instantly share code, notes, and snippets.

@makevoid
Created September 24, 2013 20:37
Show Gist options
  • Select an option

  • Save makevoid/6690869 to your computer and use it in GitHub Desktop.

Select an option

Save makevoid/6690869 to your computer and use it in GitHub Desktop.
openscad long box
3devo_box();
module base() {
cube([120, 40, 10]);
translate([5, 5, 10]) color("purple") { // x: 0, y: 0, z: 0
cube([110, 30, 5]);
}
translate([5, 5.5, 0]) color("green") { // x: 0, y: 0, z: 0
cube([3, 29, 18]);
}
translate([112.3, 5, 0]) color("orange") { // x: 0, y: 0, z: 0
cube([3, 30, 18]);
}
}
module lid() {
base();
}
module clips() {
// TODO
}
module box() {
base();
clips();
}
module 3devo_box() {
box();
translate([0, 60, 0]) lid();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment