// OpenSCAD Mailinglist CC0 // Y-adapter for table saw and vacuum cleaner wall_thickness=1; y_adapter_in_diameter=20; y_adapter_out_bigger=15; y_adapter_out_smaller=10; adapter_length=70; adapter_small_exhaust_length=30; difference(){ // the outer shape adds up, it is a cone and a cylinder added together union() { // main cone cylinder(d1=y_adapter_in_diameter,d2=y_adapter_out_bigger, h=adapter_length, center=true); // side cylinder rotate([0,90,0]) cylinder(d=y_adapter_out_smaller,h=adapter_small_exhaust_length); } // hollow main cone cylinder(d1=y_adapter_in_diameter-2*wall_thickness,d2=y_adapter_out_bigger-2*wall_thickness, h=adapter_length, center=true); // hollow side cylinder rotate([0,90,0]) cylinder(d=y_adapter_out_smaller-2*wall_thickness,h=adapter_small_exhaust_length); }