Salome HOME
Ameliorate help pages
[modules/shaper.git] / src / BuildPlugin / doc / solidFeature.rst
index 63cf6693a5c81a14cc103c7b6343e1b2fb22e870..e374577be10f3c6729bdf4a6894536bc75f2d9fc 100644 (file)
@@ -1,19 +1,14 @@
+.. |feature_solid.icon|    image:: images/feature_solid.png
 
 Solid
 =====
 
-The Solid feature creates a solid using already existing faces in other objects.
+Solid feature creates a solid using faces already existing in other objects.
 
-To create solid in the active part:
+To create solid in the active part:
 
 #. select in the Main Menu *Build - > Solid* item  or
-#. click **Solid** button in the toolbar
-
-.. image:: images/feature_solid.png
-  :align: center
-
-.. centered::
-  **Solid** button
+#. click |feature_solid.icon| **Solid** button in the toolbar
 
 The following property panel will be opened:
 
@@ -23,20 +18,24 @@ The following property panel will be opened:
 .. centered::
   Create a solid
   
-Select one or several faces in viewer. Selected faces have to define a closed volume
+Select one or several faces in the viewer. The selected faces have to define a closed volume.
+
+**Apply** button creates a solid.
 
-**Apply** button creates solid.
+**Cancel** button cancels the operation. 
 
-**Cancel** button cancels operation. 
+**TUI Command**:
 
-**TUI Command**:  *model.addSolid(Part_doc, Shapes)*
+.. py:function:: model.addSolid(Part_doc, Shapes)
 
-**Arguments**:   Part document + list of 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 solid created from selected shapes:
+The result of the operation will be a solid created from the selected shapes:
 
 .. image:: images/CreateSolid.png
   :align: center
@@ -44,4 +43,4 @@ The result of the operation will be a solid created from selected shapes:
 .. centered::
   Result of the operation.
 
-**See Also** a sample TUI Script of :ref:`tui_create_solid` operation.
+**See Also** a sample TUI Script of :ref:`tui_create_solid` operation.