Hi,
I am trying to use points in curves in order to isolate points that “belong” to the different polygons.
The thing is the component treats all the curves equally and points from one boundary appear on the other elements… see the file and image…
Does anyone know how to solve that issue? There is that index output that I couldn’t figure out how to use, but the solution might be around that points in curves.gh (7.6 KB)
?
I tried also to work with Point in Breps, but the same thing - there is a list of correspondent breps to each point, but I don’t get how to use it and make each point to appear only in the curve in which it was created… (And maintain the data structure from the divide length component…
You need to graft your curves AND use PShift (Shift Paths) on your Divide Length points to match data trees. I see no reason for cull? Cull Duplicates is also unnecessary. And I see no reason to use Bounding Box?
Hi Joseph,
Thanks for the reply,
I want to be able to cut out each Nth element in the future, and the BBox makes it so the points that cull will be in the same line (if I just use the contour on each element the counting will make funny patterns when culling Nth.
I am pretty sure the answer is within the data tree, (3rd index level), I am just not sure how to use that info to separate it… And assume that now there are only 3 elements, but it can be also 10 in the future, so Sift list is not an option…
Point In Breps is not working correctly because the extrusions got out of order… The culprit is Boundary Surfaces. If you replace it with a Srf param it works as expected. Otherwise, more elaborate means are required to make sure Boundary Surfaces doesn’t mess up the sequence. Oh wait, you can graft the input of Boundary Surfaces to get the same effect.