X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FBuildPlugin%2Fdoc%2FsubShapesFeature.rst;fp=src%2FBuildPlugin%2Fdoc%2FsubShapesFeature.rst;h=276245b475ceabb09eeada5c6b2c591fa68c96e6;hb=0fcd69345a4dfdb31e252574c68bc70e123999e8;hp=d1b767232f6dab1cfe15b35dcf05f02d38af885c;hpb=b7ec3c27f028060b3c42b7da6fa3dfe962fe26e4;p=modules%2Fshaper.git diff --git a/src/BuildPlugin/doc/subShapesFeature.rst b/src/BuildPlugin/doc/subShapesFeature.rst index d1b767232..276245b47 100644 --- a/src/BuildPlugin/doc/subShapesFeature.rst +++ b/src/BuildPlugin/doc/subShapesFeature.rst @@ -1,3 +1,4 @@ +.. |feature_subshapes.icon| image:: images/feature_subshapes.png Sub-shapes ========== @@ -10,13 +11,7 @@ The feature **Sub-shapes** modifies the selected entity by creating a non-manifo To create Sub-shapes in the active part: #. select in the Main Menu *Build - > Sub-shapes* item or -#. click **Sub-shapes** button in the toolbar - -.. image:: images/feature_subshapes.png - :align: center - -.. centered:: - **Sub-shapes** button +#. click |feature_subshapes.icon| **Sub-shapes** button in the toolbar The following property panel appears. @@ -31,9 +26,14 @@ Input fields: - **Shape** panel contains the shape to be modified. The shape is selected in 3D OCC viewer or object browser. For today it has to be a wire or a face; - **Sub-shapes** panel contains the list of sub-shapes which are already included into result. A sub-shape can be deleted from the list or the list can be extended with new shapes selected in the view. -**TUI Command**: *model.addSubShapes(Part_doc, shape, sub-shapes)* +**TUI Command**: + +.. py:function:: model.addSubShapes(Part_doc, shape, sub-shapes) -**Arguments**: 1 part + shape in format *model.selection(TYPE, shape)* + list of sub-shapes in format *model.selection(TYPE, subshape)*. + :param part: The current part object. + :param object: A shape in format *model.selection(TYPE, shape)*. + :param list: A list of sub-shapes in format *model.selection(TYPE, subshape)*. + :return: Result object. Result """"""