]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Renaming Fill in Split : Help
authorClarisse GENRAULT - DEN/DANS/DM2S/STMF/LGLS - 2012/10/01 <cg246364@is231796.intra.cea.fr>
Thu, 7 Mar 2019 07:52:29 +0000 (08:52 +0100)
committerClarisse GENRAULT - DEN/DANS/DM2S/STMF/LGLS - 2012/10/01 <cg246364@is231796.intra.cea.fr>
Thu, 7 Mar 2019 07:52:29 +0000 (08:52 +0100)
13 files changed:
src/FeaturesPlugin/doc/TUI_fillFeature.rst [deleted file]
src/FeaturesPlugin/doc/TUI_splitFeature.rst [new file with mode: 0644]
src/FeaturesPlugin/doc/examples/bool_split.py [new file with mode: 0644]
src/FeaturesPlugin/doc/examples/fill.py [deleted file]
src/FeaturesPlugin/doc/fillFeature.rst [deleted file]
src/FeaturesPlugin/doc/images/CreatedFill.png [deleted file]
src/FeaturesPlugin/doc/images/CreatedSplit.png [new file with mode: 0644]
src/FeaturesPlugin/doc/images/Fill.png [deleted file]
src/FeaturesPlugin/doc/images/Split.png [new file with mode: 0644]
src/FeaturesPlugin/doc/images/bool_fill.png [deleted file]
src/FeaturesPlugin/doc/images/bool_split.png [new file with mode: 0644]
src/FeaturesPlugin/doc/splitFeature.rst [new file with mode: 0644]
src/FeaturesPlugin/plugin-Features.xml

diff --git a/src/FeaturesPlugin/doc/TUI_fillFeature.rst b/src/FeaturesPlugin/doc/TUI_fillFeature.rst
deleted file mode 100644 (file)
index becb9ee..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-
-  .. _tui_create_fill:
-
-Create Fill
-===========
-
-.. literalinclude:: examples/fill.py
-    :linenos:
-    :language: python
-
-:download:`Download this script <examples/fill.py>` 
-   
diff --git a/src/FeaturesPlugin/doc/TUI_splitFeature.rst b/src/FeaturesPlugin/doc/TUI_splitFeature.rst
new file mode 100644 (file)
index 0000000..8ed72fc
--- /dev/null
@@ -0,0 +1,12 @@
+
+  .. _tui_create_bool_split:
+
+Create Split
+============
+
+.. literalinclude:: examples/bool_split.py
+    :linenos:
+    :language: python
+
+:download:`Download this script <examples/bool_split.py>` 
+   
diff --git a/src/FeaturesPlugin/doc/examples/bool_split.py b/src/FeaturesPlugin/doc/examples/bool_split.py
new file mode 100644 (file)
index 0000000..0eaec82
--- /dev/null
@@ -0,0 +1,17 @@
+# -*- 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()
diff --git a/src/FeaturesPlugin/doc/examples/fill.py b/src/FeaturesPlugin/doc/examples/fill.py
deleted file mode 100644 (file)
index 866345f..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-# -*- 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()
diff --git a/src/FeaturesPlugin/doc/fillFeature.rst b/src/FeaturesPlugin/doc/fillFeature.rst
deleted file mode 100644 (file)
index 19db3d8..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-
-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.
diff --git a/src/FeaturesPlugin/doc/images/CreatedFill.png b/src/FeaturesPlugin/doc/images/CreatedFill.png
deleted file mode 100644 (file)
index 7d8b28f..0000000
Binary files a/src/FeaturesPlugin/doc/images/CreatedFill.png and /dev/null differ
diff --git a/src/FeaturesPlugin/doc/images/CreatedSplit.png b/src/FeaturesPlugin/doc/images/CreatedSplit.png
new file mode 100644 (file)
index 0000000..7d8b28f
Binary files /dev/null and b/src/FeaturesPlugin/doc/images/CreatedSplit.png differ
diff --git a/src/FeaturesPlugin/doc/images/Fill.png b/src/FeaturesPlugin/doc/images/Fill.png
deleted file mode 100644 (file)
index e5c4cd4..0000000
Binary files a/src/FeaturesPlugin/doc/images/Fill.png and /dev/null differ
diff --git a/src/FeaturesPlugin/doc/images/Split.png b/src/FeaturesPlugin/doc/images/Split.png
new file mode 100644 (file)
index 0000000..7673ef4
Binary files /dev/null and b/src/FeaturesPlugin/doc/images/Split.png differ
diff --git a/src/FeaturesPlugin/doc/images/bool_fill.png b/src/FeaturesPlugin/doc/images/bool_fill.png
deleted file mode 100644 (file)
index 5e03aa2..0000000
Binary files a/src/FeaturesPlugin/doc/images/bool_fill.png and /dev/null differ
diff --git a/src/FeaturesPlugin/doc/images/bool_split.png b/src/FeaturesPlugin/doc/images/bool_split.png
new file mode 100644 (file)
index 0000000..5e03aa2
Binary files /dev/null and b/src/FeaturesPlugin/doc/images/bool_split.png differ
diff --git a/src/FeaturesPlugin/doc/splitFeature.rst b/src/FeaturesPlugin/doc/splitFeature.rst
new file mode 100644 (file)
index 0000000..fe04581
--- /dev/null
@@ -0,0 +1,45 @@
+
+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.
index e3756b502b45d8ea099926c4dbd2f1bef503e8c0..c31b2795b70a179eb83fa900e276b7a363bcd5f1 100644 (file)
@@ -71,7 +71,7 @@
           <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>