discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

BOSL2 grid_copy with stagger

ME
Mark Erbaugh
Mon, Sep 21, 2026 8:55 PM

I’m working through the distributors tutorial for BOSL2.

grid_copies(20, n=[12,6], stagger=false) sphere(d=10);

produces

While

grid_copies(20, n=[12,6], stagger=true) sphere(d=10);

produces

It seems like half the objects are missing, or am I missing something?

Mark

I’m working through the distributors tutorial for BOSL2. grid_copies(20, n=[12,6], stagger=false) sphere(d=10); produces While grid_copies(20, n=[12,6], stagger=true) sphere(d=10); produces It seems like half the objects are missing, or am I missing something? Mark
AM
Adrian Mariano
Mon, Sep 21, 2026 10:47 PM

I didn't write grid_copies, but evidently it produces the staggered pattern
by omitting half of the objects.  (I'll bet that's exactly how the internal
logic works.)  The docs could be more clear.

On Mon, Sep 21, 2026 at 4:56 PM Mark Erbaugh via Discuss <
discuss@lists.openscad.org> wrote:

I’m working through the distributors tutorial for BOSL2.

grid_copies(20, n=[12,6], stagger=false) sphere(d=10);

produces

While

grid_copies(20, n=[12,6], stagger=true) sphere(d=10);

produces

It seems like half the objects are missing, or am I missing something?

Mark_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

I didn't write grid_copies, but evidently it produces the staggered pattern by omitting half of the objects. (I'll bet that's exactly how the internal logic works.) The docs could be more clear. On Mon, Sep 21, 2026 at 4:56 PM Mark Erbaugh via Discuss < discuss@lists.openscad.org> wrote: > I’m working through the distributors tutorial for BOSL2. > > grid_copies(20, n=[12,6], stagger=false) sphere(d=10); > > produces > > > > While > > grid_copies(20, n=[12,6], stagger=true) sphere(d=10); > > > produces > > > > It seems like half the objects are missing, or am I missing something? > > Mark_______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
RD
Revar Desmera
Tue, Sep 22, 2026 12:18 AM

If you look, there are 12 unique columns and 6 rows in both un-staggered and staggered forms.  When you stagger each row halfway it ends up doubling the number of effective columns.  I seem to recall that there was some argument a number of years ago about whether the columns should be counted that way or not, and I got talked around to counting it this way.  So, it's behaving as intended.  At this point it'd break things if we changed it.

  • Revar

On Sep 21, 2026, at 1:55 PM, Mark Erbaugh via Discuss discuss@lists.openscad.org wrote:

I’m working through the distributors tutorial for BOSL2.

grid_copies(20, n=[12,6], stagger=false) sphere(d=10);

produces

<no_stagger.png>

While

grid_copies(20, n=[12,6], stagger=true) sphere(d=10);

produces

<stagger.png>

It seems like half the objects are missing, or am I missing something?

Mark_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

If you look, there are 12 unique columns and 6 rows in both un-staggered and staggered forms. When you stagger each row halfway it ends up doubling the number of effective columns. I seem to recall that there was some argument a number of years ago about whether the columns should be counted that way or not, and I got talked around to counting it this way. So, it's behaving as intended. At this point it'd break things if we changed it. - Revar > On Sep 21, 2026, at 1:55 PM, Mark Erbaugh via Discuss <discuss@lists.openscad.org> wrote: > > I’m working through the distributors tutorial for BOSL2. > > grid_copies(20, n=[12,6], stagger=false) sphere(d=10); > > produces > > <no_stagger.png> > > While > > grid_copies(20, n=[12,6], stagger=true) sphere(d=10); > > > produces > > <stagger.png> > > It seems like half the objects are missing, or am I missing something? > > Mark_______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
K
Ken
Tue, Sep 22, 2026 12:51 AM

And thank you gentlemen for indirectly showing me an easy way to make perforated panels for any of my projects that need ventilation!
Much better than the way I have been doing it.

On 22/9/26 10:18, Revar Desmera via Discuss wrote:

If you look, there are 12 unique columns and 6 rows in both un-staggered and staggered forms.  When you stagger each row halfway it ends up doubling the number of effective columns.  I seem to recall that there was some argument a number of years ago about whether the columns should be counted that way or not, and I got talked around to counting it this way.  So, it's behaving as intended.  At this point it'd break things if we changed it.

  • Revar

On Sep 21, 2026, at 1:55 PM, Mark Erbaugh via Discussdiscuss@lists.openscad.org wrote:

I’m working through the distributors tutorial for BOSL2.

grid_copies(20, n=[12,6], stagger=false) sphere(d=10);

produces

<no_stagger.png>

While

grid_copies(20, n=[12,6], stagger=true) sphere(d=10);

produces

<stagger.png>

It seems like half the objects are missing, or am I missing something?

Mark_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org

--
Cheers, Ken
bats059@gmail.com
https://vk7krj.com
https://vk7krj.com/running.html

A baby can be defined as an ego with a noise at one end and a smell at the other.
Your job as parents is to teach them to control all three.
My job as a grandad is to tell you how you are doing it all wrong!

And thank you gentlemen for indirectly showing me an easy way to make perforated panels for any of my projects that need ventilation! Much better than the way I have been doing it. On 22/9/26 10:18, Revar Desmera via Discuss wrote: > If you look, there are 12 unique columns and 6 rows in both un-staggered and staggered forms. When you stagger each row halfway it ends up doubling the number of effective columns. I seem to recall that there was some argument a number of years ago about whether the columns should be counted that way or not, and I got talked around to counting it this way. So, it's behaving as intended. At this point it'd break things if we changed it. > > - Revar > > > >> On Sep 21, 2026, at 1:55 PM, Mark Erbaugh via Discuss<discuss@lists.openscad.org> wrote: >> >> I’m working through the distributors tutorial for BOSL2. >> >> grid_copies(20, n=[12,6], stagger=false) sphere(d=10); >> >> produces >> >> <no_stagger.png> >> >> While >> >> grid_copies(20, n=[12,6], stagger=true) sphere(d=10); >> >> >> produces >> >> <stagger.png> >> >> It seems like half the objects are missing, or am I missing something? >> >> Mark_______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email todiscuss-leave@lists.openscad.org > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email todiscuss-leave@lists.openscad.org -- Cheers, Ken bats059@gmail.com https://vk7krj.com https://vk7krj.com/running.html ---------------------------------------- A baby can be defined as an ego with a noise at one end and a smell at the other. Your job as parents is to teach them to control all three. My job as a grandad is to tell you how you are doing it all wrong!