Commit 8f4d1958 authored by György Kurucz's avatar György Kurucz
Browse files

Add ring to short.scad

parent b487ac6b
......@@ -38,3 +38,12 @@ module tube(l, th) {
children();
}
}
// produce a flat ring
// parameters: outer diameter, thickness
module ring(od, th) {
difference() {
circle(d = od);
circle(d = od - th*2);
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment