different results by using python api and using gmsh gui about from stl to discrete entity
Hello, I am new to gmsh.
I have got a trouble about classifySurface and createGoemetry in gmsh.
I'd like to remesh isolate mesh using gmsh.
The flow I used is "isolate mesh -> stl -> discrete entity -> new mesh".
There is an trouble from stl to discrete entity by using python api.
There are different results by using python api and using gmsh gui.
Is there anything going behind in gmsh gui operation "Reclassify 2D"?
Please help me!
Thank you very much!
The following 4 figures show the process using gmsh gui:
gui_1: merge stl file, and show
gui_2: Reclassify 2D
gui_3: the result of Reclassify 2D: there are four conner point and one discrete surface generated.
gui_4: result of mesh 2D surface
The following 2 figures show the results using python api.
api_1: the result of classifySurfaces and createGeometry, there are only one conner point and one discrete surface generated.
api_2: result of mesh(2), there are two conner of rectangle missing in the new mesh.
The stl file and the python script are attached.