1
0
Fork 0
3d/ng_common/hollow_cylinder.scad
2024-04-13 12:48:55 -04:00

8 lines
No EOL
264 B
OpenSCAD

module hollowCylinder(innerRadius, outerRadius, height, $fn = 360) {
difference() {
cylinder(r=outerRadius, h = height, $fn=$fn);
translate([0, 0, -0.01]) cylinder(r=innerRadius, h = height + 0.02, $fn=$fn);
}
}
//hollowCylinder(1, 2, 10);