X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=inline;f=src%2FSketchPlugin%2Fdoc%2FtranslationFeature.rst;h=596057b718b73664d95fc14f1c1e7882630da529;hb=4a800cf754a8ba8485f5320ca1b4b6f308b622a7;hp=90b89ce66dcb07dd53be5404cf4e936b6242a030;hpb=1c74a4ef1b175266becd65969077f12af764e7e2;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/doc/translationFeature.rst b/src/SketchPlugin/doc/translationFeature.rst index 90b89ce66..596057b71 100644 --- a/src/SketchPlugin/doc/translationFeature.rst +++ b/src/SketchPlugin/doc/translationFeature.rst @@ -1,10 +1,59 @@ +.. |translate.icon| image:: images/translate.png Linear copy =========== +Linear copy operation creates one or multiple copies of the sketch entities along a vector defined by two points. -.. image:: images/LinearCopy.png - :align: center +To create a Linear copy in the active Sketch: -.. centered:: - Create a linear copy +#. select in the Main Menu *Sketch - > Linear copy* item or +#. click |translate.icon| **Linear copy** button in Sketch toolbar: + +Property panel: + +.. figure:: images/Linear_panel.png + :align: center + + Linear copy + + +.. |single_value| image:: images/translate_32x32.png +.. |full_value| image:: images/translate_full_32x32.png + +Input fields: + +- **Segments** is the list of segments (lines, circles, arcs) selected in the view. +- **Single value/Full value** option: + | |single_value| **Single value**: step of translation is equal to the distance between the start and the end point. + | |full_value| **Full value**: distance from the originals to the farthest copies is equal to the distance between the start and the end point. +- **Start point** is the initial point of translation vector. +- **End point** is the terminal point of translation vector. +- **Total number of objects** is the total number of objects including the original one. + + +**TUI Command**: + +.. py:function:: Sketch_1.addTranslation(Objects, Point1, Point2, NumberOfObjects, FullValue) + + :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 a special sign. +| Copy objects are drawn with a thinner line. + +.. figure:: images/Linear_res.png + :align: center + + Linear copy created + +**See Also** a sample TUI Script of :ref:`tui_create_translation` operation.