# HG changeset patch # User mdd # Date 1536752781 -7200 # Node ID b677773a80975cb0bc53afd6e7c82cfd8c79a422 # Parent a159ad715fe0515078c68d8bd01bde37a9e7f1a4 added syringe mount hole diff -r a159ad715fe0 -r b677773a8097 FluidSwitch/FluidSwitch_Radial.scad --- a/FluidSwitch/FluidSwitch_Radial.scad Wed Sep 12 13:23:19 2018 +0200 +++ b/FluidSwitch/FluidSwitch_Radial.scad Wed Sep 12 13:46:21 2018 +0200 @@ -33,17 +33,22 @@ thread_pitch = 2; inlay_height = outlet_circle_dia / 4 + hole_inner; +// adjust this to make the center hole look nice according to whicj oring you use +base_bottom_thickness = 9 - base_height - 0.001; + // START PROGRAM use <../libs/Threading/Threading.scad> valve_lower(); +/* translate([0,0,base_height]) valve_inlay(); rotate([180,0,0]) translate([0,0,-outer_height - 2]) valve_cap(); +*/ // MODULES @@ -89,7 +94,7 @@ valve_base(); valve_casing(); // bottom - translate([0,0,-1.5]) cylinder(d=base_outer_dia, h=1.5); + translate([0,0,-base_bottom_thickness]) cylinder(d=base_outer_dia, h=base_bottom_thickness); } // cut out the OUTLET ring on the side @@ -102,8 +107,16 @@ } } + // cut out the syringe hole (needs to be conical to fit) + translate([0,0,-base_bottom_thickness - 0.001]) + cylinder(d1 = 4.5, d2 = 4, h = 9, $fn=fn); + + // in my case the oring inner diameter corresponds to the syringe tip diameter (4 mm) - so I remove the inner unprintable walls of the center oring grove + + translate([0,0,base_height - oring_dia / 2]) + cylinder(d=oring_inner + oring_dia, h = 2); + } -// TODO: cut out the syringe hole (needs to be conical to fit) module valve_casing() { @@ -124,7 +137,7 @@ cylinder(d=base_dia, h=base_height); // inlet hole - cylinder(d=hole_inner, h=base_height, $fn=fn); + cylinder(d=hole_inner, h=base_height +0.001, $fn=fn); translate([0,0,base_height]) oring(); @@ -135,7 +148,7 @@ translate([outlet_circle_dia/2,0,base_height]) oring(); translate([outlet_circle_dia/2,0]) - cylinder(d=hole_inner, h=base_height, $fn=fn); + cylinder(d=hole_inner, h=base_height + 0.001, $fn=fn); } }