Procedural geometry in MoI (WIP)

 From:  Michael Gibson
2922.42 In reply to 2922.38 
Hi Petr, that's a cool one!

You might be able to get some better behavior when run as a command if you kind of batch up the points in an array and then have a tighter loop at the end that just pumps out points.

The main difference between running as a command versus an instant script, is that the command version runs in a separate thread and so does not block the main program thread while it is running. So that allows for things like the window to redraw while the script is running instead of making the window appear to be locked up until the script is finished.

In v3 I think I'll probably try to set up some alternate geometry creation methods for simple objects, stuff like geometryDatabase.addPoints(); , stuff like that so you won't have to go through factories for creating some basic types of things.

- Michael