Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ExportManager and Unit Type

1 REPLY 1
Reply
Message 1 of 2
mcd8604
107 Views, 1 Reply

ExportManager and Unit Type

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?

1 REPLY 1
Message 2 of 2
BrianEkins
in reply to: mcd8604

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report