> On 8 Jun 2020, at 20:05, Keith Sloan <ke...@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"). > > Christophe" > > 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.
Exact. > 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. Christophe > > Thanks Keith > > _______________________________________________ > gmsh mailing list > gmsh@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 _______________________________________________ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh