// allviews cleo1 cleo2 cleo3 include module cleo1(){ thick=1; len=25; height=15; h_2=height/2; difference(){ union(){ cube([len,height,thick]); translate([0,h_2,0]) cylinder(r=h_2,h=thick,$fn=40); translate([len,h_2,0]) cylinder(r=h_2,h=thick,$fn=40); } union(){ translate([-h_2+3,h_2,-1]) cylinder(r=1,h=3,$fn=40); translate([len+h_2-3,h_2,-1]) cylinder(r=1,h=3,$fn=40); translate([2,h_2-2.5,-1]) linear_extrude(height=thick+2) scale([0.6,0.6,1]) text("CLEo",font="Liberation Sans:style=Bold Italic"); } } } module cleo2(){ } module cleo3(){ } module main_view(view){ if (view=="cleo1"){ cleo1(); }else if (view=="cleo2"){ cleo2(); }else if (view=="cleo3"){ cleo3(); } }