1
0
Fork 0
3d/ng_common/hollow_cylinder.scad

8 lines
264 B
OpenSCAD
Raw Normal View History

2024-04-13 17:48:55 +01:00
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);