Skip to content

Instantly share code, notes, and snippets.

@creationix
Created February 18, 2021 00:15
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 creationix/48da2f15522903f3b0fc69bee4b99024 to your computer and use it in GitHub Desktop.
Save creationix/48da2f15522903f3b0fc69bee4b99024 to your computer and use it in GitHub Desktop.
// 84 x 44
// 26.5 - 31 height
// https://www.ana-white.com/woodworking-projects/modern-farm-table
// 2x6 legs
// 2x2 supports
// 2x4 side aprons
// 2x6 top pieces
module table(width, length, height) {
color("#b78353") {
// Legs
cube([5.5,1.5,height]);
translate([0,1.5,0]) cube([5.5,1.5,height-3.5]);
//translate([0,3,0]) cube([5.5,1.5,height-3.5]);
translate([0,length-1.5,0]) cube([5.5,1.5,height]);
translate([0,length-3,0]) cube([5.5,1.5,height-3.5]);
//translate([0,length-4.5,0]) cube([5.5,1.5,height-3.5]);
translate([width-5.5,0,0]) cube([5.5,1.5,height]);
translate([width-5.5,1.5,0]) cube([5.5,1.5,height-3.5]);
//translate([width-5.5,3,0]) cube([5.5,1.5,height-3.5]);
translate([width-5.5,length-1.5,0]) cube([5.5,1.5,height]);
translate([width-5.5,length-3,0]) cube([5.5,1.5,height-3.5]);
//translate([width-5.5,length-4.5,0]) cube([5.5,1.5,height-3.5]);
// Long Aprons
translate([0,1.5,height-3.5])cube([1.5,length-3,3.5]);
translate([width-1.5,1.5,height-3.5])cube([1.5,length-3,3.5]);
// Short Aprons
translate([5.5,0,height-3.5]) cube([width-11,1.5,3.5]);
translate([5.5,length-1.5,height-3.5]) cube([width-11,1.5,3.5]);
// Supports
for (i=[0:(length-3-5.5)/11])
translate([1.5,i*11+1.5,height-3.5])
cube([width-3,5.5,1.5]);
}
// Tabletop
color("#536d6a") for (i=[0:(width-3-5.5)/5.5])
translate([1.5+i*5.5,1.5,height-2])
cube([5.5,length-3,1.5]);
}
table(47,85.5,31);
// Benches are small tables.
translate([41.5,(85.5-74.5)/2,0]) table(19.5,74.5,19);
translate([-14,(85.5-74.5)/2,0]) table(19.5,74.5,19);
// 3 2x6x8 for legs
// 8 2x6xS for top
// 4 2x6xS for supports
// 6 2x6xS for bench legs and supports
// 6 2x6xS for bench tops
// 8x 2x4x8 for sides
// Each bench is about 10sqft top
// Table is about 28 sqft top
// 56 screws for bottom supports
// 42 screws for bottom of benches
// 44 for ends of supports
// 44 for ends of table
// 96 for ends of benches
// 292 screws
@creationix
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment