optionally close the hole for bar1

This commit is contained in:
Ward Wouts 2014-01-20 15:55:52 +01:00
parent 2c414fcf23
commit f350f4db9a

View file

@ -14,6 +14,8 @@ M3 = 3.2;
thickness = 3; thickness = 3;
spacing = 1; spacing = 1;
open=1;
FN=80*1; // 80 for nice prints; 16 for speed FN=80*1; // 80 for nice prints; 16 for speed
@ -32,9 +34,11 @@ module bar1mount(){
rotate([-90,0,0]){ rotate([-90,0,0]){
cylinder(h=(thickness*4), r=bar1r, $fn=FN); cylinder(h=(thickness*4), r=bar1r, $fn=FN);
} }
translate([-bar1r,0,0]){ if (open ==1){
rotate([0,10,0]){ translate([-bar1r,0,0]){
cube([2*bar1r,thickness*4,30]); rotate([0,10,0]){
cube([2*bar1r,thickness*4,30]);
}
} }
} }
} }