SU API - how to exchange polygons into triangles by Triangulation


#1

Hello,I am doing the export work in SU, and I find it has a function exporting model in SU to a file which’s format is OBJ , and I wonder if you know how to exchange polygons into triangles by Triangulation ,does it have any api in SU?


How C API works - What does the "Ref" mean in SUFaceRef?
#2

You would need to use the Geom::PolygonMesh class:


#3

And a nonprogrammer could export to STL (or OBJ or 3DS from SU Pro) and import the result back.

Anssi


#4

There are many examples that use the polygonmesh etc…
e,g, http://sketchucation.com/pluginstore?pln=triangulateFaces
It very old [7yrs], and it needs a module adding etc but the principal works…