X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2Fdoc%2FlinearCopyFeature.rst;h=a989daa7f0388049baae9ab7cd04e4dfab1cec83;hb=0fcd69345a4dfdb31e252574c68bc70e123999e8;hp=1ff76b982c4db01a4213b3f59fc9ad93a2349460;hpb=db1f629785c83f9691b1707b3fd11a26625c7a26;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/doc/linearCopyFeature.rst b/src/FeaturesPlugin/doc/linearCopyFeature.rst index 1ff76b982..a989daa7f 100644 --- a/src/FeaturesPlugin/doc/linearCopyFeature.rst +++ b/src/FeaturesPlugin/doc/linearCopyFeature.rst @@ -1,19 +1,14 @@ +.. |multitranslation.icon| image:: images/multitranslation.png Linear copy =========== -The feature **Linear copy** makes several translations of a selected shape in one or two directions. +**Linear copy** feature makes several translations of a selected shape in one or two directions. -To create Linear copy in the active part: +To create a Linear copy in the active part: #. select in the Main Menu *Part - > Linear copy* item or -#. click **Linear copy** button in the toolbar - -.. image:: images/multitranslation.png - :align: center - -.. centered:: - **Linear copy** button +#. click |multitranslation.icon| **Linear copy** button in the toolbar The following property panel appears. @@ -38,18 +33,28 @@ Input fields: - **Step** defines the distance between the shape copies; - **Nb. Copies** defines the number of shape copies. -**TUI Command**: *model.addMultiTranslation(Part_doc, [shape], axis1, step1, Nb1, axis2, step2, Nb2)* +**TUI Command**: + +.. py:function:: model.addMultiTranslation(Part_doc, [shape], axis1, step1, Nb1, axis2, step2, Nb2) -**Arguments**: part + list of shapes in format *model.selection(TYPE, shape)* + 2 axis in format *model.selection(TYPE, shape)*+ 2 real (step values) + 2 integers (Nb. Copies). + :param part: The current part object. + :param list: A list of shapes in format *model.selection(TYPE, shape)*. + :param object: A first axis in format *model.selection(TYPE, shape)*. + :param real: The first step value. + :param integer: The first number of copies. + :param object: A second axis in format *model.selection(TYPE, shape)*. + :param real: The second step value. + :param integer: The second number of copies. + :return: Created object. Result """""" -Result of operation is compound. +Result of operation is a compound. -.. image:: images/linearcopy.png +.. image:: images/linearcopyres.png :align: center .. centered:: Linear copy -**See Also** a sample TUI Script of a :ref:`tui_create_linearcopy` operation. \ No newline at end of file +**See Also** a sample TUI Script of :ref:`tui_create_linearcopy` operation. \ No newline at end of file