From 75054fb2152b1de47410e4224996f094a83b490d Mon Sep 17 00:00:00 2001 From: Adrian Mariano Date: Fri, 27 Mar 2020 19:26:53 -0400 Subject: [PATCH] Added showdots and showpatch option to trace_bezier_patch --- beziers.scad | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/beziers.scad b/beziers.scad index da98978..af7fdfd 100644 --- a/beziers.scad +++ b/beziers.scad @@ -1002,7 +1002,7 @@ module bezier_polyhedron(patches=[], splinesteps=16, vnf=EMPTY_VNF) // [[15,85,0], [33,100, 0], [ 67,100, 0], [ 85, 85,0]], // ]; // trace_bezier_patches(patches=[patch1, patch2], splinesteps=8, showcps=true); -module trace_bezier_patches(patches=[], size=1, showcps=false, splinesteps=16) +module trace_bezier_patches(patches=[], size=1, showcps=false, splinesteps=16, showpatch=true, showdots=true) { if (showcps) { for (patch = patches) { @@ -1020,11 +1020,14 @@ module trace_bezier_patches(patches=[], size=1, showcps=false, splinesteps=16) if (j