[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:

[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

[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

[Gmsh] Not grasping something correctly.

2020-07-05 Thread Keith Sloan
I am trying to add various gmsh facilities to a FreeCAD workbench. One is a straight Tessellate of a FreeCAD shape or mesh. I think I have the meshing correct as if I save the mesh of a Cube I get the attached file. But I am having problems recreating a visual mesh under FreeCAD. To

[Gmsh] Meshing Looping how to debug.

2020-06-17 Thread Keith Sloan
I have code as below def initialize() :     gmsh.initialize()     gmsh.option.setNumber('Mesh.Algorithm3D',1)     gmsh.option.setNumber("Geometry.OCCFixDegenerated", 1)     gmsh.option.setNumber("Mesh.SaveGroupsOfNodes", 1)     gmsh.option.setNumber("Mesh.CharacteristicLengthMax", 2)

[Gmsh] 3D volume as tetrahedra only

2020-06-08 Thread Keith Sloan
I am new to Gmsh and trying to reproduce the following but still seeing triangles on the surface. Can I check that when it mentions sphere demo it is talking about sphere-discrete.geo // merge a surface mesh (any format will work: .msh, .unv, etc.) Merge "sphere-surf.stl"; // add a

[Gmsh] Mesh & Topshape, Brep

2020-06-08 Thread Keith Sloan
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

[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