From 7f1242536451d3ba5e57cc7d8e9e57193da4a0dd Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Thu, 31 Oct 2019 21:46:07 +0800 Subject: [PATCH] scale x, y --- examples/rose.scad | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/examples/rose.scad b/examples/rose.scad index 650c9864..b95b0037 100644 --- a/examples/rose.scad +++ b/examples/rose.scad @@ -1,3 +1,17 @@ +include ; +include ; + +thickness = 0.05; + +theta_from = PI * 1.75; +theta_to = PI * 15; +theta_step = 0.05; + +rf_to = 1; +rf_step = 0.025; + +color("red") rose(); + module rose() { function phi(theta) = (PI / 2) * exp(-theta / (8 * PI)); @@ -39,5 +53,4 @@ module rose() { ]; polysections(sections); -} - +} \ No newline at end of file