1 .. |limit_tol_btn.icon| image:: images/limit_tol_btn.png
6 Limit Tolerance feature tries to set a new value of tolerance for the given shape. However, the final tolerance value also
7 depends on the initial shape topology (takes into consideration the existing gaps) to obtain a valid resulting shape.
9 To limit the tolerance in the active part:
11 #. select in the Main Menu *Features - > Limit Tolerance* item or
12 #. click |limit_tol_btn.icon| **Limit Tolerance** button in the toolbar
14 The following property panel will be opened:
16 .. figure:: images/LimitTolerance.png
19 **Limit Tolerance operation**
21 Here it is necessary to select a shape and give a value for the desired tolerance value.
23 - **Shape** sets the shape to be modified.
24 - **Tolerance** sets the desired tolerance value for the selected shape.
28 #. Partition objects obj1 and obj2.
30 #. Perform Limit Tolerance on objects obj1 and obj2.
31 #. Try to partition them again.
35 .. py:function:: model.addLimitTolerance(Part_doc, shape, tolerance)
37 :param part: The current part object.
38 :param shape: A shape.
39 :param tolerance: A tolerance value.
40 :return: Result shape with the modified tolerance.
45 The Result of the operation will be the selected shape with an updated tolerance, where possible.
47 **See Also** a sample TUI Script of :ref:`tui_limit_tolerance` operation.