Salome HOME
Merge branch HELP_DOCUMENTATION_EDITING into master.
[modules/shaper.git] / src / SketchPlugin / doc / horizontalFeature.rst
1
2 Horizontal constraint
3 =====================
4
5 Horizontal constraint fixes lines to lie parallel to the horizontal axis.
6
7 To create Horizontal constraint in the active Sketch:
8
9 #. select in the Main Menu *Sketch - > Horizontal* item  or
10 #. click **Horizontal** button in Sketch toolbar:
11
12 .. image:: images/horisontal.png
13    :align: center
14
15 .. centered::
16    **Horizontal**  button
17
18 Property panel:
19
20 .. image:: images/Horizontal_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 horizontal axis in the view.
28 | **H** sign added above the line.
29
30 **TUI Command**: *Sketch_1.setHorizontal(LineObject)*
31
32 **Arguments**:  1 line object
33
34 Result
35 """"""
36
37 Created Horizontal constraint appears in the view.
38
39 .. image:: images/Horizontal_res.png
40            :align: center
41
42 .. centered::
43    Horizontal constraint created
44
45 **See Also** a sample TUI Script of a :ref:`tui_create_horizontal` operation.