I have all the information of mesh exported from 3DS Max, including the normal of faces. Especially, the normal changed by smooth group of 3DS Max is special, and I want to export it into Sketchup through C API completely.
Thanks eneroth3. I understand the SUFaceReverse function could reverse a face, and there is no function in C API could set the normal of face directly.
Normals are never manipulated in SketchUp directly, other than reversing the direction of faces. And face normals are always perpendicular to the Face’s plane.
Thanks, tt. And yep, it’s better if the developers could know how to reproduce the normals manually. At least, it’s flexible for us to create the mesh more accurately.
Thanks, eneroth3.
I know corresponding API about how to soften and soft an edge. However, is there any function contains the input with the angle between normals as a threshold just like what the Sketchup application has?
Not that I know of. Generally speaking the SketchUp APIs implement lower level access as it is more versatile than mimicking what’s available in the GUI. It means though a little extra code is sometimes needed.