For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

how to minimize edge tolerance?

Fabian Hachenberg's picture

I'm importing a step file containing very bad PCurves. I'm doing the following

For each wire:
- Do a wire fix (ShapeFix_Wire). This simply raises the edge and vertex tolerances in order to meet the distance between pcurve and 3dcurve
- Go through all edges and, if the edge length and edge tolerance are similar in size, I throw away the pcurve and let ShapeFix_Edge recreate it

Now I got good pcurves but the edge tolerances still are very bad. Is there a possibility in OCC already to minimize the edge and vertex tolerances?

Pawel's picture

Hi Fabian,

I think 'ShapeFix_ShapeTolerance' might be what you're looking for.