Hi all,
Can someone explain to me, why the curves and the resulting untrimmed surfaces from the curves, are not in the same order?
GH01_170522.gh (5.8 KB)
Thanks in advance!
Best regards,
Christian Degn
Hi all,
Can someone explain to me, why the curves and the resulting untrimmed surfaces from the curves, are not in the same order?
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)
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?
@dharman That’s a good explanation - thank you!
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.