// allviews rond testrond // viewopts rond solid include ray=30; rayhole=15/2+0.2+0.1; thick=11; module rond(){ difference(){ union(){ off=5; cylinder(r=ray,h=off,$fn=80); translate([0,0,off]) cylinder(r1=ray,r2=ray-10,h=thick-off,$fn=80); } translate([0,0,-1]) cylinder(r=rayhole,h=thick+2,$fn=80); } } module testrond(){ } module main_view(view){ if (view=="rond"){ rond(); }else if (view=="testrond"){ intersection(){ cylinder(r=12,h=1,$fn=80); rond(); } } }