scad/soap holder.scad

24 lines
507 B
OpenSCAD

// 1.5" x 2.25"
// 2.5" tall
height = 2.5 * 25.4;
width = 3.0 * 25.4;
depth = 2.0 * 25.4;
thickness = 4;
difference() {
cube([width, depth, height]);
translate([0, thickness/2, thickness/2]) {
cube([width, depth - thickness, height - thickness]);
}
translate([(width-(2.25*25.4))/2, (depth-(1.5*25.4))/2, height-thickness]) {
cube([2.25*25.4, 1.5*25.4, thickness]);
}
// remove the bulk for testing
//cube([width, depth, height - thickness+2]);
};