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 .. figure:: images/Interpolation.png
18 Create an interpolation
20 Select one or several vertices or points in the viewer.
22 - **Closed** makes the interpolation curve closed.
24 - **Reorder** reorders the selected points to minimize the length of curve.
26 - **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.
28 **Apply** button creates an interpolation.
30 **Cancel** button cancels the operation.
34 .. py:function:: model.addInterpolation(Part_doc, Points, IsClosed, IsReordered)
36 :param part: The current part object.
37 :param list: A list of points.
38 :param boolean: Is closed.
39 :param boolean: Is reordered.
40 :return: Result object.
42 .. py:function:: model.addInterpolation(Part_doc, Points, StartEdge, EndEdge, IsClosed, IsReordered)
44 :param part: The current part object.
45 :param list: A list of points.
46 :param object: Start point.
47 :param object: End point.
48 :param boolean: Is closed.
49 :param boolean: Is reordered.
50 :return: Result object.
55 The result of the operation will be a curve created from the selected shapes:
57 .. figure:: images/CreateInterpolation.png
60 Result of the operation.
62 **See Also** a sample TUI Script of :ref:`tui_create_interpolation` operation.