Units change when I export to .stl file

bd567771
Explorer
Explorer

Units change when I export to .stl file

bd567771
Explorer
Explorer

Whenever I design anything in Autodesk inventor 2022, I change the units in document settings to mm and change the unit to mm when I export as a .stl file, but the file keeps saving as cm.

Whenever I export the file in mm (as in, change units to mm under options and in document settings), it exports as cm. When I export as cm, it exports as inches. What do I do to fix this?

0 Likes
Reply
1,570 Views
17 Replies
Replies (17)

johnsonshiue
Community Manager
Community Manager

Hi! The export unit and the actual document unit should be in sync. For example, if you are in mm, select "mm" in STL Export Options. It should work. Please share the file if it does not work as described.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes

bd567771
Explorer
Explorer

Hello! It's not working like that though, I am not sure why.

0 Likes

johnsonshiue
Community Manager
Community Manager

Hi! Let me walk through the steps to see what I missed. Open the file. Go to File -> Export to CAD format -> STL -> Options -> select "mm" or Document unit. The STL file should be mm based.

I guess you are using English part template and you import the STL file back to Inventor and it becomes inch sizing. You need to either start a metric template -> Import or reset your template to mm (Tools -> App Options -> File -> Configure Default Templates).

Please try it out and see if it works better.

Many thanks!

 



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes

JDMather
Consultant
Consultant

JDMather_0-1684886059134.png

 

@bd567771 

Also Attach your resulting *.stl file here.


-----------------------------------------------------------------------------------------
Autodesk Inventor 2019 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional


0 Likes

bd567771
Explorer
Explorer

I followed those steps and it still converted to inches both in the 3d printing preview window and when I import back to inventor. This is the stl file I get when exporting as mm and converting document units to mm.

0 Likes

JDMather
Consultant
Consultant

I get exactly the same size (although you didn't set to high resolution as I showed in my previous post).

Are you dong File>Open

or

are you first starting a new mm part file and doing Manage>Import?

JDMather_0-1684886587783.png

 

Can you show how you are coming to the determination of wrong size?

 

JDMather_0-1684886741244.png

Can you show image of your Application Options as above?


-----------------------------------------------------------------------------------------
Autodesk Inventor 2019 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional


0 Likes

bd567771
Explorer
Explorer

It opens in cm in 3D printer viewer (first image) and inches in inventor (second/third image). I did file>open bd567771_0-1684886798187.png

bd567771_1-1684886860783.png

bd567771_2-1684886882097.png

 

 

 

0 Likes

JDMather
Consultant
Consultant

Tools>Application Options>Files tab

your Default template is set to Inches...

JDMather_0-1684887114788.png

 


-----------------------------------------------------------------------------------------
Autodesk Inventor 2019 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional


bd567771
Explorer
Explorer

I keep changing that setting to millimeters but it has inches selected whenever I open that tab. I don't know how to make it stay as millimeters. I am new to using this software.

0 Likes

JDMather
Consultant
Consultant

@bd567771 wrote:

I keep changing that setting to millimeters but it has inches selected whenever I open that tab. 


@bd567771 

You haven't shown an image of this screen.  Tools>Application Options.

The only image you have shown is of Tools>Document Settings.

 

Once you have made the change to your Default Templates - you will have to reopen the stl for the change to take effect.  


-----------------------------------------------------------------------------------------
Autodesk Inventor 2019 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional


0 Likes

bd567771
Explorer
Explorer

bd567771_0-1684887682778.png

This page keeps reverting to inches. I've already selected millimeters and "ok" numerous times and the file still exports with the wrong units

0 Likes

JDMather
Consultant
Consultant

@bd567771 wrote:

 

This page keeps reverting to inches. I've already selected millimeters and "ok" numerous times and the file still exports with the wrong units


I have never seen that happen before.

Are you getting this warning?

JDMather_0-1684888839098.png

Do you click Overwrite?

iProperties would seem to indicate that you have not installed all Updates for your version of Inventor.

Install Update 2 and 3 for 2022.

http://manage.autodesk.com

 

 


-----------------------------------------------------------------------------------------
Autodesk Inventor 2019 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional


0 Likes

bd567771
Explorer
Explorer

 I have installed all the updates for 2022 now

0 Likes

bd567771
Explorer
Explorer

I always click overwrite. Do I need to re cad the parts that I'm trying to export?

0 Likes

johnsonshiue
Community Manager
Community Manager

Hi! When you start a new part (Standard.ipt), what is the default length unit (Tools -> Doc Settings -> Units)?

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes

ampster40
Advisor
Advisor

Sounds as if this is still being worked thru but I have to mention this to the OP in that this is a very common problem when dealing with Inventor part files, stl's and 3d printing, unit mismatches happen alot.  Some slicer programs have an option built in to automatically resize parts.  Some slicers it isn't automatic but does usually provide a way to convert or scale as needed.

 

Once you have the process figured out, write it down or practice it a few times till you get it right.

0 Likes

kacper.suchomski
Mentor
Mentor

Hi

Try to prepare the mesh and export the file through the 3D printing environment.

 


Kacper Suchomski

EESignature


YouTube - Inventor tutorials | WWW | LinkedIn | Instagram

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


0 Likes