<?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 Exported stl file unit changed after Fusion360 update in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/exported-stl-file-unit-changed-after-fusion360-update/m-p/12697038#M1632</link>
    <description>&lt;P&gt;I used to export my design into mesh file in .stl format for simulation using ExportManager api. The mesh unit in simulation is meter(m), so I always set length unit into m before exporting. The script works well for a while. Here is my code part:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NuofanQiu_0-1712677024864.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1347614i7BFDFC9374C5B977/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NuofanQiu_0-1712677024864.png" alt="NuofanQiu_0-1712677024864.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But things went wrong after my Fusion 360 update. My Fusion 360 version is:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NuofanQiu_1-1712677060586.jpeg" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1347615iA19C2261FBAD9B4B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NuofanQiu_1-1712677060586.jpeg" alt="NuofanQiu_1-1712677060586.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The mesh file became &lt;STRONG&gt;very big&lt;/STRONG&gt; in simulation software. So I guess it is a problem about different unit for mesh.&lt;/P&gt;&lt;P&gt;I tried to set several different length unit in Fusion 360 design file but the exported .stl file still very big. It seems change the length unit in design file does not change the mesh unit exported by ExportManager api.&lt;/P&gt;&lt;P&gt;After spending a lot of time of testing, I found that scale the mesh file with 0.001 fixed the problem. (This is really inconvenient for me) That means the export mesh file using ExportManager api is in millimeter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the &lt;STRONG&gt;default unit for STLExport is millimeter&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Can I change the unit&lt;/STRONG&gt; using createSTLExportOptions?(I did not find any related options to change the unit).&lt;/P&gt;&lt;P&gt;Or can I change the length unit in design to change the exported mesh file unit as I used to do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is &lt;STRONG&gt;strange&lt;/STRONG&gt; that the &lt;STRONG&gt;api's behavior changed&lt;/STRONG&gt; but I did not found any description for it&lt;STRONG&gt;. Is that a bug?&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Apr 2024 15:42:34 GMT</pubDate>
    <dc:creator>NuofanQiu</dc:creator>
    <dc:date>2024-04-09T15:42:34Z</dc:date>
    <item>
      <title>Exported stl file unit changed after Fusion360 update</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/exported-stl-file-unit-changed-after-fusion360-update/m-p/12697038#M1632</link>
      <description>&lt;P&gt;I used to export my design into mesh file in .stl format for simulation using ExportManager api. The mesh unit in simulation is meter(m), so I always set length unit into m before exporting. The script works well for a while. Here is my code part:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NuofanQiu_0-1712677024864.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1347614i7BFDFC9374C5B977/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NuofanQiu_0-1712677024864.png" alt="NuofanQiu_0-1712677024864.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But things went wrong after my Fusion 360 update. My Fusion 360 version is:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NuofanQiu_1-1712677060586.jpeg" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1347615iA19C2261FBAD9B4B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NuofanQiu_1-1712677060586.jpeg" alt="NuofanQiu_1-1712677060586.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The mesh file became &lt;STRONG&gt;very big&lt;/STRONG&gt; in simulation software. So I guess it is a problem about different unit for mesh.&lt;/P&gt;&lt;P&gt;I tried to set several different length unit in Fusion 360 design file but the exported .stl file still very big. It seems change the length unit in design file does not change the mesh unit exported by ExportManager api.&lt;/P&gt;&lt;P&gt;After spending a lot of time of testing, I found that scale the mesh file with 0.001 fixed the problem. (This is really inconvenient for me) That means the export mesh file using ExportManager api is in millimeter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the &lt;STRONG&gt;default unit for STLExport is millimeter&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Can I change the unit&lt;/STRONG&gt; using createSTLExportOptions?(I did not find any related options to change the unit).&lt;/P&gt;&lt;P&gt;Or can I change the length unit in design to change the exported mesh file unit as I used to do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is &lt;STRONG&gt;strange&lt;/STRONG&gt; that the &lt;STRONG&gt;api's behavior changed&lt;/STRONG&gt; but I did not found any description for it&lt;STRONG&gt;. Is that a bug?&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 15:42:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/exported-stl-file-unit-changed-after-fusion360-update/m-p/12697038#M1632</guid>
      <dc:creator>NuofanQiu</dc:creator>
      <dc:date>2024-04-09T15:42:34Z</dc:date>
    </item>
  </channel>
</rss>

