Permalink
Browse files

sofa initial

  • Loading branch information...
1 parent 7701c2b commit cc6088c536428ed4ba6ee5f1b972126af1f5f742 @mhenstell committed Jan 4, 2012
Showing with 52 additions and 0 deletions.
  1. +52 −0 sofa.scad
View
@@ -0,0 +1,52 @@
+//http://mistupid.com/homeimpr/lumber.htm
+
+module bedPosts()
+{
+ cube([89,89,2000]); //Post 1 (4x4)
+
+ translate([0,distBtwPosts + 89,0]) { //Post 2 (4x4)
+ cube([89,89,2000]);
+ }
+
+ translate([-38,0,heightOfSides]) { //Side 1
+ cube([38,distBtwPosts + (89*2) + 38,140]); //Side 1 (2x6)
+ }
+
+
+ translate([0,distBtwPosts + (89*2),heightOfSides]) { //Side 2 (2x6)
+ cube([1220,38,140]);
+ }
+}
+
+
+module sofaFrame() {
+
+ difference() {
+
+
+ translate([-38, 89, heightOfSides]) {
+ cube([140, 38, heightOfSofaBack]);
+ }
+
+ translate([100, 85, heightOfSides + 300]) {
+ rotate(-30, [0,1,0]) {
+ cube([140, 50, 300]);
+ }
+ }
+ }
+
+
+
+
+}
+
+distBtwPosts = 1220;
+heightOfSides = 200;
+heightOfSofaBack = 500;
+
+difference() {
+ sofaFrame();
+ bedPosts();
+}
+
+% bedPosts();

0 comments on commit cc6088c

Please sign in to comment.