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