X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2Fdoc%2FtranslationFeature.rst;h=db2478fbd41ac4bfe0b44c0c095553959f089f53;hb=0fcd69345a4dfdb31e252574c68bc70e123999e8;hp=6221fd8236aeeb6bf06bbe9c661d2407cef19cd1;hpb=db1f629785c83f9691b1707b3fd11a26625c7a26;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/doc/translationFeature.rst b/src/SketchPlugin/doc/translationFeature.rst index 6221fd823..db2478fbd 100644 --- a/src/SketchPlugin/doc/translationFeature.rst +++ b/src/SketchPlugin/doc/translationFeature.rst @@ -1,19 +1,14 @@ +.. |translate.icon| image:: images/translate.png Linear copy =========== -Linear copy operation creates one or multiple copies of the skecth entities along a vector defined by two points. +Linear copy operation creates one or multiple copies of the sketch entities along a vector defined by two points. -To create Linear copy in the active Sketch: +To create a Linear copy in the active Sketch: #. select in the Main Menu *Sketch - > Linear copy* item or -#. click **Linear copy** button in Sketch toolbar: - -.. image:: images/translate.png - :align: center - -.. centered:: - **Linear copy** button +#. click |translate.icon| **Linear copy** button in Sketch toolbar: Property panel: @@ -40,16 +35,23 @@ Input fields: - **Total number of objects** is the total number of objects including the original one. -**TUI Command**: *Sketch_1.addTranslation(Objects, Point1, Point2, NumberOfObjects, FullValue)* +**TUI Command**: + +.. py:function:: Sketch_1.addTranslation(Objects, Point1, Point2, NumberOfObjects, FullValue) -**Arguments**: list of objects + start and end points + number of objects + full value flag + :param list: A list of objects. + :param object: Start point. + :param object: End point. + :param integer: Number of objects. + :param boolean: Full value flag. + :return: Result object. Result """""" Created Linear copy appears in the view. -| The original and a linear copy objects are marked with the special sign. +| The original and a linear copy objects are marked with a special sign. | Copy objects are drawn with a thinner line. .. image:: images/Linear_res.png @@ -58,4 +60,4 @@ Created Linear copy appears in the view. .. centered:: Linear copy created -**See Also** a sample TUI Script of a :ref:`tui_create_translation` operation. +**See Also** a sample TUI Script of :ref:`tui_create_translation` operation.