Add ring with a 6-nut shape

This commit is contained in:
maride 2018-01-18 22:25:36 +01:00
parent 92ded4e34c
commit 509918c47b

29
Ring_Nut.scad Normal file
View File

@ -0,0 +1,29 @@
INNER_DIMENSION=19;
HEIGHT=10;
EDGES=6;
FLATNESS=0.9;
THICKNESS=8;
$fn = 36;
difference() {
union() {
translate([0, 0, HEIGHT/5])
rotate([180, 0])
linear_extrude(height=HEIGHT/5, scale=FLATNESS) {
circle(d=INNER_DIMENSION+THICKNESS, $fn=EDGES);
}
translate([0, 0, HEIGHT/5])
linear_extrude(height=HEIGHT*3/5) {
circle(d=INNER_DIMENSION+THICKNESS, $fn=EDGES);
}
translate([0, 0, HEIGHT*4/5])
linear_extrude(height=HEIGHT/5, scale=FLATNESS) {
circle(d=INNER_DIMENSION+THICKNESS, $fn=EDGES);
}
}
linear_extrude(height=HEIGHT) {
circle(d=INNER_DIMENSION);
}
}