aboutsummaryrefslogtreecommitdiffstats
path: root/checker/src/models/syringe.scad
blob: 3f140720f9179e593e2bd44b27a80d267e89054b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$fn = 20;

base_height = 1;
base_radius = 10;

pipe_height = 10;
pipe_radius = 2;

main_radius = base_radius - 2;
main_height = 50;

needle_radius = 0.5;
needle_height = 40;

cylinder(r = base_radius, h = base_height);
translate([0, 0, base_height]) {
	cylinder(r = pipe_radius, h = pipe_height);
	translate([0, 0, pipe_height]) {
		cylinder(r = main_radius, h = main_height);
		translate([0, 0, needle_height]) {
			cylinder(r = needle_radius, h = needle_height, $fn=10);
		}
	}
}