1 .. |feature_interpolation.icon| image:: images/feature_interpolation.png
6 Interpolation feature creates a curve (edge) using vertices already existing in other objects.
8 To create an interpolation in the active part:
10 #. select in the Main Menu *Build - > Interpolation* item or
11 #. click |feature_interpolation.icon| **Interpolation** button in the toolbar
13 The following property panel will be opened:
15 .. image:: images/Interpolation.png
19 Create an interpolation
21 Select one or several vertices or points in the viewer.
23 - **Closed** makes the interpolation curve closed.
25 - **Reorder** reorders the selected points to minimize the length of curve.
27 - **Tangents** makes start and end of the curve tangent to the selected edges. The user has to select start and end edges in the corresponding fields.
29 **Apply** button creates an interpolation.
31 **Cancel** button cancels the operation.
35 .. py:function:: model.addInterpolation(Part_doc, Points, IsClosed, IsReordered)
37 :param part: The current part object.
38 :param list: A list of points.
39 :param boolean: Is closed.
40 :param boolean: Is reordered.
41 :return: Result object.
43 .. py:function:: model.addInterpolation(Part_doc, Points, StartEdge, EndEdge, IsClosed, IsReordered)
45 :param part: The current part object.
46 :param list: A list of points.
47 :param object: Start point.
48 :param object: End point.
49 :param boolean: Is closed.
50 :param boolean: Is reordered.
51 :return: Result object.
56 The result of the operation will be a curve created from the selected shapes:
58 .. image:: images/CreateInterpolation.png
62 Result of the operation.
64 **See Also** a sample TUI Script of :ref:`tui_create_interpolation` operation.