Grasshopper, Creating an array of results from a Make2D

Hi all,

I am trying to create a GH script which takes a model, makes Make2D of individual faces, then displays the make2Ds in an array in matter to prepare the parts for laser cutting. (see the image labeled “expected result” to see what I have in mind)

the Make2D part is working great, but when I try to apply an individual translation vector to each resulting set of curves, it instead moves every single individual curve inside each individual result of the Make2D.

I assume it is a result of tree operations shenanigans, but do not know how to fix it exactly.

Please find below the relevant files

Thank you in advance for your help

Grasshopper Make2D test 02.3dm (19.9 MB)

Grasshopper Make2D test gh 02.gh (16.5 KB)

For the “expected result”, as shown in the image, you can do this.

Grasshopper Make2D test gh 02 a.gh (279.1 KB)

Correction.

Grasshopper Make2D test gh 02 b.gh (280.2 KB)

Thank you for your solution, but it doesn’t do exactly what I need: I needed the result of the make2D to be displayed in an array, not individual breps

still, your solution gave me a good insight on how to solve my problem, thank you

SOLUTION:

here’s the solution I found to my problem: create a list of indexes [0,1,2,3…] using the original non-grafted brep list, then group the make2D outputs to move them more easily

Grasshopper Make2D test gh 03.gh (18.7 KB)