Created
February 16, 2015 21:25
-
-
Save Stemer114/7e420ea8ad9733c4e0ba to your computer and use it in GitHub Desktop.
openscad ring (with cutout)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ring with cutout | |
// default values are for 1mm height, 10mm outside diameter and 5mm cutout | |
// de is epsilon environment to make cutouts non-manifold | |
module ring( | |
h=1, | |
od = 10, | |
id = 5, | |
de = 0.1 | |
) | |
{ | |
difference() { | |
cylinder(h=h, r=od/2); | |
translate([0, 0, -de]) | |
cylinder(h=h+2*de, r=id/2); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment