Hello,

It is getting better and better! First of all, a clean checkout
compiles without a problem (including SWIG wrapper creation).

As a first test to see if it works properly, I tried to run the
make_bottle.py example. No here I have a problem. It fails with the
infamous segmentation fault. I have taken a look to see at which
statement it fails. The result is that at the first "GetHandle()" call

# Threading : Create Surfaces
neckAx2_bis = gp.gp_Ax3(neckLocation , neckNormal)
aCyl1 = Geom.Geom_CylindricalSurface(neckAx2_bis , myNeckRadius * 0.99)
aCyl2 = Geom.Geom_CylindricalSurface(neckAx2_bis , myNeckRadius * 1.05)
print "Debug 1"
aCyl1_handle = aCyl1.GetHandle()    -------> generates segmentation fault.
print "Debug 2"
aCyl2_handle = aCyl2.GetHandle()

I will look into this a little further.

Another problem that I have is that I cannot generate a 3D viewer. I
tried the CADViewer, InteractiveViewer and the Test3D() code that is
in the OCC.Display folder. They all fail. There is no error message
though. A screen flashes for a second and then terminates. Could
somebody provide me with the minimal example code that should show a
window with an OCC opengl canvas.

Thanks in advance,

Marco

_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to