X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2Fdoc%2FmiddleFeature.rst;h=01a536a9ccde346075cbdff2bb7b7edf06278775;hb=629889bb85c8e4d8446651e8b597f20c14714aa1;hp=75ff8a7657682025b0b8c1bdd60b3417106efbe5;hpb=db1f629785c83f9691b1707b3fd11a26625c7a26;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/doc/middleFeature.rst b/src/SketchPlugin/doc/middleFeature.rst index 75ff8a765..01a536a9c 100644 --- a/src/SketchPlugin/doc/middleFeature.rst +++ b/src/SketchPlugin/doc/middleFeature.rst @@ -1,19 +1,14 @@ +.. |middlepoint.icon| image:: images/middlepoint.png Middle point constraint ======================= -Middle point constraint makes one point to lie in the middle of a line. +Middle point constraint forces a point to middle of a line. -To create Middle point in the active Sketch: +To create a Middle point in the active Sketch: #. select in the Main Menu *Sketch - > Middle point* item or -#. click **Middle point** button in Sketch toolbar: - -.. image:: images/middlepoint.png - :align: center - -.. centered:: - **Middle point** button +#. click |middlepoint.icon| **Middle point** button in Sketch toolbar: Property panel: @@ -25,14 +20,18 @@ Input fields: - **First object** is a point or a line selected in the view. - **Second object** is a point or a line selected in the view. -Note that one of two objects should be a line and another one a point (i.e. a point, a line or an arc end point, a center of a circle or an arc). +Note that one of two objects should be a line and the other a point (i.e. a point, a line or an arc end point, a center of a circle or an arc). + +| After the objects are selected, the point is moved to the middle of the line. +| The middle points are marked with a special sign. -| After the objects are selected the point becomes located in the middle of the line. -| The middle point are marked with the special sign. +**TUI Command**: -**TUI Command**: *Sketch_1.setMiddlePoint(Point, Line)* +.. py:function:: Sketch_1.setMiddlePoint(Point, Line) -**Arguments**: 2 objects (the first is a point, the second one is a line) + :param object: A point. + :param object: A line. + :return: Result object. Result """""" @@ -43,6 +42,6 @@ Created Middle point constraint appears in the view. :align: center .. centered:: - Middle point constraint created + Created middle point constraint -**See Also** a sample TUI Script of a :ref:`tui_create_middle` operation. +**See Also** a sample TUI Script of :ref:`tui_create_middle` operation.