The 1D mesh seems not to be forming a closed loop
Hello,
I'm working on a project that uses the GMSH Python API in version 4_8_4. Some models are returning the following error:
Error : The 1D mesh seems not to be forming a closed loop
In the file "15.stp" the error ONLY happens when the highestDimOnly parameter of the importShapes function is set as False. However, in some files the error happens with the parameter in True and False.
The code I'm using is:
import gmsh
gmsh.initialize()
gmsh.model.occ.importShapes(input_file, highestDimOnly=False)
gmsh.model.occ.synchronize()
gmsh.option.setNumber("Mesh.MeshSizeMin", 0)
gmsh.option.setNumber("Mesh.MeshSizeMax", 15)
gmsh.option.setNumber("General.Verbosity", 99)
gmsh.model.mesh.generate(2)
gmsh.write(output_name)
gmsh.finalize()
The model that results in the error is: 15.stp
The output with DEBUG mode activated: debug_log.txt
I would like to understand why this error happens and how I could fix it.
Edited by Pedro Lima Corçaque