View Issue Details

IDProjectCategoryView StatusLast Update
0002255File formatsFeaturepublic2015-09-10 19:14
Reportersavio araujo Assigned Toyorik  
Status closedResolutionduplicate 
Platformrev 3681OSkubuntuOS Version14.04
Summary0002255: STL export in various units
DescriptionAt the moment, stl files can only exported in millimeter. Only iges/step files can be exported in meter/inches/millimeter.

I need stl files scaled to meter. Therefore i design every measure in the part by an scaling factor of 1000.
if its possible to add the scaling option also to stl export?
TagsNo tags attached.
FreeCAD Information


duplicate of 0001591 closedwmayer FreeCAD STL export in various units 



2014-06-28 07:17

developer   ~0006369

It would be. But as an STL file does not bear any unit information it might do more harm then good.
I would suggest to create a python script that offers an additional exporter that scales the meshes by a factor of 1000 before export.
The process of scaling meshes is described at
To implement this, it is important to know if you mesh existing part objects manually. Or just export the (internal) tessellation.


2014-06-28 07:24

developer   ~0006370

If we would add the option. Should it be a global setting that the user can forget. Or should it be asked every time a stl file is saved?


2014-06-30 07:13

reporter   ~0006371

at the moment i use the internal meshing with the the code which the python console outputs.

including the scaling code from the forum would help, I will try this.
as I start to work/program with freecad, I was wondered because the stl export ignores any unit information, the export units for step file (which I assume it is also used for stl) and the global unit system.

what is the main purpose of the exported stl files? What unit assumes some 3d printers or cam systems? if there is a vast majority which uses millimeter, i would only at an global option. and place somewhere a hint. but if there is an great diversity of units, I think, it's better to ask by every export.


2014-07-01 09:50

developer   ~0006372

I would keep it local and ask everytime. And if there is a pop-up dialog anyway one can think about incorporating another small usability improvement: ask for the mesh deviation if a shape is exported. The current cuppling to the visualisation mesh is not obvious, so this would make things clearer.


2015-09-10 19:14

administrator   ~0006385

Please do not clone issues like that without a reason... It won't make them fixed magically, and only gives us more work. Thanks

Issue History

Date Modified Username Field Change
2015-09-09 22:02 savio araujo New Issue
2015-09-09 22:02 savio araujo Issue generated from: 0001591
2015-09-10 19:13 yorik Relationship added duplicate of 0001591
2015-09-10 19:14 yorik Note Added: 0006385
2015-09-10 19:14 yorik Status new => closed
2015-09-10 19:14 yorik Assigned To => yorik
2015-09-10 19:14 yorik Resolution open => duplicate