I had a large number of hexagonal surfaces and decided to extract their centers and normals (vectors). The first thing that came to mind was using the “Evaluate Surface” component with an MD Slider set to (0.5, 0.5). Everything was fine until I tried moving those points along the extracted normals; I then discovered that some normals were pointing inward while others were pointing outward (whereas I need them all to point outward), and I don’t know what to do.
Here is a way to deal with that but it is not perfect as there is no reference object (for mesh In Nautilus I have a tool to orient all mesh with a reference mesh)
So here I use a mean plane. Then I look if normal are flipped or not. Then I use Brep.Flip()