|
[Sponsors] |
[Gmsh] Save a geometry created with OpenCASCADE as .step file in gmsh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 27, 2020, 23:40 |
Save a geometry created with OpenCASCADE as .step file in gmsh
|
#1 |
New Member
Join Date: Apr 2020
Posts: 5
Rep Power: 6 |
How can I save a geometry as .step file, created in gmsh using a .geo script? I can do so by using the export function in the gui but I can't find the related command to do so from a geo script directly.
I did as decribed http://onelab.info/pipermail/gmsh/2018/012230.html and specified the correct geometry kernel. I also searched the gmsh manual https://gmsh.info/doc/texinfo/gmsh.html but haven't found the correct command there. |
|
April 28, 2020, 06:11 |
|
#2 |
Senior Member
Join Date: Mar 2014
Posts: 112
Rep Power: 12 |
I think, this should work:
gmsh fileName.geo -1 -format stp |
|
April 28, 2020, 07:06 |
|
#3 |
New Member
Join Date: Apr 2020
Posts: 5
Rep Power: 6 |
Indeed it's that easy. As I wanted to save directly from within the .geo script I added the following line at the end:
Code:
Save "my_stepfile.step"; |
|
Tags |
gmsh, step |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] swak4foam for OpenFOAM 4.0 | mnikku | OpenFOAM Community Contributions | 80 | May 17, 2022 09:06 |
how to calculate mass flow rate on patches and summation of that during the run? | immortality | OpenFOAM Post-Processing | 104 | February 16, 2021 09:46 |
Problem compiling a custom Lagrangian library | brbbhatti | OpenFOAM Programming & Development | 2 | July 7, 2014 12:32 |
Trouble compiling utilities using source-built OpenFOAM | Artur | OpenFOAM Programming & Development | 14 | October 29, 2013 11:59 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 12:44 |