Salome HOME
Ameliorate help pages
[modules/shaper.git] / src / BuildPlugin / doc / shellFeature.rst
index b9fd21cd0a2ca2c6290c5523943f875d1438e2ac..cc576b676422768ba1954a8c7bf7acc79336b974 100644 (file)
@@ -1,19 +1,14 @@
+.. |feature_shell.icon|    image:: images/feature_shell.png
 
 Shell
 =====
 
-The Shell feature creates a shell using already existing faces in other objects.
+Shell feature creates a shell using faces already existing in other objects.
 
-To create shell in the active part:
+To create shell in the active part:
 
 #. select in the Main Menu *Build - > Shell* item  or
-#. click **Shell** button in the toolbar
-
-.. image:: images/feature_shell.png
-  :align: center
-
-.. centered::
-  **Shell** button
+#. click |feature_shell.icon| **Shell** 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 shell
   
-Select one or several faces in viewer.
+Select one or several faces in the viewer.
 
 **Apply** button creates a shell.
 
-**Cancel** button cancels operation. 
+**Cancel** button cancels the operation. 
+
+**TUI Command**:
 
-**TUI Command**:  *model.addShell(Part_doc, Objects)*
+.. py:function:: model.addShell(Part_doc, Objects)
 
-**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 shell created from selected shapes:
+The result of the operation will be a shell created from the selected shapes:
 
 .. image:: images/CreateShell.png
   :align: center
@@ -44,4 +43,4 @@ The result of the operation will be shell created from selected shapes:
 .. centered::
   Result of the operation.
 
-**See Also** a sample TUI Script of :ref:`tui_create_shell` operation.
+**See Also** a sample TUI Script of :ref:`tui_create_shell` operation.