Problem with addEllipseArc in python OCC
Hello,
I am having problems trying to create an elliptical arc in gmsh using the python API. I keep getting the following run-time error:
[peter:gmsh] % python3 trial-ell.py Traceback (most recent call last): File "trial-ell.py", line 80, in region() File "trial-ell.py", line 71, in region inn_surf = gmsh.model.occ.addEllipseArc(pil,origin,major_in,piu,-1) File "/Users/peter/fromnet/gmsh-4.4.1-MacOSX-sdk/lib/gmsh.py", line 3503, in addEllipseArc ierr.value) ValueError: ('gmshModelOccAddEllipseArc returned non-zero error code: ', 1)
Unfortunately, I don’t know what this error means, despite having looked through the python source code. I have attached the offending code. I am using the gmsh 4.4.1 SDK.
If someone could help me, I would be most appreciative.
Thanks very much,
Peter.