Monday, April 14, 2014

Day 231 - Tablemaker

Continuing with our (procrastination of) planning for this summer's move, we printed our dining room table and two coffee tables.


Thingiverse link: http://www.thingiverse.com/make:77669

Settings: Printed on a Replicator 2 with MakerWare .3mm/low, upside-down so as not to require supports.

Technical notes, OpenSCAD flavor: Continuing with the same parameters as yesterday's code, today we constructed a table module. Since tables are sharper than sofas we used smaller spheres at the corners. The result is slightly nicer than just using the very sharp cube() module that we used for the legs.

/////////////////////////////////////////////////////////////
// module for making tables /////////////////////////////////

module table(depth,length,height){
// body of table
hull(){
translate(s*[0,0,0]) sphere(tiny);
translate(s*[depth,0,0]) sphere(tiny);
translate(s*[depth,length,0]) sphere(tiny);
translate(s*[0,length,0]) sphere(tiny);
translate(s*[0,length,depth/5]) sphere(tiny);
translate(s*[depth,length,depth/5]) sphere(tiny);
translate(s*[depth,0,depth/5]) sphere(tiny);
translate(s*[0,0,depth/5]) sphere(tiny);
}
// legs
translate(s*[0,0,0])
cube(s*[depth/5,depth/5,height]);
translate(s*[depth-depth/5,0,0]) 
cube(s*[depth/5,depth/5,height]);
translate(s*[0,length-depth/5,0]) 
cube(s*[depth/5,depth/5,height]);
translate(s*[depth-depth/5,length-depth/5,0]) 
cube(s*[depth/5,depth/5,height]);
}