Salome HOME
[bos #37570] [CEA] SHAPER hdf tests are failing. Fix Sphere feature attributes order.
[modules/shaper.git] / src / SketchPlugin / doc / verticalFeature.rst
index 4b705ef401acd0aab7eb6bc6ef758f7c2a2110d9..f1ff8e59f2192cd6b5157c6b974e612a9ea36c44 100644 (file)
@@ -1,3 +1,42 @@
+.. |vertical.icon|    image:: images/Vertical.png
 
 Vertical constraint
 ===================
+
+Vertical constraint fixes lines as parallel to the vertical axis.
+
+To create a Vertical constraint in the active Sketch:
+
+#. 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.