Volume mesh of XYZ terrain data
I am building a python script for building a volume mesh of XYZ terrain data. After building the surfaces that enclose the terrain I am getting an PLC Error. This is my first attempt at using Gmsh and I am unsure of how to proceed. Any help would be greatly appreciated.
Error : PLC Error: A segment and a facet intersect at point
Traceback (most recent call last):
File "./mesh_terrain.py", line 126, in <module>
main()
File "./mesh_terrain.py", line 120, in main
gmsh.model.mesh.generate()
File "/Users/slauae/miniconda3/envs/moose/lib/python3.7/site-packages/gmsh-4.8.4-MacOSX-sdk/lib/gmsh.py", line 1523, in generate
raise Exception(logger.getLastError())
Exception: PLC Error: A segment and a facet intersect at point
I am happy with the outer shell, just need to get the volume filled in. I would be happy to contribute this as an example once it is finished. The existing terrain examples helped me get this far.