Exported stl file unit changed after Fusion360 update

Exported stl file unit changed after Fusion360 update

NuofanQiu
Enthusiast Enthusiast
248 Views
0 Replies
Message 1 of 1

Exported stl file unit changed after Fusion360 update

NuofanQiu
Enthusiast
Enthusiast

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:

NuofanQiu_0-1712677024864.png

But things went wrong after my Fusion 360 update. My Fusion 360 version is:

NuofanQiu_1-1712677060586.jpeg

 

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?

0 Likes
249 Views
0 Replies
Replies (0)