pygeometry - conversion py objects to c++