Salome HOME
0022857: EDF GEOM 7167: MakeHalfPartition documentation
authorvsr <vsr@opencascade.com>
Mon, 2 Mar 2015 15:42:11 +0000 (18:42 +0300)
committervsr <vsr@opencascade.com>
Mon, 2 Mar 2015 15:42:11 +0000 (18:42 +0300)
- Additionally update documentation

doc/salome/examples/basic_operations_ex01.py
doc/salome/gui/GEOM/images/partition1.png
doc/salome/gui/GEOM/input/partition.doc

index b9152729ff311f479df8e384abcbbdf7ca563d7e..912c8eb034c4fa2d3e6f9121e5689a1caff09b4f 100644 (file)
@@ -22,23 +22,17 @@ box = geompy.MakeBoxTwoPnt(p0, p200)
 trimsize  = 500.
 plane = geompy.MakePlane(pz, vxyz, trimsize)
 
-# create partition objects
-partition1 = geompy.MakePartition([box], [plane])
-partition2 = geompy.Partition([box], [plane])
-partition3 = geompy.MakeHalfPartition(box, plane)
+# create partition
+partition = geompy.MakePartition([box], [plane])
 
 # add objects in the study
 id_box = geompy.addToStudy(box,"Box")
 id_plane = geompy.addToStudy(plane,"Plane")
-id_partition1 = geompy.addToStudy(partition1,"MakePartition")
-id_partition2 = geompy.addToStudy(partition2,"Partition")
-id_partition3 = geompy.addToStudy(partition3,"MakeHalfPartition")
+id_partition = geompy.addToStudy(partition,"Partition")
 
 # display the partition objects and the plane
 gg.createAndDisplayGO(id_box)
 gg.setDisplayMode(id_box,1)
 gg.createAndDisplayGO(id_plane)
 gg.setDisplayMode(id_plane,1)
-gg.createAndDisplayGO(id_partition1)
-gg.createAndDisplayGO(id_partition2)
-gg.createAndDisplayGO(id_partition3)
+gg.createAndDisplayGO(id_partition)
index f2213999edf79abe010479e7d030be8565138185..595c0ab04c054af1a8b7a354b1c689ed098e4be4 100644 (file)
Binary files a/doc/salome/gui/GEOM/images/partition1.png and b/doc/salome/gui/GEOM/images/partition1.png differ
index 48d56c0366c71c68d346862ef646f30101740e41..13b98084dfff141ed58651a5cca1a1f0fb787a01 100755 (executable)
@@ -6,9 +6,9 @@ For a detailed description of the Partition operation please refer to <a href="S
 It provides a general review of the Partition and Boolean operations algorithms, describes the usage methodology and highlights
 major limitations of these operations.
 
-Perhaps you also ask yourself : \ref partition_explanation "What's the difference between partition, compounds and fuse operation ?"
+Perhaps you also ask yourself : \ref partition_explanation "What's the difference between partition, compounds and fuse operation?"
 
-To produce a \b Partition in the <b>Main Menu</b> select <b>Operations - > Partition</b>
+To produce a \b Partition in the <b>Main Menu</b> select <b>Operations -> Partition</b>
 
 This operation builds a compound by intersection of several shapes
 with a set of tool objects or with a plane.
@@ -96,20 +96,6 @@ be checked for self-intersection prior to the operation.
 - Other parameters are obsolete and kept only for compatibility with
 previous versions of SALOME.
 
-<br><h2>Intersection of a Shape and a Plane.</h2>
-
-\image html partition2.png
-
-<b>Arguments:</b> Name + 1 shape to be intersected + 1 cutting plane.
-
-Activate \ref restore_presentation_parameters_page "Advanced options" if required.
-
-<b>TUI Command:</b>
-
-<em>geompy.MakeHalfPartition(Shape, Plane)</em>, where:
-- \em Shape is a source shape to be intersected by the \em Plane
-- \em Plane is a tool shape, to intersect the \em Shape.
-
 <b>Examples:</b>
 
 \image html partitionsn1.png "Box intersected by a plane"