1 .. _sketchPerpendicular:
3 Perpendicular constraint
4 ========================
6 Perpendicular constraint fixes two lines at 90 degrees to one another.
8 To create a Perpendicular constraint in the active Sketch:
10 #. select in the Main Menu *Sketch - > Perpendicular* item or
11 #. click **Perpendicular** button in Sketch toolbar:
13 .. image:: images/perpendicular.png
17 **Perpendicular** button
21 .. image:: images/Perpendicular_panel.png
26 - **First line** is the first line selected in the view.
27 - **Second line** is the second line selected in the view.
29 After the lines are selected, a special sign will be added to each of them in the view.
31 **TUI Command**: *Sketch_1.setPerpendicular(Line1, Line2)*
33 **Arguments**: 2 line objects
38 Created Perpendicular constraint appears in the view.
40 .. image:: images/Perpendicular_res.png
44 Created perpendicular constraint
46 **See Also** a sample TUI Script of :ref:`tui_create_perpendicular` operation.