SALOME documentation central

Partition


To produce a Partition in the Main Menu select Operations - > Partition


This operation builds a compound by intersection of several shapes with a tool object or a plane.
The Result will be any GEOM_Object.


Intersection of two shapes.


As far as the intersection of two objects can produce any type of geometrical objects, Resulting type box allows choosing the preferrable result, i.e. a solid, a shell, a list of faces, etc.
TUI Command: geompy.MakePartition(ListOfShapes, ListOfTools, ListOfKeepInside, ListOfRemoveInside, Limit, RemoveWebs, ListOfMaterials), where where ListOfShapes is a list of shapes to be intersected and ListOfTools is a list of shapes to intersect the shapes from ListOfShapes.
Since the implementation of a new version of PartitionAlgo other parameters are ignored by the current functionality and remain there only to support the old scripts.
Arguments: Name + 2 lists of shapes (the shapes from the first list will be intersected with the shapes from the second list) + reconstruction limit.
Advanced option: Set presentation parameters and subshapes from arguments.

partition1.png

Keep shapes of lower type checkbox allows building geometrical objects. Only lower type objects will be preserved without the upper ones.


Intersection of a Shape and a Plane.


TUI Command: geompy.MakeHalfPartition(Shapes, Plane), where Shapes are a list of Shapes to be intersected and Plane is a Tool shape, to intersect the Shapes.
Arguments: Name + a list of shapes which will be intersected + 1 cutting plane.
Advanced option: Set presentation parameters and subshapes from arguments.

partition2.png


Example:

partitionsn1.png

Box intersected by a plane

partitionsn2.png

Result of intersection

Our TUI Scripts provide you with useful examples of the use of Basic Operations.


Copyright © 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS