X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FBuildPlugin%2Fdoc%2FinterpolationFeature.rst;h=2ab98ea6016a046e3eda647b212861484a390610;hb=35eefc54047bda7f1cd660931e92732ce1c40bd3;hp=a69a8a4b2891367794b8a5fbd6fc0e63febb6244;hpb=c5ec43297b55923e1cf2ee39978bf42d733ee465;p=modules%2Fshaper.git diff --git a/src/BuildPlugin/doc/interpolationFeature.rst b/src/BuildPlugin/doc/interpolationFeature.rst index a69a8a4b2..2ab98ea60 100644 --- a/src/BuildPlugin/doc/interpolationFeature.rst +++ b/src/BuildPlugin/doc/interpolationFeature.rst @@ -1,3 +1,59 @@ Interpolation ============= + +Interpolation feature creates a curve (edge) using vertices already existing in other objects. + +To create an interpolation in the active part: + +#. select in the Main Menu *Build - > Interpolation* item or +#. click **Interpolation** button in the toolbar + +.. image:: images/feature_interpolation.png + :align: center + +.. centered:: + **Interpolation** button + +The following property panel will be opened: + +.. image:: images/Interpolation.png + :align: center + +.. centered:: + Create an interpolation + +Select one or several vertices or points in the viewer. + +- **Closed** makes the interpolation curve closed. + +- **Reorder** reorders the selected points to minimize the length of curve. + +- **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. + +**Apply** button creates an interpolation. + +**Cancel** button cancels the operation. + +**TUI Command**: + +- *model.addInterpolation(Part_doc, Points, IsClosed, IsReordered)*. + +**Arguments**: Part document + list of points + is closed + is reordered. + +- *model.addInterpolation(Part_doc, Points, StartEdge, EndEdge, IsClosed, IsReordered)*. + +**Arguments**: Part document + list of points + start edge + end edge + is closed + is reordered. + +Result +"""""" + +The result of the operation will be a curve created from the selected shapes: + +.. image:: images/CreateInterpolation.png + :align: center + +.. centered:: + Result of the operation. + +**See Also** a sample TUI Script of :ref:`tui_create_interpolation` operation.