<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic API - Mesh triangulation in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/API-Mesh-triangulation/m-p/218467#M3681</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;Greetings,&lt;BR /&gt;&lt;BR /&gt;I'm working on a importer plugin for Archicad. The plugin needs to create a mesh based on a provided description. I've managed to create meshes with interior vertices using API_MeshLevelCoord. It would seem that Archicad generates the triangles in the mesh automatically if no triangles are specified. This is convenient. However, in my case it is crucial to be able to specify the exact triangles used in the mesh.&lt;BR /&gt;&lt;BR /&gt;My question is, how can I specify the edges/triangles used in a mesh interior using API_Element + API_ElementMemo?&lt;/DIV&gt;</description>
    <pubDate>Wed, 05 Oct 2022 11:27:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-10-05T11:27:26Z</dc:date>
    <item>
      <title>API - Mesh triangulation</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/API-Mesh-triangulation/m-p/218467#M3681</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Greetings,&lt;BR /&gt;&lt;BR /&gt;I'm working on a importer plugin for Archicad. The plugin needs to create a mesh based on a provided description. I've managed to create meshes with interior vertices using API_MeshLevelCoord. It would seem that Archicad generates the triangles in the mesh automatically if no triangles are specified. This is convenient. However, in my case it is crucial to be able to specify the exact triangles used in the mesh.&lt;BR /&gt;&lt;BR /&gt;My question is, how can I specify the edges/triangles used in a mesh interior using API_Element + API_ElementMemo?&lt;/DIV&gt;</description>
      <pubDate>Wed, 05 Oct 2022 11:27:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/API-Mesh-triangulation/m-p/218467#M3681</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-05T11:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: API - Mesh triangulation</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/API-Mesh-triangulation/m-p/218468#M3682</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
You cannot specify the triangulation for the mesh, because ARCHICAD will re-triangulate the mesh if the user edits it. BTW, AC uses a slightly modified version of the Delauney triangulation.&lt;BR /&gt;
However, you can set you own triangulation for morphs; see the morphBody member in the element memo.&lt;BR /&gt;
&lt;BR /&gt;
Best, Akos</description>
      <pubDate>Thu, 02 May 2019 07:27:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/API-Mesh-triangulation/m-p/218468#M3682</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2019-05-02T07:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: API - Mesh triangulation</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/API-Mesh-triangulation/m-p/218469#M3683</link>
      <description>&lt;BLOCKQUOTE&gt;Akos wrote:&lt;BR /&gt;Hello,&lt;BR /&gt;
However, you can set you own triangulation for morphs; see the morphBody member in the element memo.&lt;BR /&gt;
Best, Akos&lt;/BLOCKQUOTE&gt;

Good to know thanks Akos. Is there any chance for halfedge mesh  in archicad?&lt;BR /&gt;
&lt;BR /&gt;
I was about to sugest using morphs for each triangle separate and then unify all. But this seem like quite faster way.&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;jimmyenvall wrote:&lt;BR /&gt;create a mesh based&lt;/BLOCKQUOTE&gt;
Morphs is bit different tool in terms of user edit capabilities but is's also mesh based.&lt;BR /&gt;
&lt;BR /&gt;
You can  explor gdls as well to create mesh object. It all depends if you want to edit mesh in AC or not.</description>
      <pubDate>Thu, 02 May 2019 09:31:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/API-Mesh-triangulation/m-p/218469#M3683</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-02T09:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: API - Mesh triangulation</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/API-Mesh-triangulation/m-p/218470#M3684</link>
      <description>Thanks for the suggestions, I'll have a look into morphs.</description>
      <pubDate>Thu, 02 May 2019 15:30:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/API-Mesh-triangulation/m-p/218470#M3684</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-02T15:30:38Z</dc:date>
    </item>
  </channel>
</rss>

