serzhj
(Serzhj)
October 2, 2019, 6:40am
1
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?
Thanks.
(GH test file attached below)
unable to get brep centroid and normal.gh (13.7 KB)
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)
serzhj
(Serzhj)
October 3, 2019, 6:19am
4
Thank you very much, Kim.
I learned the following from the solution you suggested:
Projecting surface center back to the surface to get its uv coordinates
using graft to organize data so that each branch at the bottom level has only one leaf item
better re-parameterising a surface when using surface evaluation component