Salome HOME
1. Manage color of construction point using preferences dialog box.
[modules/shaper.git] / src / SketchPlugin / doc / verticalFeature.rst
index 61b76aae6c5d059eb4f4293dd90a4fbad79dce81..f1ff8e59f2192cd6b5157c6b974e612a9ea36c44 100644 (file)
@@ -1,10 +1,42 @@
+.. |vertical.icon|    image:: images/Vertical.png
 
 Vertical constraint
 ===================
 
+Vertical constraint fixes lines as parallel to the vertical axis.
 
-.. image:: images/Vertical.png
-  :align: center
+To create a Vertical constraint in the active Sketch:
 
-.. centered::
-  Create a vertical constraint
+#. select in the Main Menu *Sketch - > Vertical* item  or
+#. click |vertical.icon| **Vertical** button in Sketch toolbar:
+
+Property panel:
+
+.. figure:: images/Vertical_panel.png
+   :align: center
+
+Input fields:
+
+- **Line** is the line selected in the view.
+
+| After the line is selected it becomes parallel to the vertical axis in the view.
+| **V** sign is added above the line.
+
+**TUI Command**:
+
+.. py:function:: Sketch_1.setVertical(LineObject)
+
+    :param object: A line.
+    :return: Result object.
+
+Result
+""""""
+
+Created Vertical constraint appears in the view.
+
+.. figure:: images/Vertical_res.png
+   :align: center
+
+   Vertical constraint created
+
+**See Also** a sample TUI Script of :ref:`tui_create_vertical` operation.