View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002255||File formats||Feature||public||2015-09-09 22:02||2015-09-10 19:14|
|Reporter||savio araujo||Assigned To||yorik|
|Platform||rev 3681||OS||kubuntu||OS Version||14.04|
|Summary||0002255: STL export in various units|
|Description||At 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?
|Tags||No tags attached.|
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 http://forum.freecadweb.org/viewtopic.php?f=3&t=4774&p=37464#p37470
To implement this, it is important to know if you mesh existing part objects manually. Or just export the (internal) tessellation.
||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?|
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.
||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.|
||Please do not clone issues like that without a reason... It won't make them fixed magically, and only gives us more work. Thanks|
|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|