Salome HOME
Correct documentation bugs, adapt for 'Read The Docs' theme (bos #18858)
[modules/shaper.git] / src / FeaturesPlugin / doc / fuseFeature.rst
index c8c84cfdcc4d35b29c5e1f1fb85d83dba97c9816..739d249f6b883eecbe736eec7c0a1542aaa78d35 100644 (file)
@@ -1,3 +1,5 @@
+.. |bool_fuse.icon|    image:: images/bool_fuse.png
+   :height: 16px
 
 Fuse
 ====
@@ -7,24 +9,23 @@ Fuse feature implements a Boolean operation for fusion of a set of main objects
 To perform Fuse in the active part:
 
 #. select in the Main Menu *Features - > Fuse* item  or
-#. click **Fuse** button in the toolbar
-
-.. image:: images/bool_fuse.png
-   :align: center
-
-.. centered::
-   **Fuse**  button 
+#. click |bool_fuse.icon| **Fuse** button in the toolbar
 
 There are 2 options for creation of a Fuse:
 
 .. image:: images/bool_fuse_simple.png
    :align: left
+   :height: 24px
+
 **Simple** simply fuses selected objects.
 
 .. image:: images/bool_fuse_advanced.png
    :align: left
+   :height: 24px
+
 **Advanced** fuse with additional functionality for subshapes of compsolids/compounds.
 
+--------------------------------------------------------------------------------
 
 Simple
 ------
@@ -40,9 +41,14 @@ Simple
 - **Remove intersection edges** -  if enabled, edges that lie on the same surface will be removed.
 - **See preview** - button shows a result of the operation.
 
-**TUI Command**:  *model.addFuse(Part_doc, objects, isRemoveEdges)*
+**TUI Command**:
 
-**Arguments**:   Part + list of objects + remove edges flag (optional).
+.. py:function:: model.addFuse(Part_doc, objects, isRemoveEdges)
+
+    :param part: The current part object.
+    :param list: A list of objects.
+    :param boolean: Remove edges flag (optional).
+    :return: Created object.
 
 Result
 """"""
@@ -74,9 +80,15 @@ Advanced
 - **Remove intersection edges** - if enabled, edges that lie on the same surface will be removed.
 - **See preview** - button shows a result of the operation.
 
-**TUI Command**:  *model.addFuse(Part_doc, objects, tools, isRemoveEdges)*
+**TUI Command**:
+
+.. py:function:: model.addFuse(Part_doc, objects, tools, isRemoveEdges)
 
-**Arguments**:   Part + list of objects + list of tools + remove edges flag (optional).
+    :param part: The current part object.
+    :param list: A list of objects.
+    :param list: A list of tools.
+    :param boolean: Remove edges flag (optional).
+    :return: Created object.
 
 Result
 """"""