1 .. _sketchPerpendicular:
2 .. |perpendicular.icon| image:: images/perpendicular.png
4 Perpendicular constraint
5 ========================
7 Perpendicular constraint fixes two lines at 90 degrees to one another.
9 To create a Perpendicular constraint in the active Sketch:
11 #. select in the Main Menu *Sketch - > Perpendicular* item or
12 #. click |perpendicular.icon| **Perpendicular** button in Sketch toolbar:
16 .. image:: images/Perpendicular_panel.png
21 - **First line** is the first line selected in the view.
22 - **Second line** is the second line selected in the view.
24 After the lines are selected, a special sign will be added to each of them in the view.
28 .. py:function:: Sketch_1.setPerpendicular(Line1, Line2)
30 :param object: Line 1.
31 :param object: Line 2.
32 :return: Result object.
37 Created Perpendicular constraint appears in the view.
39 .. image:: images/Perpendicular_res.png
43 Created perpendicular constraint
45 **See Also** a sample TUI Script of :ref:`tui_create_perpendicular` operation.