Salome HOME
Merge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/shaper
[modules/shaper.git] / src / BuildPlugin / doc / compsolidFeature.rst
index 59428f615642f7802ebdf032388e49dca83d6282..5f5c3feb630c892eb41e8ff16344ac71a15d5a47 100644 (file)
@@ -1,10 +1,44 @@
+.. |feature_compsolid.icon|    image:: images/feature_compsolid.png
 
 CompSolid
 =========
 
+Compsolid feature creates a compsolid using shapes already existing in other objects.
 
-.. image:: images/Compsolid.png
+To create a compsolid in the active part:
+
+#. select in the Main Menu *Build - > CompSolid* item  or
+#. click |feature_compsolid.icon| **CompSolid** button in the toolbar
+
+The following property panel will be opened:
+
+.. figure:: images/Compsolid.png
   :align: center
 
-.. centered::
   Create a compsolid
+
+Select one or several shapes in the viewer.
+
+**Apply** button creates a compsolid.
+
+**Cancel** button cancels the operation. 
+
+**TUI Command**:
+
+.. py:function:: model.addCompSolid(Part_doc, Shapes)
+
+    :param part: The current part object.
+    :param list: A list of shapes.
+    :return: Result object.
+
+Result
+""""""
+
+The result of the operation will be a compsolid created from the selected shapes:
+
+.. figure:: images/CreateCompsolid.png
+  :align: center
+
+  Result of the operation.
+
+**See Also** a sample TUI Script of :ref:`tui_create_compsolid` operation.