X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FFeaturesPlugin%2Fdoc%2FplacementFeature.rst;h=6ce1e3ea7057994ea5c4bd9ca95c6a19c2ba6620;hb=0fcd69345a4dfdb31e252574c68bc70e123999e8;hp=91b7b38ab458c372c65f381670a0c7ac8775f55f;hpb=b7ec3c27f028060b3c42b7da6fa3dfe962fe26e4;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/doc/placementFeature.rst b/src/FeaturesPlugin/doc/placementFeature.rst index 91b7b38ab..6ce1e3ea7 100644 --- a/src/FeaturesPlugin/doc/placementFeature.rst +++ b/src/FeaturesPlugin/doc/placementFeature.rst @@ -1,3 +1,4 @@ +.. |placement_btn.icon| image:: images/placement_btn.png Placement ========= @@ -5,13 +6,7 @@ Placement Placement defines position of an object relatively to another object. To make a placement: #. select in the Main Menu *Part - > Placement* item or -#. click **Placement** button in the toolbar - -.. image:: images/placement_btn.png - :align: center - -.. centered:: - **Placement** button +#. click |placement_btn.icon| **Placement** button in the toolbar The following property panel will be opened: @@ -32,14 +27,21 @@ In this property panel, it is necessary to: - Define state of **Reverse** and **Centering** check boxes. - **Apply** button creates the placement. **Cancel** button cancels the operation. -**TUI Command**: *model.addPlacement(Part_doc, placeObjects, startShape, endShape, isReverse, isCentering)* +**TUI Command**: + +.. py:function:: model.addPlacement(Part_doc, placeObjects, startShape, endShape, isReverse, isCentering) -**Arguments**: Part + list of objects to move + start shape + end shape + is reverse flag + is centering flag. + :param part: The current part object. + :param list: A list of objects to move. + :param object: A start shape. + :param object: A end shape. + :param bool: Is reverse flag. + :param bool: Is centering flag. + :return: Created object. Result """"""