/* Body part of the nebulizer chamber. */ $fa=.5; $fs=.5; use ; pipe=22; body=50; length=110; wall=2.2; br=body/2; pr=pipe/2; pipel=body+50; pipeh=length-3-pr; difference() { union() { cylinder(h=length, r=br); writecylinder("rmattila.com", [0,0,pipeh], br, length, font="orbitron.dxf", rotate=0, center=true); translate([0,0,pipeh]) rotate([0,90,0]) cylinder(h=pipel, r=pr, center=true); } translate([0,0,-1]) cylinder(h=length-1, r=br-wall); translate([0,0,pipeh]) rotate([0,90,0]) cylinder(h=pipel+2, r=pr-wall, center=true); translate([0,0,-10]) cylinder(h=20, r1=br-wall+2, r2=br-wall); difference() { translate([0,0,length-1]) cylinder(h=2, r=br+1); translate([0,0,length-2]) cylinder(h=4, r1=br+1.5, r2=br-2.5); } translate([pipel/2,0,pipeh]) rotate([0,90,0]) difference() { cylinder(r=100, h=2, center=true); cylinder(h=4, r1=pr+1, r2=pr-3, center=true); } translate([-pipel/2,0,pipeh]) rotate([0,90,0]) difference() { cylinder(r=100, h=2, center=true); cylinder(h=4, r2=pr+1, r1=pr-3, center=true); } }