From 42e064c2ac8ccaebfd3a0f0568a2c415a898c2ba Mon Sep 17 00:00:00 2001 From: Revar Desmera <revarbat@gmail.com> Date: Sun, 17 May 2020 21:33:06 -0700 Subject: [PATCH] Quantization tweak to cylindrical_extrude(). --- mutators.scad | 2 +- version.scad | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mutators.scad b/mutators.scad index d3d38c4..a8619cc 100644 --- a/mutators.scad +++ b/mutators.scad @@ -362,7 +362,7 @@ module cylindrical_extrude(or, ir, od, id, size=1000, convexity=10, spin=0, orie yflip() intersection() { left(x) children(); - rect([step,size.y],center=true); + rect([quantup(step,pow(2,-15)),size.y],center=true); } } } diff --git a/version.scad b/version.scad index b07d657..a5d3b51 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,303]; +BOSL_VERSION = [2,0,304]; // Section: BOSL Library Version Functions