// allviews attache_talon // viewopts attache_talon // testviews test include width=24; width2=width+20; thick1=7; thick2=thick1+2.5; height=15; module attache_talon(){ translate([-10,0,0]) cube([10,thick2,height]); difference(){ union(){ cube([width,thick2,height]); translate([0,thick1,0]) cube([width2,thick2-thick1,height]); translate([0,0,0]) cube([width2,thick2-thick1,height]); } translate([2,thick2-6,-1]) cube([width-4,2.5,height+2]); } } module main_view(view){ if (view=="attache_talon"){ attache_talon(); }else if (view=="test"){ intersection(){ cube([width2,thick2,1]); attache_talon(); } } }