Hi Todd, thanks for your input..
Wouldn't it make more sense to start from the outside and work in.
When using sheetcam for example you will mention that the cut order is not from inner products to outher related products. I mean
nested product logic is not available. The only logic wich is usefull in sheetcam is "keep parts together" and "cut direction" for tube cutters. The problem is, when outher related products are cut off (and have inner nested products inside), the inner related product's will lose position very easy when they have no microjoints (taps) or trough thermal distortion heat input.
if you are cutting a piece with a window the inner cut is female, if you are cutting a piece out of the scrap in the window, the inner cut would be male.
Yes, exactly. In the picture :
1. Red color is cw (clockwise) wich is => outside cut.
2. Yellow color is ccw (counter clockwise) wich is => inside cut.
3. Grey is triangulation to view the product output easy..
4. This example does not contain any inside nested products, wich will be better cutted first. Todd if you think not, please let me know.
5. In the yellow holes can be put a second object for cutting. Sheetcam does not have the logic to start there with cutting.
Attached a code snipped for setting up and use 2d vector / list array's in c++.
There is quite less info how to excess a 2d vector array or list 2d array on the net, especially how to find info in the
second array row with the use of a pointer. Vector array's are nice to use. The Qt library has nice features as "contains" to find
a value very quickly. If you don't use Qt, you can use the std library with "find". Just for info a code snipped :