Salome HOME
29f0db1b5068625ad5340cce7f5972b29c28fb4a
[modules/shaper.git] / src / SketchPlugin / doc / verticalFeature.rst
1
2 Vertical constraint
3 ===================
4
5 Vertical constraint fixes lines as parallel to the vertical axis.
6
7 To create a Vertical constraint in the active Sketch:
8
9 #. select in the Main Menu *Sketch - > Vertical* item  or
10 #. click **Vertical** button in Sketch toolbar:
11
12 .. image:: images/vertical.png
13    :align: center
14
15 .. centered::
16    **Vertical**  button
17
18 Property panel:
19
20 .. image:: images/Vertical_panel.png
21    :align: center
22
23 Input fields:
24
25 - **Line** is the line selected in the view.
26
27 | After the line is selected it becomes parallel to the vertical axis in the view.
28 | **V** sign is added above the line.
29
30 **TUI Command**: *Sketch_1.setVertical(LineObject)*
31
32 **Arguments**:  1 line object
33
34 Result
35 """"""
36
37 Created Vertical constraint appears in the view.
38
39 .. image:: images/Vertical_res.png
40            :align: center
41
42 .. centered::
43    Vertical constraint created
44
45 **See Also** a sample TUI Script of :ref:`tui_create_vertical` operation.