[Gmsh] saving GMSH mesh into a CAD file format like STEP
Christophe Geuzaine
cgeuzaine at uliege.be
Thu Mar 5 07:09:49 CET 2020
> On 5 Mar 2020, at 01:11, Louise Olsen <lolsenkettle at swin.edu.au> wrote:
>
> Hi Guillame,
>
> Thanks for your suggestions. After creating the mesh I got the following error message when I tried to save the mesh as a STEP file:
>
STEP is a format to store geometries (CAD data), not meshes.
Christophe
> Info : Done optimizing mesh (28.8829 s)
> Info : 326219 nodes 2114578 elements
> Info : Writing '/home/lolsenkettle/Desktop/composite research/CAD File format/meshtargetSaveStep.geo.opt'...
> Info : Done writing '/home/lolsenkettle/Desktop/composite research/CAD File format/meshtargetSaveStep.geo.opt'
> Info : Writing '/home/lolsenkettle/Desktop/composite research/CAD File format/OlsenCheckStep.step'...
> Error : No OpenCASCADE model found
>
> I was using the most up-to-date version of gmsh I could fine (version 4.5.4).
>
> Thanks, Louise
>
> Dr Louise Olsen-Kettle
> VC Women in STEM Fellow
> Mathematics Department
> Swinburne University of Technology
> Email lolsenkettle at swin.edu.au
> T +61 (0)3 9214 8318 @DrOlsenKettle
> W Webpage
> W ResearchGate W eSpace W ORCID
>
> From: DILASSER Guillaume <Guillaume.DILASSER at cea.fr>
> Sent: Saturday, 29 February 2020 2:40 AM
> To: Louise Olsen <lolsenkettle at swin.edu.au>; gmsh at onelab.info <gmsh at onelab.info>
> Subject: RE: saving GMSH mesh into a CAD file format like STEP
>
> Hi Louise,
>
> Gmsh operates using .geo files and .msh files. “.geo” are files that contain the definition of geometrical objects and “.msh” are files containing the meshes generated by the program based on a specified geometry. I do not know if any commercial CAD software natively supports .geo or .msh files but I doubt it. There might still by third-party plugins for some CAD software that might do that.
>
> On the other hand, Gmsh can save both geometries and mesh to a variety of output formats. If you are using Gmsh GUI, simply go the menu bar File > Export or hit Ctrl+E. That will open a window in which you can select the output file format (using the “Type” line, under the “File name” line). If you use Gmsh on the command line, use the –format option described in the online documentation here.
>
> Hope this helped,
>
> Guillaume Dilasser
>
> De : gmsh <gmsh-bounces at ace20.montefiore.ulg.ac.be> De la part de Louise Olsen
> Envoyé : vendredi 28 février 2020 08:04
> À : gmsh at onelab.info
> Objet : [Gmsh] saving GMSH mesh into a CAD file format like STEP
>
> Hi,
>
> I know that GMSH can input CAD model files such as STEP format, I want to check if any CAD software can input GMSH meshes? And can GMSH save meshes into a CAD file format such as STEP?
>
> Thanks, Louise
>
> Dr Louise Olsen-Kettle
> VC Women in STEM Fellow
> Mathematics Department
> Swinburne University of Technology
> Email lolsenkettle at swin.edu.au
> T +61 (0)3 9214 8318 @DrOlsenKettle
> W Webpage
> W ResearchGate W eSpace W ORCID
>
>
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh
—
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine
More information about the gmsh
mailing list