Submitted by Evgeny88 on Sun, 10/21/2018 - 03:14
Forums:
Hello,
I`m trying to find a way how to get coordinates for each triangular facet face.
I think i able to get quantity and type of faces in facetbody by this below:
For Each facet As NXOpen.Facet.FacetedBody In workPart.FacetedBodies
Dim fACETLIST As NXOpen.Facet.FacetedFace()
Try
fACETLIST=facet.GetFaces()
For i As Integer=0 To fACETLIST.Length-1
lw.WriteLine(fACETLIST(i).FaceType.ToString)
Next
lw.WriteLine(fACETLIST.Length)
Catch ex As Exception
End Try
Next
that gives me output like 30 facet and type of each one.
But how to get vertex values??
I need these outputs for creation new surfaces (it`s also question how) instead facet triangulars in order to make sew for solid body instead unselectable facetbody.
thanks in advance!
re: STL faces
For anyone interested, see the link below:
https://community.plm.automation.siemens.com/t5/NX-Programming-Customiza...