Jelle Feringa a écrit : >> This can be done directly in the SWIG wrapper. For the TopoDS_Shape >> class, the != operator is already wrapped with python (a call to >> IsNotEqual() method). Don't know why the == operator is ignored. >> Certainly a stupid mistake from me. > > Wow, that would be beautiful...
That's what I thought: due to a bug in the SWIG_generator.py script, only the operator != was wrapped. I fixed it and now the == operator should work. I currently rebuild all the solution. Many modules are impacted by this change. Thomas _______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users