Hello, is it possible to retrieve the original parent from a contour curve?
Basically I have three surfaces joined in a polysurface and each surface has custom userdata attached to it.
I’m creating the contour curve using Brep.CreateContourCurves. Exploding the resulting polyline results in three curves but I can’t find a connection to the original surface in order to get the custom userdata.
Is it even possible or it would be better to split the polysurface prior to creating contour curves?
Your best bet is to sample points on the polyline segments and then perform closest point operations on each surface to see on which surface the segment lies.
Thanks for the answer @dale. I thought there was a sort of “tracking ID” between children/parents. I’ll check if sampling points is faster than splitting the polysurface prior to the intersections.
Sorry for posting here but I didn’t feel to open another thread for the same issue.
Could you confirm me that I can’t use Brep.CreateContourCurves on Faces/Surfaces of a Brep?
Something like that:
Edit: answering myself, yes, it’s possible.