RhinoInside| Brep.CreateFromLoft() - empty array of Brep

Hey there,

unfortuneatly I am experiencing problems with rhinoinside, which I couldn’t resolve by myself. I asked a similar question half a year ago, but never got a satisfying answer, maybe due to its complexity. Here is a minimal working example, which yields the same problem.

When trying to create a Brep by lofting two curves as depicted in the GHPython script with rhinoinside, it only returns Rhino.Geometry.Brep which can’t be processed any further obviously.

Could someone please guide me in the right direction?
Thanks in advance.

Here is the returned object in the variable explorer in PyCharm.
2021-05-17_17-41-03_at_x_in_pycharm64

Here is the working version in GHPython.

Here is the non working codein normal python with rhinoinside using PyCharm.
a.txt (724 Bytes)