|
[Sponsors] |
[Gmsh] Save a geometry created with OpenCASCADE as .step file in gmsh |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#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. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Join Date: Mar 2014
Posts: 112
Rep Power: 12 ![]() |
I think, this should work:
gmsh fileName.geo -1 -format stp |
|
![]() |
![]() |
![]() |
![]() |
#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 |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] swak4foam for OpenFOAM 4.0 | mnikku | OpenFOAM Community Contributions | 80 | May 17, 2022 08:06 |
how to calculate mass flow rate on patches and summation of that during the run? | immortality | OpenFOAM Post-Processing | 104 | February 16, 2021 08:46 |
Problem compiling a custom Lagrangian library | brbbhatti | OpenFOAM Programming & Development | 2 | July 7, 2014 11:32 |
Trouble compiling utilities using source-built OpenFOAM | Artur | OpenFOAM Programming & Development | 14 | October 29, 2013 10:59 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 11:44 |