Export normals from SolidWorks
It is possible to access to the tesselate method in the SolidWorks API. Indeed each Part has a list of Bodies:
- IPartDoc inherits IModelDoc
- IPartDoc.GetBodies2 provides a list of Body2 objects that have the tesselate method.
The macro written in Visual Basic tesselates bodies and comes from: https://sites.google.com/site/karpena/solidworks
As STL files do not contain vertex normals, a new file format must be provided.