|
[Sponsors] |
October 26, 2013, 10:34 |
.stl file scale!
|
#1 |
Member
Reza
Join Date: Feb 2012
Posts: 67
Rep Power: 14 |
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 Last edited by gooya_kabir; October 27, 2013 at 10:35. |
|
October 27, 2013, 13:51 |
|
#2 |
New Member
Gabriel Boucher
Join Date: Jul 2013
Posts: 23
Rep Power: 12 |
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.
|
|
April 17, 2018, 05:52 |
|
#3 |
New Member
Lachlan
Join Date: May 2017
Posts: 1
Rep Power: 0 |
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. |
|
April 18, 2018, 18:27 |
|
#4 |
Senior Member
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 13 |
or use surfaceMeshConvert
example: Code:
surfaceMeshConvert infile.stl outfile.stl -scaleIn 0.001
__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET |
|
Tags |
stl snappy |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] problem when installing foam-extend-1.6 | Thomas pan | OpenFOAM Installation | 7 | September 9, 2015 21:53 |
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 | towanda | OpenFOAM Community Contributions | 6 | September 5, 2015 21:03 |
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch | gschaider | OpenFOAM Installation | 225 | August 25, 2015 19:43 |
centOS 5.6 : paraFoam not working | yossi | OpenFOAM Installation | 2 | October 9, 2013 01:41 |
[swak4Foam] funkySetFields compilation error | tayo | OpenFOAM Community Contributions | 39 | December 3, 2012 05:18 |