Add offset rings
This commit is contained in:
parent
ed8a398007
commit
1d5639b04c
23
offset-rings.scad
Normal file
23
offset-rings.scad
Normal file
@ -0,0 +1,23 @@
|
||||
/**
|
||||
* Offset rings for tracing rough (eg jigsaw) cuts around templates
|
||||
* to save some work for the mill
|
||||
*/
|
||||
|
||||
H = 1; // Disc thickness
|
||||
Z = 0.2; // Hole thickness
|
||||
D = 1; // Hole diameter
|
||||
R = D / 2;
|
||||
|
||||
module ring(i) {
|
||||
difference() {
|
||||
cylinder(h=H, r=25.4 * i, $fn=100);
|
||||
cylinder(h=Z, r=R, $fn=50);
|
||||
translate([0,0,Z]) cylinder(h=H-Z, r1=R, r2=R+2*(H-Z), $fn=50);
|
||||
}
|
||||
}
|
||||
|
||||
ring(1); // 25.4mm
|
||||
translate([50,0]) ring(3/4); // 19.05mm
|
||||
translate([100,0]) ring(1/2); // 12.7
|
||||
translate([150,0]) ring(3/8); // 9.52
|
||||
translate([200,0]) ring(1/4); // 6.35
|
Loading…
Reference in New Issue
Block a user