X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FSketchPlugin%2Fdoc%2FperpendicularFeature.rst;h=a3e22a5a4bca1fd3253c5713f9eb01faebb10d6b;hb=4a800cf754a8ba8485f5320ca1b4b6f308b622a7;hp=3c411968866a97ee32fab5b06c4d078d2c6835b0;hpb=1c74a4ef1b175266becd65969077f12af764e7e2;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/doc/perpendicularFeature.rst b/src/SketchPlugin/doc/perpendicularFeature.rst index 3c4119688..a3e22a5a4 100644 --- a/src/SketchPlugin/doc/perpendicularFeature.rst +++ b/src/SketchPlugin/doc/perpendicularFeature.rst @@ -1,10 +1,47 @@ +.. _sketchPerpendicular: +.. |Perpendicular.icon| image:: images/Perpendicular.png Perpendicular constraint ======================== +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. -.. image:: images/Perpendicular.png - :align: center +To create a Perpendicular constraint in the active Sketch: -.. centered:: - Create a perpendicular constraint +#. select in the Main Menu *Sketch - > Perpendicular* item or +#. click |Perpendicular.icon| **Perpendicular** button in Sketch toolbar: + +Property panel: + +.. figure:: images/Perpendicular_panel.png + :align: center + +Input fields: + +- **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 objects are selected, a special sign will be added to each of them in the view. + +If one of selected objects is circular, then another has to be a straight line. + +**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. + +.. figure:: images/Perpendicular_res.png + :align: center + + Created perpendicular constraint + +**See Also** a sample TUI Script of :ref:`tui_create_perpendicular` operation.