Using vectors in the loop was the new thing. I had been searching for list and it was the wrong word.

Not so much complicated as brute force dumb, I think. I really like to use parameters when writing 3D models, as I almost always find that I need to adjust something and something else goes awry from the change, unless it's parametric. Even now, I cannot be sure that the x and y figures are not swapped, but I've not heard back from the OP.

Our makerspace has a programmer who excels in Python and loves OpenSCAD. He writes code, without comments(!) that is completely obscure to me, even though he may try to explain it.

I'm not a programmer and even though I had a class in Fortran many moons ago, it's a struggle to get fancy stuff working and I'll usually just fall back to brute force.

I get the feeling that I could somehow make use of the children() feature, but lose comprehension for that bit of code almost immediately.

It's all fun.