From 67edc102ca410813532c4e9c22a23320bd95193b Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Thu, 4 Jul 2024 22:57:12 -0700 Subject: [PATCH] Add ys (y scale) --- torus.scad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/torus.scad b/torus.scad index e701928..dd0933b 100644 --- a/torus.scad +++ b/torus.scad @@ -1,6 +1,6 @@ -module torus(r_major, r_minor, xs=1.0) { +module torus(r_major, r_minor, xs=1.0, ys=1.0) { rotate_extrude() translate([r_major, 0, 0]) - scale([xs, 1.0, 1.0]) + scale([xs, ys, 1.0]) circle(r=r_minor); } \ No newline at end of file