//* ALL DIMENSION ARE IN MILLIMETERS*// include; /* 2D TO EXPORT TO .svg */ dim_2D = 0; /* MODULE */ module fuselage_module_part_4(){ var_hole = 6; difference(){ union(){ cube([15*stock_thick,30*stock_thick,stock_thick],center=true); for (i = [-1, 1]){ for (j = [-1,1]){ translate([i*4*stock_thick,j*15*stock_thick,0]){ cube([3*stock_thick,6*stock_thick,stock_thick],center=true); translate([0,j*3*stock_thick,0]){ cylinder(h=stock_thick,r=1.5*stock_thick,center=true); } } } } } for (i = [-1, 1]){ for (j = [-1,1]){ translate([i*4*stock_thick,j*17.5*stock_thick,0]){ cube([stock_thick,stock_thick,2*stock_thick],center=true); } translate([i*4*stock_thick,j*14.5*stock_thick,0]){ cube([stock_thick,stock_thick,2*stock_thick],center=true); } } } for (j = [-var_hole:var_hole]){ translate([0,j*2*stock_thick,0]){ cube([7*stock_thick,stock_thick,2*stock_thick],center=true); } } for (i = [-1,1]){ translate([i*5.5*stock_thick,0,0]){ cube([stock_thick,25*stock_thick,2*stock_thick],center=true); } } } } if (dim_2D==1){ projection(cut = true) fuselage_module_part_4(); } else { fuselage_module_part_4(); }