Salome HOME
1. Manage color of construction point using preferences dialog box.
[modules/shaper.git] / src / SketchPlugin / doc / horizontalFeature.rst
1 .. |horisontal.icon|    image:: images/horisontal.png
2
3 Horizontal constraint
4 =====================
5
6 Horizontal constraint fixes lines as parallel to the horizontal axis.
7
8 To create a Horizontal constraint in the active Sketch:
9
10 #. select in the Main Menu *Sketch - > Horizontal* item  or
11 #. click |horisontal.icon| **Horizontal** button in Sketch toolbar:
12
13 Property panel:
14
15 .. figure:: images/Horizontal_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 horizontal axis in the view.
23 | **H** sign is added above the line.
24
25 **TUI Command**:
26
27 .. py:function:: Sketch_1.setHorizontal(LineObject)
28
29     :param object: A line.
30     :return: Result object.
31
32 Result
33 """"""
34
35 Created Horizontal constraint appears in the view.
36
37 .. figure:: images/Horizontal_res.png
38    :align: center
39
40    Horizontal constraint created
41
42 **See Also** a sample TUI Script of :ref:`tui_create_horizontal` operation.