Salome HOME
Fix for the issue #2753 : error when dump/load script
[modules/shaper.git] / src / SketchPlugin / doc / collinearFeature.rst
1
2 Collinear constraint
3 ====================
4
5 Collinear constraint forces lines to be collinear.
6
7 To create a Collinear constraint in the active Sketch:
8
9 #. select in the Main Menu *Sketch - > Collinear* item  or
10 #. click **Collinear** button in Sketch toolbar:
11
12 .. image:: images/collinear.png
13    :align: center
14
15 .. centered::
16    **Collinear**  button
17
18 Property panel:
19
20 .. image:: images/Collinear_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, they are translated to become collinear.
29 | The lines are marked with a special sign.
30
31 **TUI Command**: *Sketch_1.setCollinear(Line1, Line2)*
32
33 **Arguments**:  2 line objects
34
35 Result
36 """"""
37
38 Created Collinear constraint appears in the view.
39
40 .. image:: images/Collinear_res.png
41            :align: center
42
43 .. centered::
44    Created collinear constraint
45
46 **See Also** a sample TUI Script of :ref:`tui_create_collinear` operation.