garyhodgson / openscad.net

OpenSCAD.net is a partial port of OpenSCAD for the web. Powered by OpenJsCad, it uses the familiar OpenSCAD syntax to allow many OpenSCAD models to be rendered, and saved as STL, via the browser.
https://garyhodgson.github.io/openscad.net/
51 stars 8 forks source link

Generating lists with for loop does not work #13

Open ghost opened 9 years ago

ghost commented 9 years ago

The example generation does not work. (From wiki)

// generate a list with all values defined by a range list1 = [ for (i = [0 : 2 : 10]) i ]; echo(list1); // ECHO: [0, 2, 4, 6, 8, 10]

kintel commented 9 years ago

Note that openscad.net and OpenSCAD are not related (they don't share any code). The manual for OpenSCAD doesn't apply to openscad.net.

ghost commented 9 years ago

@kintel Is there a way to generate a list the same way? (Using a for loop, I mean)

kintel commented 9 years ago

I'm not familiar with openscad.net - I'm the author of OpenSCAD :)

ghost commented 9 years ago

@kintel Really, thats cool. Im actually teaching a class on it right now. Also,under the help tab, it the manual is the same as the OpenSCAD (same site)

kintel commented 9 years ago

Gary's initial idea was to make this compatible with OpenSCAD, but as he mentions here on github: "This project is no longer actively maintained".

garyhodgson commented 9 years ago

Hi @cn145912 - yeah, as @kintel says this project hasn't been on my radar for quite a while. It's quite likely that I didn't implement this functionality originally and to be honest it's unlikely I will implement it now.

ghost commented 9 years ago

@garyhodgson thanks.