demos/api/terrain.py shows error with occ kernel
Hello gmsh developers,
First thanks a lot for your great software and nice work !
I tried to launch demos/api/terrain.py and replacing "geo" by "occ". Then i got the following error :
Info : Creating geometry of discrete curves...
Info : Done creating geometry of discrete curves (Wall 1.8078e-05s, CPU 2e-05s)
Info : Creating geometry of discrete surfaces...
Info : Done creating geometry of discrete surfaces (Wall 0.202716s, CPU 0.36543s)
Error : Line Loop is not closed
Traceback (most recent call last):
File "demos_api_terrain_occ.py", line 115, in <module>
ll3 = gmsh.model.occ.addCurveLoop([c1, c11, -1, -c10])
File "/home/fitz/.local/lib/python3.8/site-packages/gmsh-4.7.1-Linux64-sdk/lib/gmsh.py", line 4515, in addCurveLoop
raise Exception(logger.getLastError())
Exception: Line Loop is not closed
Is this expected ?
Best regards,
Jérémy