ExportManager and Unit Type

ExportManager and Unit Type

mcd8604
Enthusiast Enthusiast
364 Views
1 Reply
Message 1 of 2

ExportManager and Unit Type

mcd8604
Enthusiast
Enthusiast

I noticed in the "3D Print" command, there is a dropdown for Unit Type which defaults to mm. 

mcd8604_0-1642056604438.png

Is there an equivalent to this in the API? I cannot find anything similar. I am trying to auto-orient bodies and export to STL for FDM printing. However, the slicer I am using assumes the (unitless) STLs are mm but they appear to be exported as cm. I assume this is because cm is the default system unit. Should I just scale my bodies up by 10 prior to exporting, or is there a better way?

0 Likes
365 Views
1 Reply
Reply (1)
Message 2 of 2

BrianEkins
Mentor
Mentor

I'm guessing that setting must have been added after the API was first added for STL export because I don't see that in the API and it would have been difficult to miss when the API was being designed.  It would be good to add support for that.

 

In the meantime, it seems like your suggestion of scaling the model is a viable workaround.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
0 Likes