Salome HOME
8e952dedb105125db205ad277955160cb559fc9f
[modules/shaper.git] / src / SketchPlugin / doc / parallelFeature.rst
1
2 Parallel constraint
3 ===================
4
5 Parallel constraint fixes two lines as parallel to one another.
6
7 To create a Parallel constraint in the active Sketch:
8
9 #. select in the Main Menu *Sketch - > Parallel* item  or
10 #. click **Parallel** button in Sketch toolbar:
11
12 .. image:: images/parallel.png
13    :align: center
14
15 .. centered::
16    **Parallel**  button
17
18 Property panel:
19
20 .. image:: images/Parallel_panel.png
21    :align: center
22
23 Input fields:
24
25 - **First line** is the first line selected in the view.
26 - **Second line** is the second line selected in the view.
27
28 After the lines are selected **||** sign will be added to each of them in the view.
29
30 **TUI Command**: *Sketch_1.setParallel(Line1, Line2)*
31
32 **Arguments**:  2 line objects
33
34 Result
35 """"""
36
37 Created Parallel constraint appears in the view.
38
39 .. image:: images/Parallel_res.png
40            :align: center
41
42 .. centered::
43    Created parallel constraint
44
45 **See Also** a sample TUI Script of :ref:`tui_create_parallel` operation.