[Gmsh] Mesh & Topshape, Brep
cgeuzaine at uliege.be
Mon Jun 8 22:58:17 CEST 2020
> On 8 Jun 2020, at 20:05, Keith Sloan <keith at sloan-home.co.uk> wrote:
> I am looking at using Gmsh in a FreeCAD Workbench.
> I see
> "Actually gmsh::model::occ::importShapeNativePointer() was originally only designed to work with the C++ and C APIs, and has been removed from the Python and Julia APIs in Gmsh 4.4.
> If a Python specialist can help in making a new version of the function that actually works in Python, we would be happy to re-add it (even if of course such a function is intrinsically "unsafe").
> So it looks like I would have to export the Shape I wish to work on as a Brep file and
> import that into Gmsh.
> After meshing is there any easy option to create a Brep file or TopShape version of the mesh?
A Brep file is not designed to hold a finite element mesh. The Gmsh API gives you full access to the mesh, so you can transfer it in any form you wish.
> Thanks Keith
> gmsh mailing list
> gmsh at onelab.info
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
More information about the gmsh