X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2Fdoc%2FparallelFeature.rst;h=96832d9c5caff7de808ff1432ce95dc5dcfb6f46;hb=d3afed6da21a10db226a968698b63af318e6111e;hp=5886038dde4d91fbd4e1767c02af434cdd29a344;hpb=1c74a4ef1b175266becd65969077f12af764e7e2;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/doc/parallelFeature.rst b/src/SketchPlugin/doc/parallelFeature.rst index 5886038dd..96832d9c5 100644 --- a/src/SketchPlugin/doc/parallelFeature.rst +++ b/src/SketchPlugin/doc/parallelFeature.rst @@ -1,10 +1,44 @@ +.. |parallel.icon| image:: images/Parallel.png Parallel constraint =================== +Parallel constraint fixes two lines as parallel to one another. -.. image:: images/Parallel.png - :align: center +To create a Parallel constraint in the active Sketch: + +#. select in the Main Menu *Sketch - > Parallel* item or +#. click |parallel.icon| **Parallel** button in Sketch toolbar: + +Property panel: + +.. image:: images/Parallel_panel.png + :align: center + +Input fields: + +- **First line** is the first line selected in the view. +- **Second line** is the second line selected in the view. + +After the lines are selected **||** sign will be added to each of them in the view. + +**TUI Command**: + +.. py:function:: Sketch_1.setParallel(Line1, Line2) + + :param object: Line 1. + :param object: Line 2. + :return: Result object. + +Result +"""""" + +Created Parallel constraint appears in the view. + +.. image:: images/Parallel_res.png + :align: center .. centered:: - Create a parallel constraint + Created parallel constraint + +**See Also** a sample TUI Script of :ref:`tui_create_parallel` operation.