X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2Fdoc%2FdistanceFeature.rst;h=72e655ff0dd1445a99d79e57845de9ba6493553d;hb=6bad862cf9d6878dad7e42eebb3153c08115a308;hp=9f5515528d75b80200bc1059fcf07329ea703086;hpb=bcd96990e1fca77402d522bc8b095ebfa1091894;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/doc/distanceFeature.rst b/src/SketchPlugin/doc/distanceFeature.rst index 9f5515528..72e655ff0 100644 --- a/src/SketchPlugin/doc/distanceFeature.rst +++ b/src/SketchPlugin/doc/distanceFeature.rst @@ -1,3 +1,4 @@ +.. |distance.icon| image:: images/distance.png Distance constraint =================== @@ -9,13 +10,7 @@ The constraint can be defined between such objects as point, line, line or arc e To create a Distance constraint in the active Sketch: #. select in the Main Menu *Sketch - > Distance* item or -#. click **Distance** button in Sketch toolbar: - -.. image:: images/distance.png - :align: center - -.. centered:: - **Distance** button +#. click |distance.icon| **Distance** button in Sketch toolbar: Property panel: @@ -54,9 +49,15 @@ When creating a constraint after selection of two objects for the first time: .. centered:: Distance input in the view -**TUI Command**: *Sketch_1.setDistance(FirstObject, SecondObject, Value, KeepOrientation)* +**TUI Command**: + +.. py:function:: Sketch_1.setDistance(FirstObject, SecondObject, Value, KeepOrientation) -**Arguments**: 2 objects + distance value + keep orientation flag + :param object: First object. + :param object: Second object. + :param real: Value. + :param boolean: Keep orientation flag. + :return: Result object. Result """"""