Curve and untrimmed surfaces are not in same order

Hi all,

Can someone explain to me, why the curves and the resulting untrimmed surfaces from the curves, are not in the same order? :slight_smile:


GH01_170522.gh (5.8 KB)

Thanks in advance!

Best regards,
Christian Degn

I cant tell you why, but it is quite common.

Some options include, Grafting/Flattening.

Or using Python:

import rhinoscriptsyntax as rs
a = [rs.AddPlanarSrf(i)[0] for i in x]

GH01_170522_v2.gh (14.4 KB)

1 Like

Not sure but graft fixes it…

1 Like

Boundary surfaces takes a list as it’s input (not an item as you have assumed) it requires this in order to be able to create surfaces with holes. I guess this is why the ordering is off. Apart from grafting another option could be to extract your edges downstream so they match?

1 Like

@dharman That’s a good explanation - thank you! :slight_smile:

This is a part of a larger script, so the data structure must match the input structure from the curve component.
Grafting and then managing the data structure with Path Mapper will probably be the best solution in this case.

Thank you all for your help. :slight_smile: