]> git.sven.stormbind.net Git - sven/scripts.git/blobdiff - openscad/silva_l1_v3.scad
Add the whole model into one union()
[sven/scripts.git] / openscad / silva_l1_v3.scad
index dd96063d9375149cdf4a0ef47d78e9699616c236..92359b687bc209ed2b3e063277e9e9dd21cf1070 100644 (file)
@@ -1,3 +1,4 @@
+union() {
 //variables
 thicknes=8.5;
 material=1.1;
@@ -22,7 +23,7 @@ translate([-material/2, 0 ,0])
     //right lower part
     color("Green"){
         translate([2+material/2, 0, 0])
-        cube([material, 12, thicknes]);
+            cube([material, 12, thicknes]);
     }
     
    //right upper part
@@ -74,4 +75,5 @@ translate([-material/2, 0 ,0])
   color("Red"){
       translate([-material*1.8, 0, 0])
       cube([material*1.8, 10, thicknes]);
+  }
   }
\ No newline at end of file