2020-07-10 07:37 AM - last edited on 2021-09-15 11:58 AM by Noemi Balogh
2020-07-21 10:04 AM
Yi wrote:Yes, you can use a 3rd-party library. Alternatively, first use
Thanks for your info. I have the same question here, wanting to get triangles from polygons with Archicad API. Just curious is there any ways to do the conversion easily? For example, anyone tried using Libtess2 for it?
2020-07-21 03:48 PM
Ralph wrote:Thank you!
Yi wrote:Yes, you can use a 3rd-party library. Alternatively, first use
Thanks for your info. I have the same question here, wanting to get triangles from polygons with Archicad API. Just curious is there any ways to do the conversion easily? For example, anyone tried using Libtess2 for it?ACAPI_3D_DecomposePgonto break faces into simpler convex polygons. It's very simple to produce a list of triangles from these faces.
2020-07-21 03:55 PM
2020-07-27 05:30 PM
Ralph wrote:Thanks for reply.
I should add that if you're using ModelerAPI (generally recommended) then call ModelerAPI::Polygon::GetConvexPolygon