[OpenSCAD] 2D array

nop head nop.head at gmail.com
Tue Jun 5 21:14:43 CEST 2012


a[i][j] as the array is actually a list of lists.

On 5 June 2012 20:02, Alan Cox <alan at lxorguk.ukuu.org.uk> wrote:

> 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
>
> _______________________________________________
> OpenSCAD mailing list
> OpenSCAD at rocklinux.org
> http://rocklinux.net/mailman/listinfo/openscad
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rocklinux.net/pipermail/openscad/attachments/20120605/88bad267/attachment.html


More information about the OpenSCAD mailing list