Jelle Feringa a écrit :
> Likely occ.Brep_Tool is buggy:
>
> bt = occ.BRep_Tool()
> bt.Tolerance(f) # where f is a TopoDS_Face
>
> boom, interpreter crash
>
> Cheers,
>
> -jelle
>   
Jelle,

When an error occurs in pythonOCC, I see 2 possibilities:

- the error comes from the wrapper,
- the error comes from a bad use of OCC methods/objects.

In your sample, what is the face 'f' passed to the Tolerance method?

Note that pythonOCC doesn't wrap OCC exceptions, so it's hard to debug. 
Another way of further development...

Thomas

_______________________________________________
Minerva-pythonocc mailing list
Minerva-pythonocc@gna.org
https://mail.gna.org/listinfo/minerva-pythonocc

Reply via email to