Files
spoolmount/v1/scad/lib/util/torus.scad

8 lines
198 B
OpenSCAD
Raw Normal View History

2024-07-04 22:57:12 -07:00
module torus(r_major, r_minor, xs=1.0, ys=1.0) {
2024-07-03 22:04:09 -07:00
rotate_extrude()
translate([r_major, 0, 0])
2024-07-04 22:57:12 -07:00
scale([xs, ys, 1.0])
2024-07-03 22:04:09 -07:00
circle(r=r_minor);
2024-07-12 09:08:58 -07:00
}
torus(r_major=10, r_minor=2, xs=0.5, $fn=200);