Find proper normals of a brep

Hi,
I’m trying to align some planes along a brep. I used brep closest point to try to get the normals, but obviously, does not give good results. Seems to “choose” which curve to align to.

Hull Design.gh (253.3 KB)
hull design.3dm (5.3 MB)

Hello,

You are trying to get the normal at a point that is precisely on a discontinuity of the surface. There are several solutions, indeed Grasshopper retrieves one of them “randomly”.

The code below would give you all normal vectors for each point. You could them use the Average to obtain the bisector. But eventually it depends on what is your goal.

Hull Design.gh (260.4 KB)

Hi,
Perfect, thank you. I was not far… : ))
Yes what I want is to be perpendicular to bisectors where I will align some discs