From e83835403dc180bf2ccfd0c19956403e47d11dc5 Mon Sep 17 00:00:00 2001 From: Revar Desmera Date: Mon, 2 Mar 2020 21:56:56 -0800 Subject: [PATCH] Removed incorrect refs to anchor, spin, orient in grid2d() --- distributors.scad | 6 +++--- version.scad | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/distributors.scad b/distributors.scad index f1b038a..22f64b5 100644 --- a/distributors.scad +++ b/distributors.scad @@ -433,7 +433,7 @@ module zdistribute(spacing=10, sizes=undef, l=undef) // %polygon(poly); // // Example: Using `$row` and `$col` -// grid2d(spacing=[8,8], cols=8, rows=8, anchor=LEFT+FRONT) +// grid2d(spacing=[8,8], cols=8, rows=8) // color(($row+$col)%2?"black":"red") // cube([8,8,0.01], center=false); // @@ -459,10 +459,10 @@ module grid2d(size=undef, spacing=undef, cols=undef, rows=undef, stagger=false, spc = vmul(scalar_vec3(spacing), scl); maxcols = ceil(siz.x/spc.x); maxrows = ceil(siz.y/spc.y); - grid2d(spacing=spacing, cols=maxcols, rows=maxrows, stagger=stagger, scale=scale, in_poly=in_poly, anchor=anchor, spin=spin, orient=orient) children(); + grid2d(spacing=spacing, cols=maxcols, rows=maxrows, stagger=stagger, scale=scale, in_poly=in_poly) children(); } else { spc = [siz.x/cols, siz.y/rows]; - grid2d(spacing=spc, cols=cols, rows=rows, stagger=stagger, scale=scale, in_poly=in_poly, anchor=anchor, spin=spin, orient=orient) children(); + grid2d(spacing=spc, cols=cols, rows=rows, stagger=stagger, scale=scale, in_poly=in_poly) children(); } } else { spc = is_list(spacing)? point3d(spacing) : vmul(scalar_vec3(spacing), scl); diff --git a/version.scad b/version.scad index ac9746c..339ef8d 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,150]; +BOSL_VERSION = [2,0,151]; // Section: BOSL Library Version Functions