Exported stl file unit changed after Fusion360 update
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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:
But things went wrong after my Fusion 360 update. My Fusion 360 version is:
The mesh file became very big in simulation software. So I guess it is a problem about different unit for mesh.
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.
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.
So the default unit for STLExport is millimeter?
Can I change the unit using createSTLExportOptions?(I did not find any related options to change the unit).
Or can I change the length unit in design to change the exported mesh file unit as I used to do?
It is strange that the api's behavior changed but I did not found any description for it. Is that a bug?