Unable to get breq centroid and normal correctly

I want to get the centroid and normal of several breqs:

However, I got 24 centroids using area component, but 27 normals using face normal component, and there are multiple normals at some centroids… I don’t quite understand where the extra normal come from…



I tried the surface evaluation component. However, it produce the wrong centroids even if I set the uv values as 0.5:

May I ask if I have missed anything important here?

And, what’s most efficient way to get centroid and normal for a breq in arbitrary shape?

(GH test file attached below)

unable to get brep centroid and normal.gh (13.7 KB)

Hope it helps.

unable to get brep centroid and normal_re.gh (17.4 KB)

1 Like

for some reason 3 of the 24 surface-rendermeshes consist of 2 faces.
The Face Normals component is ment to analyse mesh faces and reports them.

unable to get brep centroid and normal_answer.gh (16.2 KB)

Thank you very much, Kim.

I learned the following from the solution you suggested:

  1. Projecting surface center back to the surface to get its uv coordinates
  2. using graft to organize data so that each branch at the bottom level has only one leaf item
  3. better re-parameterising a surface when using surface evaluation component