[OpenSCAD] 2D array

Alan Cox alan at lxorguk.ukuu.org.uk
Tue Jun 5 21:02:55 CEST 2012


On Tue, 5 Jun 2012 20:48:38 +0200
Maurin Donneaud <maurin.box at gmail.com> wrote:

> Bonjour !
> 
> How can I parse a 2D array ?
> Something like that !?


a[i * 4 + j]


I'm increasingly finding the trick is to write programs in real languages
that output OpenSCAD files though. There are fundamental things missing
like class heirarchies, function pointers, structures and various kinds
of iteration.

Quite possibly those not being in OpenSCAD but generating OpenSCAD is the
right thing anyway.

Alan



More information about the OpenSCAD mailing list