Salome HOME
Change icons for chamfer
[modules/shaper.git] / src / SketchPlugin / doc / perpendicularFeature.rst
1 .. _sketchPerpendicular:
2 .. |perpendicular.icon|    image:: images/perpendicular.png
3
4 Perpendicular constraint
5 ========================
6
7 Perpendicular constraint fixes two lines at 90 degrees to one another.
8
9 To create a Perpendicular constraint in the active Sketch:
10
11 #. select in the Main Menu *Sketch - > Perpendicular* item  or
12 #. click |perpendicular.icon| **Perpendicular** button in Sketch toolbar:
13
14 Property panel:
15
16 .. image:: images/Perpendicular_panel.png
17    :align: center
18
19 Input fields:
20
21 - **First line** is the first line selected in the view.
22 - **Second line** is the second line selected in the view.
23
24 After the lines are selected, a special sign will be added to each of them in the view.
25
26 **TUI Command**:
27
28 .. py:function:: Sketch_1.setPerpendicular(Line1, Line2)
29
30     :param object: Line 1.
31     :param object: Line 2.
32     :return: Result object.
33
34 Result
35 """"""
36
37 Created Perpendicular constraint appears in the view.
38
39 .. image:: images/Perpendicular_res.png
40            :align: center
41
42 .. centered::
43    Created perpendicular constraint
44
45 **See Also** a sample TUI Script of :ref:`tui_create_perpendicular` operation.