syringe.scad (482B)
1$fn = 20; 2 3base_height = 1; 4base_radius = 10; 5 6pipe_height = 10; 7pipe_radius = 2; 8 9main_radius = base_radius - 2; 10main_height = 50; 11 12needle_radius = 0.5; 13needle_height = 40; 14 15cylinder(r = base_radius, h = base_height); 16translate([0, 0, base_height]) { 17 cylinder(r = pipe_radius, h = pipe_height); 18 translate([0, 0, pipe_height]) { 19 cylinder(r = main_radius, h = main_height); 20 translate([0, 0, needle_height]) { 21 cylinder(r = needle_radius, h = needle_height, $fn=10); 22 } 23 } 24}