To produce a Limit Tolerance operation in the Main Menu select Repair - > Limit Tolerance.
Arguments: Name + 1 shape + 1 value (new tolerance).
It is possible on all kind of shapes.
The Result will be a GEOM_Object.
This functionality tries to set a new value of tolerance for the given shape. However, the final tolerance value also depends on the initial shape topology (takes into consideration the existing gaps) to obtain a valid resulting shape.
Example of usage:
See also TUI example.
TUI Command: geompy.LimitTolerance(Shape, Tolerance), where Shape is a shape with presumably incorrect tolerance, Tolerance is the required tolerance value.
Our TUI Scripts provide you with useful examples of Repairing Operations.