.stl file scale!
Hi friends,
I have a .stl file which when I open it by paraview its scale is 100*100*100. It means that its scale is 100m*100m*100m ? and also can I change it to 1m*1m*1m ? because when I'm using snappy, I just can define a outer box in blockmMesh directory for my .stl file and I could not change the scale of my .stl file. Many thanks I found it :) here: http://www.cfd-online.com/Forums/ope...-mismatch.html good luck |
Just to add, blender has a really nice scaling tool, you simply import the *.stl in blender, press ''s'' and type the scaling factor (there is no window to type in, you just do it). just be really careful to not move the mouse while typing.
|
For future reference:
1. Open in STL file in Paraview. 2. Go to Filters > Alphabetical > Transform. 3. Set the Scale values to be 0.01, 0.01, 0.01 (or whatever you need) 4. File > Save Data... 5. Save the transformed STL data as a new STL file. |
or use surfaceMeshConvert
example: Code:
surfaceMeshConvert infile.stl outfile.stl -scaleIn 0.001 |
All times are GMT -4. The time now is 19:09. |