+++ /dev/null
-
- .. _tui_create_fill:
-
-Create Fill
-===========
-
-.. literalinclude:: examples/fill.py
- :linenos:
- :language: python
-
-:download:`Download this script <examples/fill.py>`
-
--- /dev/null
+
+ .. _tui_create_bool_split:
+
+Create Split
+============
+
+.. literalinclude:: examples/bool_split.py
+ :linenos:
+ :language: python
+
+:download:`Download this script <examples/bool_split.py>`
+
--- /dev/null
+# -*- coding: utf-8 -*-
+
+from salome.shaper import model
+
+model.begin()
+partSet = model.moduleDocument()
+Part_1 = model.addPart(partSet)
+Part_1_doc = Part_1.document()
+Box_1 = model.addBox(Part_1_doc, 10, 10, 10)
+Cylinder_1 = model.addCylinder(Part_1_doc,
+ model.selection("VERTEX", "PartSet/Origin"),
+ model.selection("EDGE", "PartSet/OZ"), 5, 10)
+Fill_1 = model.addSplit(Part_1_doc,
+ [model.selection("SOLID", "Cylinder_1_1")],
+ [model.selection("SOLID", "Box_1_1")])
+model.do()
+model.end()
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-from salome.shaper import model
-
-model.begin()
-partSet = model.moduleDocument()
-Part_1 = model.addPart(partSet)
-Part_1_doc = Part_1.document()
-Box_1 = model.addBox(Part_1_doc, 10, 10, 10)
-Cylinder_1 = model.addCylinder(Part_1_doc,
- model.selection("VERTEX", "PartSet/Origin"),
- model.selection("EDGE", "PartSet/OZ"), 5, 10)
-Fill_1 = model.addFill(Part_1_doc,
- [model.selection("SOLID", "Cylinder_1_1")],
- [model.selection("SOLID", "Box_1_1")])
-model.do()
-model.end()
+++ /dev/null
-
-Fill
-====
-
-Fill feature implements a Boolean operation filling of main objects by parts of tool objects.
-
-To perform Fill in the active part:
-
-#. select in the Main Menu *Features - > Fill* item or
-#. click **Fill** button in the toolbar
-
-.. image:: images/bool_fill.png
- :align: center
-
-.. centered::
- **Fill** button
-
-The following property panel will be opened:
-
-.. image:: images/Fill.png
- :align: center
-
-.. centered::
- **Fill operation**
-
-- **Main Objects** contains a list of objects selected in the Object Browser or in the Viewer, which will be cut and filled by tool objects.
-- **Tool Objects** contains a list of objects selected in the Object Browser or in the Viewer, which will cut and fill the main objects.
-- **See preview** button shows a result of the operation.
-
-**TUI Command**: *model.addFill(Part_doc, mainObjects, toolObjects)*
-
-**Arguments**: Part + list of main objects + list of tool objects.
-
-Result
-""""""
-
-The Result of the operation will be a shape, which is a fill of tool objects with main objects:
-
-.. image:: images/CreatedFill.png
- :align: center
-
-.. centered::
- **Fill created**
-
-**See Also** a sample TUI Script of :ref:`tui_create_fill` operation.
--- /dev/null
+
+Split
+=====
+
+Split feature implements a Boolean operation splitting of main objects by parts of tool objects.
+
+To perform Split in the active part:
+
+#. select in the Main Menu *Features - > Split* item or
+#. click **Split** button in the toolbar
+
+.. image:: images/bool_split.png
+ :align: center
+
+.. centered::
+ **Split** button
+
+The following property panel will be opened:
+
+.. image:: images/Split.png
+ :align: center
+
+.. centered::
+ **Split operation**
+
+- **Main Objects** contains a list of objects selected in the Object Browser or in the Viewer, which will be cut and splitted by tool objects.
+- **Tool Objects** contains a list of objects selected in the Object Browser or in the Viewer, which will cut and split the main objects.
+- **See preview** button shows a result of the operation.
+
+**TUI Command**: *model.addSplit(Part_doc, mainObjects, toolObjects)*
+
+**Arguments**: Part + list of main objects + list of tool objects.
+
+Result
+""""""
+
+The Result of the operation will be a shape, which is a split of tool objects with main objects:
+
+.. image:: images/CreatedSplit.png
+ :align: center
+
+.. centered::
+ **Split created**
+
+**See Also** a sample TUI Script of :ref:`tui_create_bool_split` operation.
<source path="partition_widget.xml"/>
</feature>
<feature id="Split" title="Split" tooltip="Perform boolean split operation with objects"
- icon="icons/Features/bool_split.png" helpfile="fillFeature.html"
+ icon="icons/Features/bool_split.png" helpfile="splitFeature.html"
auto_preview="false">
<source path="boolean_split_widget.xml"/>
</feature>