[Gmsh] There was eventually a crash report

2020-07-03 Thread Keith Sloan
Process:   FreeCAD [7115] Path: /Applications/FreeCAD.app/Contents/Resources/bin/FreeCAD Identifier:    ??? Version:   ??? (0.18-16146) Code Type: X86-64 (Native) Parent Process:    ??? [7111] User ID:   501 Date/Time:

Re: [Gmsh] Create gmsh 2D.

2020-07-03 Thread Christophe Geuzaine
> On 3 Jul 2020, at 17:10, Keith Sloan wrote: > > Okay I am trying to add certain gmsh functionality to a FreeCAD work bench. > > I can deal with FreeCAD Shapes by writing out a temp brep file and reading > using gmsh. > Not very elegant but it works. > > I am trying to also handle Meshes.

[Gmsh] 3D Volume from 2D Mesh via python program

2020-07-03 Thread Keith Sloan
Hi I am trying to remesh an STL file to create a Tetrahderon. My code looks like based on info on the web SaimaSafdar commented on 2 Sep 2019 • edited by nschloe I used the gmsh-api for python https://gitlab.onelab.info/gmsh/gmsh/blob/master/README.txt The code I used is below for the

Re: [Gmsh] There was eventually a crash report

2020-07-03 Thread Christophe Geuzaine
Your crash log indicates that the crash is in the Netgen mesh optimizer, which is not enabled by default. It is indeed not very robust. > On 3 Jul 2020, at 20:55, Keith Sloan wrote: > > Process: FreeCAD [7115] > Path: >

Re: [Gmsh] Error codes.

2020-07-03 Thread Max Orok
I tried to make a rough taxonomy a while back. The same error code might mean something different depending on the function (function returning 1 in gmsh::option namespace means something different than for gmsh::model namespace) *Gmsh error codes: * *Error code -1 (everywhere):* The Gmsh

[Gmsh] Create gmsh 2D.

2020-07-03 Thread Keith Sloan
Okay I am trying to add certain gmsh functionality to a FreeCAD work bench. I can deal with FreeCAD Shapes by writing out a temp brep file and reading using gmsh. Not very elegant but it works. I am trying to also handle Meshes. Now there are no export options on a FreeCAD mesh . I have

Re: [Gmsh] Getting rid of small faces and features

2020-07-03 Thread Christophe Geuzaine
Dear Hannes, Indeed the best way would be to clean up the CAD. But the "Compound" feature can also help: see e.g. https://gitlab.onelab.info/gmsh/gmsh/-/blob/master/benchmarks/step/part_compound_curved_mesh.geo Christophe > On 29 Jun 2020, at 16:21, Hannes Kröger wrote: > > Hi All, > > I

Re: [Gmsh] parallel meshing?

2020-07-03 Thread Christophe Geuzaine
Dear Sabrina, Most algorithms in Gmsh are indeed multi-threaded, but not all of them. In particular, in 2D, the experimental "Frontal-Delaunay for Quads" and "Packing of Parallelograms" algorithms are single-threaded: your exceptionally long meshing times maybe indicate that you are using

Re: [Gmsh] Error codes.

2020-07-03 Thread Christophe Geuzaine
Hi Keith, Currently they are generic (this will be improved in the future). Set the "General.Terminal" option to 1 to see the error message on the terminal, or use the "logger" api to record the messages. Christophe > On 3 Jul 2020, at 15:51, Keith Sloan wrote: > > Where can I find the

[Gmsh] Error codes.

2020-07-03 Thread Keith Sloan
Where can I find the documentation for error codes Like where can I find out what error code 2 means? ('gmshModelMeshAddElementsByType returned non-zero error code: ', 2) ___ gmsh mailing list gmsh@onelab.info