X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2Fdoc%2FparallelFeature.rst;h=96832d9c5caff7de808ff1432ce95dc5dcfb6f46;hb=d3afed6da21a10db226a968698b63af318e6111e;hp=77d0326b35aa8ab3f5f96ae7ceea81997cfe0213;hpb=c5ec43297b55923e1cf2ee39978bf42d733ee465;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/doc/parallelFeature.rst b/src/SketchPlugin/doc/parallelFeature.rst index 77d0326b3..96832d9c5 100644 --- a/src/SketchPlugin/doc/parallelFeature.rst +++ b/src/SketchPlugin/doc/parallelFeature.rst @@ -1,3 +1,44 @@ +.. |parallel.icon| image:: images/Parallel.png Parallel constraint =================== + +Parallel constraint fixes two lines as parallel to one another. + +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:: + Created parallel constraint + +**See Also** a sample TUI Script of :ref:`tui_create_parallel` operation.