[Gmsh] export .step file without duplicated geometry

Christophe Geuzaine cgeuzaine at uliege.be
Tue Apr 28 14:18:33 CEST 2020


Hi Kelal,

Indeed it's a known issue with the STEP exporter. Let's continue the discussion here:

https://gitlab.onelab.info/gmsh/gmsh/-/issues/624

We currently create a single compound for the model, and use the "STEPControl_AsIs" OpenCASCADE option to export STEP files. It's maybe not what we should do...

Christophe

> On 28 Apr 2020, at 12:30, Kelal Raschket <mrkelalraschket at mail.com> wrote:
> 
> Hello gmsh community,
>  
> I found the following discussion in the gmsh mailing archive: http://onelab.info/pipermail/gmsh/2018/012233.html.
> There they discussed how to export a geometry in gmsh using the OpenCASCADE kernel. I used the .geo file attatched there and exported it as .step file as well. When I then loaded the resulting .step file into gmsh again to see if everything worked like expected I recognized that points, curves and surfaces are loaded multiple times. What can I do to only save all my geometry once?
> And a second, related question: Is there a similar function in gmsh for deciding to either save all the created geometry or only the ones also in a physical group? Something identical like the "Mesh.SaveAll" function just for geometry.
>  
> Thank you,
> Kelal Raschket
> <comparison.png>_______________________________________________
> 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