Hi,
I’m trying to find the normal vector at a given coordinate of a brep entity. For that, I’m using Brep CP (Closest Pont). The following lists feed this component:
List of surfaces (breps):
List of coordinates:
However, when I input them into Brep CP, the output is not correct and it is because of tree structure, even though I force the list of surfaces to match that of the list of coordinates.
For quality control, I perform this calculation individually by branching the {A,B,C} tree indexes that go into Brep CP and it works perfectly, which proves the problem is not with an incorrect definition of the list of surfaces or the list of coordinates. For clarification {A;B;C} reflect A=brep ID, B=cross section, C=point list.
Brep Closest Point - Tree Structure Problem.3dm (137.3 KB)
Brep Closest Point - Tree Structure Problem.gh (30.5 KB)