Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating lists with for loop does not work #13

Open
ghost opened this issue Apr 21, 2015 · 7 comments
Open

Generating lists with for loop does not work #13

ghost opened this issue Apr 21, 2015 · 7 comments

Comments

@ghost
Copy link

ghost commented Apr 21, 2015

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
Copy link

kintel commented Apr 21, 2015

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
Copy link
Author

ghost commented Apr 22, 2015

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

@kintel
Copy link

kintel commented Apr 22, 2015

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

@ghost
Copy link
Author

ghost commented Apr 22, 2015

@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
Copy link

kintel commented Apr 22, 2015

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
Copy link
Owner

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
Copy link
Author

ghost commented Apr 22, 2015

@garyhodgson thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants