> My offset is 0.15, and i have changed tolerance to 0.001, and still  
> have a segfault. The problem is shape-dependent, I've found.  I'm  
> reading STL files, and converting them to solids.  I can produce the  
> error consistently with one particular part, but two others always  
> work. ShapeFix_Shape reports in both cases successful completion  
> with "One free shell fixed".
>
> One thing that annoys me about tolerances is that they must change  
> based on unit of measure. IE, realistically, if the model is in mm,  
> a tolerance of 0.01 works well, but if the model is in inches it  
> should be 0.0005. Jelle, thanks for the feedback on that, I suspect  
> my code might run faster if i go through and set these tolerances  
> correctly everywhere instead of just being lazy and putting it  
> always 'very small'

I think so too ( speed up ). BRepOffset has a .IsDone method, doesn't  
it? Have you checked that?

-jelle

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

Reply via email to