I did some research about nesting and found that it requires to implement some algorithms that look pretty difficult, specially for actionscript.
1) Finding the centroid of each nested part
2) Find a No Fit polygon
3) Recursive genetic algorithm for the sorting sequence.
For the time I have now I dont think i can make it. Maybe i would try to write something in C# and invoke it from flash using fscommand.
In the meantime, I added a wizard list feature to the screenset so instead of running only one wizard generated code at a time, they can be added to a list an run all toghether.
They can also be deleted from the list, and when clicked they get you to the line of code where that particular wizard starts
The following image shows one surfacing operation followed by three circular pockets
