<?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 RangeError: Maximum call stack size exceeded (Forma.geometry.getTriangles()) in Forma Site Design Developer Forum</title>
    <link>https://forums.autodesk.com/t5/forma-site-design-developer/rangeerror-maximum-call-stack-size-exceeded-forma-geometry/m-p/13417306#M11</link>
    <description>&lt;P class=""&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I have encountered an issue when importing terrain geometry into my plugin using the Forma API. Specifically, when working at the maximum allowed boundary size within Autodesk Forma, the mesh seems to be too complex, resulting in an error during import.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I tested this in the center of Hamburg. When the requested map area is 500 meters, everything works correctly.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025_04_18_34_31_040.png" style="width: 261px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1487549iD4BE2A9023C54D25/image-dimensions/261x273?v=v2" width="261" height="273" role="button" title="2025_04_18_34_31_040.png" alt="2025_04_18_34_31_040.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, when I increase the area to 1000 meters, the import fails.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Uncaught (in promise) RangeError: Maximum call stack size exceeded&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025_04_18_35_28_174.png" style="width: 319px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1487550iCBE11EFFC8342C42/image-dimensions/319x251?v=v2" width="319" height="251" role="button" title="2025_04_18_35_28_174.png" alt="2025_04_18_35_28_174.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;Could you please clarify whether this is a problem on my side, or does Autodesk Forma have an internal limit on the number of triangles or geometry complexity that can be retrieved through the API?&amp;nbsp;&amp;nbsp;Is there any way to narrow down the request part of the meshes in advance to avoid this error?&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Thank you very much in advance for your support.&lt;/P&gt;&lt;P class=""&gt;Kind regards,&lt;/P&gt;&lt;P class=""&gt;Vsevolod&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
    <pubDate>Wed, 09 Apr 2025 16:42:58 GMT</pubDate>
    <dc:creator>vc6XFSA</dc:creator>
    <dc:date>2025-04-09T16:42:58Z</dc:date>
    <item>
      <title>RangeError: Maximum call stack size exceeded (Forma.geometry.getTriangles())</title>
      <link>https://forums.autodesk.com/t5/forma-site-design-developer/rangeerror-maximum-call-stack-size-exceeded-forma-geometry/m-p/13417306#M11</link>
      <description>&lt;P class=""&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I have encountered an issue when importing terrain geometry into my plugin using the Forma API. Specifically, when working at the maximum allowed boundary size within Autodesk Forma, the mesh seems to be too complex, resulting in an error during import.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I tested this in the center of Hamburg. When the requested map area is 500 meters, everything works correctly.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025_04_18_34_31_040.png" style="width: 261px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1487549iD4BE2A9023C54D25/image-dimensions/261x273?v=v2" width="261" height="273" role="button" title="2025_04_18_34_31_040.png" alt="2025_04_18_34_31_040.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, when I increase the area to 1000 meters, the import fails.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Uncaught (in promise) RangeError: Maximum call stack size exceeded&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025_04_18_35_28_174.png" style="width: 319px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1487550iCBE11EFFC8342C42/image-dimensions/319x251?v=v2" width="319" height="251" role="button" title="2025_04_18_35_28_174.png" alt="2025_04_18_35_28_174.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;Could you please clarify whether this is a problem on my side, or does Autodesk Forma have an internal limit on the number of triangles or geometry complexity that can be retrieved through the API?&amp;nbsp;&amp;nbsp;Is there any way to narrow down the request part of the meshes in advance to avoid this error?&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Thank you very much in advance for your support.&lt;/P&gt;&lt;P class=""&gt;Kind regards,&lt;/P&gt;&lt;P class=""&gt;Vsevolod&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 16:42:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/forma-site-design-developer/rangeerror-maximum-call-stack-size-exceeded-forma-geometry/m-p/13417306#M11</guid>
      <dc:creator>vc6XFSA</dc:creator>
      <dc:date>2025-04-09T16:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: RangeError: Maximum call stack size exceeded (Forma.geometry.getTriangles())</title>
      <link>https://forums.autodesk.com/t5/forma-site-design-developer/rangeerror-maximum-call-stack-size-exceeded-forma-geometry/m-p/13665096#M624</link>
      <description>&lt;P&gt;Hello&amp;nbsp;Vsevolod,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apologize for not coming back to you on this ealier.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We've tried to reproduce this but so far been unable to. We've tested this on multiple proposal including one with 10M+ triangles.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Were you able to sort this out? If not, can you provide some details such as the stack on the error you get?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Henrik&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 08:24:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/forma-site-design-developer/rangeerror-maximum-call-stack-size-exceeded-forma-geometry/m-p/13665096#M624</guid>
      <dc:creator>henrik_steenJL382</dc:creator>
      <dc:date>2025-06-04T08:24:18Z</dc:date>
    </item>
  </channel>
</rss>

