|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Stockholm, Sweden
Posts: 271
Rep Power: 7 ![]() |
Hej,
I have a problem with the stl fileformat and the snappyHexMesh tool. The dimensions in the stl file format are as always given in mm, because all 3D cad programs (SolidEdge V20 in my case) export the original ISO dimensions. The problem now is that snappyHexMesh uses m as input, is there any way to define a scaling factor for snappyHexMesh? |
|
|
|
|
|
|
|
|
#2 |
|
New Member
Join Date: Mar 2009
Posts: 20
Rep Power: 6 ![]() |
Hi Roman,
You can use the following command: transformPoints -scale '(1e-3 1e-3 1e-3)' I hope it works. Best regards, Xabi |
|
|
|
|
|
|
|
|
#3 |
|
Member
Johan Spång
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 35
Rep Power: 6 ![]() |
Or you can scale the stl files with surfaceConvert when you clean them
surfaceConvert in.stl out.stl -clean -scale 0.001 |
|
|
|
|
|
|
|
|
#4 | |
|
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Stockholm, Sweden
Posts: 271
Rep Power: 7 ![]() |
Quote:
I will try it as soon as I have my model ready. Thank you Worked perfectly. Thanks again Last edited by romant; August 10, 2009 at 03:50. |
||
|
|
|
||
![]() |
| Tags |
| dimension, snappyhexmesh, stl, units |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SnappyHexMesh meshes inside and outside of an STL geometry | villier | OpenFOAM Mesh Utilities | 17 | June 15, 2010 19:51 |
| How to make boundary patches in STL file | nzy102 | OpenFOAM Mesh Utilities | 2 | August 29, 2008 13:53 |
| SnappyHexMesh not generate mesh first time | mavimo | OpenFOAM Mesh Utilities | 4 | August 26, 2008 07:08 |
| SnappyHexMesh and planar STL surfaces | hannes | OpenFOAM Bugs | 1 | August 1, 2008 08:47 |
| SnappyHexMesh STL patch naming | gregorv | OpenFOAM Mesh Utilities | 1 | July 23, 2008 07:05 |