Transform fail after arbitrary index

I have a list of breps. The transform command works fine with boundary surfaces, created before. When I work with the breps, the transform command works fine until index 9.

The test file: 3d-print.gh (1.1 MB)

If you compare the indices of your breps and surfaces, you will see that they don’t match when you get past index 9.

Your code does not produce a surface for the brep at index 13 so I culled it.

Your input brep at index 57 is invalid, so I also culled it.

After that, sorting the surfaces by their X position gives the desired result.

3d-print_210908a.gh (1.1 MB)

-Kevin

Perfect. It works fin. Thank you very much.