Search found 1 match

by Kathy McKenna
Wed Sep 04, 2024 4:49 am
Forum: DG Kernel discussions
Topic: Face normals from an .stl
Replies: 1
Views: 9588

Re: Face normals from an .stl

This should work: myDgk.ModelPath = theStlPath; IModle_DG model = myDgk.GetModel(); if (model.GetEntityCount() < 1) return; IEntity_DG entity = model.GetEntityAt(0); IMesh_DG mesh = entity.As<IMesh_DG>(); IList_DG simplexList = mesh.GetSimplexList(); uint posCurrentSimplex = simplexList.GetHeadPosit...