+.. _sketchPerpendicular:
+.. |Perpendicular.icon| image:: images/Perpendicular.png
Perpendicular constraint
========================
-Perpendicular constraint fixes two lines to lie at 90 degrees to one another.
+Perpendicular constraint fixes two lines at 90 degrees to one another.
+For a line and a circle/arc the perpendicular constraint fixes the center of circle/arc to be on a line.
-To create Perpendicular in the active Sketch:
+To create a Perpendicular constraint in the active Sketch:
#. select in the Main Menu *Sketch - > Perpendicular* item or
-#. click **Perpendicular** button in Sketch toolbar:
-
-.. image:: images/perpendicular.png
- :align: center
-
-.. centered::
- **Perpendicular** button
+#. click |Perpendicular.icon| **Perpendicular** button in Sketch toolbar:
Property panel:
-.. image:: images/Perpendicular_panel.png
+.. figure:: images/Perpendicular_panel.png
:align: center
Input fields:
-- **First line** is the first line selected in the view.
-- **Second line** is the second line selected in the view.
+- **First object** is the first line, circle or arc selected in the view.
+- **Second object** is the second line, circle or arc selected in the view.
-After the lines are selected the special sign will be added to each of them in the view.
+After the objects are selected, a special sign will be added to each of them in the view.
-**TUI Command**: *Sketch_1.setPerpendicular(Line1, Line2)*
+If one of selected objects is circular, then another has to be a straight line.
-**Arguments**: 2 line objects
+**TUI Command**:
+
+.. py:function:: Sketch_1.setPerpendicular(Line1, Line2)
+
+ :param object: Line 1.
+ :param object: Line 2.
+ :return: Result object.
Result
""""""
Created Perpendicular constraint appears in the view.
-.. image:: images/Perpendicular_res.png
- :align: center
+.. figure:: images/Perpendicular_res.png
+ :align: center
-.. centered::
- Perpendicular constraint created
+ Created perpendicular constraint
-**See Also** a sample TUI Script of a :ref:`tui_create_perpendicular` operation.
+**See Also** a sample TUI Script of :ref:`tui_create_perpendicular` operation.