2013/4/12, Vin Yovanovich <fracta...@hotmail.com>: > For the case from opencasade > GC_MakeArcOfCircle (const gp_Circ &Circ, const gp_Pnt &P1, const gp_Pnt &P2, > const Standard_Boolean Sense) > > > I cannot figure out what to use for the last argument. > > In pythonOCC: GC_MakeArcOfCircle(circ3d,pnt2,pnt3, ?) > > > Whatever I use, I get a wrong type error. > File "d:\Python26\lib\site-packages\OCC\GC.py", line 272, in __init__ > _GC.GC_MakeArcOfCircle_swiginit(self,_GC.new_GC_MakeArcOfCircle(*args))TypeError: > in method 'new_GC_MakeArcOfCircle', argument 4 of type 'Standard_Boolean' > Thanks for your help in advance.
As the error message says, the function is expecting a boolean value. For me, supplying one of the boolean values 'True' or 'False' works perfectly. _______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users