X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2Fdoc%2FmiddleFeature.rst;h=a6d0142f81a810bb34152d9c8551e108e2a11abe;hb=a75b67fb7c1a4d8bf4acec94ecd441a48415634d;hp=01a536a9ccde346075cbdff2bb7b7edf06278775;hpb=0fcd69345a4dfdb31e252574c68bc70e123999e8;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/doc/middleFeature.rst b/src/SketchPlugin/doc/middleFeature.rst index 01a536a9c..a6d0142f8 100644 --- a/src/SketchPlugin/doc/middleFeature.rst +++ b/src/SketchPlugin/doc/middleFeature.rst @@ -1,4 +1,4 @@ -.. |middlepoint.icon| image:: images/middlepoint.png +.. |middlepoint.icon| image:: images/MiddlePoint.png Middle point constraint ======================= @@ -10,9 +10,27 @@ To create a Middle point in the active Sketch: #. select in the Main Menu *Sketch - > Middle point* item or #. click |middlepoint.icon| **Middle point** button in Sketch toolbar: +There are 2 algorithms for creation of a middle constraint: + +.. figure:: images/MiddlePoint.png + :align: left + :height: 24px + +**By object and point** create a middle constraint by object (segment or arc) and point + +.. figure:: images/MiddlePoint_obj.png + :align: left + :height: 24px + +**By object** create a middle point on the object (segment or arc) + +------------------------------------------------------------------------------------------- + +By object and point +"""""""""""""""""""""""""" Property panel: -.. image:: images/Middlepoint_panel.png +.. figure:: images/Middlepoint_obj_point_panel.png :align: center Input fields: @@ -38,10 +56,40 @@ Result Created Middle point constraint appears in the view. -.. image:: images/Middlepoint_res.png - :align: center +.. figure:: images/Middlepoint_obj_point_res.png + :align: center + + Created middle point constraint + +By object +"""""""""""""""""""""""""" +Property panel: + +.. figure:: images/Middlepoint_obj_panel.png + :align: center + +Input fields: + +- **Object** is a line selected in the view. + +| After the object are selected, will be created auxiliary point on the middle of the line. +| The middle points are marked with a special sign. + +**TUI Command**: + +.. py:function:: SketchPoint_1 = Sketch_1.setMiddlePoint(Line) + + :param object: A line. + :return: Created middle point. + +Result +"""""" + +Created Middle point constraint appears in the view. + +.. figure:: images/Middlepoint_obj_res.png + :align: center -.. centered:: Created middle point constraint **See Also** a sample TUI Script of :ref:`tui_create_middle` operation.