Face centroid
Face centroid
(OP)
Hello.
I'm using NX7.5.3. I have body, that has mirrorplane. This means that I have two sets of corresponding faces (on the one side and "mirrored" side). Let's assume that the body is defeatured and those face are not planar (just 2 sets of body faces).
I need to match each face wfrom one set to it's corresponding mirroded copy. I thing the easiest way will be reading face centroid, mirroring the point and looking for face with centroid nearby (searching in second face set). I found that if user manually select a face and use Info -> Object it draws normal vector at centroid (It seems to me to be a face centroid. At least it seems to be characteristic enough for me.)
Question:
Is there a way to get this information using VB Journal script? Or any other methon to get face characteristic point or centroid?
Pawel S.
I'm using NX7.5.3. I have body, that has mirrorplane. This means that I have two sets of corresponding faces (on the one side and "mirrored" side). Let's assume that the body is defeatured and those face are not planar (just 2 sets of body faces).
I need to match each face wfrom one set to it's corresponding mirroded copy. I thing the easiest way will be reading face centroid, mirroring the point and looking for face with centroid nearby (searching in second face set). I found that if user manually select a face and use Info -> Object it draws normal vector at centroid (It seems to me to be a face centroid. At least it seems to be characteristic enough for me.)
Question:
Is there a way to get this information using VB Journal script? Or any other methon to get face characteristic point or centroid?
Pawel S.





RE: Face centroid
www.nxjournaling.com
RE: Face centroid
RE: Face centroid
What do you want to do with the one body and mirror plane?
www.nxjournaling.com
RE: Face centroid
Anyway i managed to solve this by searching for mirrored copy of face center. I calculated the center using this code:
CODE
RE: Face centroid
problem solved?
www.nxjournaling.com
RE: Face centroid