diff --git a/skin.scad b/skin.scad index 262d58b..0133987 100644 --- a/skin.scad +++ b/skin.scad @@ -262,9 +262,11 @@ function skin(profiles, closed=false, caps=true, method="uniform") = dist2 = norm(mid2-midpt) ) (dist1pctdist2? 1 : 0) : + pct1 = i/plen1, + pct2 = j/plen2, + dist1 = norm(p1a-p2b), + dist2 = norm(p1b-p2a) + ) (approx(pct1,pct2)? (dist1>dist2? 1 : 0) : (pct1<=pct2? 1 : 0)) : assert(in_list(match,["distance","angle","convex","uniform"]),str("Got `",method,"'")), p1 = voff + (i%plen1), p2 = voff + (j%plen2) + plen1, diff --git a/version.scad b/version.scad index 937a608..8de1cb2 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,115]; +BOSL_VERSION = [2,0,116]; // Section: BOSL Library Version Functions