From e855403d7ae7c6a85c39ef6cfcd8086c42c3fc1a Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Thu, 15 Jul 2021 11:31:53 +0800 Subject: [PATCH] add shape --- examples/twice_ring_extrude.scad | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/examples/twice_ring_extrude.scad b/examples/twice_ring_extrude.scad index ab2208f7..dd78db04 100644 --- a/examples/twice_ring_extrude.scad +++ b/examples/twice_ring_extrude.scad @@ -1,13 +1,21 @@ use ; use ; +use ; $fn = 96; -r = 20; -shape_turns = 3; -shape = arc_path(radius = 15, angle = [0, 120]); +twice_ring_extrude( + arc_path(radius = 15, angle = [0, 120]), + r = 20, + shape_turns = 3 +); -twice_ring_extrude(shape, r, shape_turns) ; +translate([100, 0]) +twice_ring_extrude( + shape_liquid_splitting(radius = 10, centre_dist = 30), + r = 30, + shape_turns = 4 +); module twice_ring_extrude(shape, r, shape_turns) { t = 360 * shape_turns;