Basic operations

In GEOM you can perform basic operations with geometrical objects aimed at creation of more complex shapes. These operations are:

 

 

To perform basic operations on geometrical objects:

 

In the main menu select Operations.

 

 

Partition

 

Description: Builds a shape by intersection.

 

Result: GEOM_Object.

 

TUI Command: geompy.MakePartition(ListOfShapes, ListOfTools, ListOfKeepInside, ListOfRemoveInside, Limit, RemoveWebs, ListOfMaterials), where ListOfShapes is a list of shapes to be intersected, ListOfTools is a list of shapes to intersect the shapes from ListOfShapes, ListOfKeepInside is a list of shapes outside which the results will be deleted, ListOfRemoveInside is a list of shapes inside which the results will be deleted, Limit is a type of the result shapes, if RemoveWebs is True the Glue 3D algorithm will be performed on the results, ListOfMaterials is a list of materials indices for each shape, it makes sense only if RemoveWebs is True.

 

Arguments: Up to 4 shapes + reconstruction limit.

 

 

Dialog Box:

 

 

 

Example:

 

 

 

Archimede

 

Description: Creates a plane corresponding to the modeled water-line of the object plunged into the water (in Z direction).

 

Result: GEOM_Object.

 

TUI Command: geompy.Archimede(Shape,Weight,WaterDensity,MeshingDeflection), where Shape is a shape to put into the water, Weight is a weight of the shape, WaterDensity  is density of water, MeshingDeflection is a deflection of the mesh, using to compute the section.

 

GUI Arguments: Name + 1 shape  + 3 values (Weight, Water Density & Meshing Deflection).

 

Dialog Box:

 

 

Example:

 

   

 

 

Fillet

 

Description: Make fillets of the edges of a shape.

 

Result: GEOM_Object.

 

TUI Command: geompy.MakeFillet(Shape, Radius, ShapeType, ListOfShapeID), where Shape is a shape to create a fillet on, Radius is a radius of the fillet, ShapeType is a type of shapes to be processed, ListOfShapeID is a list of subshape’s Ids to be processed.

 

Arguments:

 

Dialog Box:

 

   

 

Example:

 

 

 

 

Chamfer

 

Description: Makes chamfer of the edges of a Shape.

 

Result: GEOM_Object.

 

TUI Command:

 

Arguments:

 

 

Dialog Box:

 

   

 

Example:

 

 

 

 

 

 

 

Block multi-transformation

 

Description: Makes several translations of a block (solid) in one or two directions depending on the arguments specified by the user.

 

Result: GEOM_Object.

 

TUI Command:

 

Arguments:

 

 

Dialog Box:

 

Example:

 

    

 

 

Explode on Blocks

 

Description: Returns blocks of the given compound. The user may define the type blocks to be extracted by setting the minimum and maximum number of faces in the target block. By checking the corresponding box the user may also interactively choose the blocks from a compound .

 

Result: GEOM_Object.

 

TUI Command: geompy.MakeBlockExplode(Compound, MinNbFaces, MaxNbFaces), where Compound is a compound to be exploded into the blocks, MinNbFaces, MaxNbFaces are correspondingly the minimal and  the maximal number of faces of the resulting blocks.

 

Arguments: 1 compound + 1 integer (min. and max. number of faces in the block to be extracted).

 

 

Dialog Box:

 

 

Example:

 

 

 

 

Propagate

 

Description: Breaks a multitude of edges of a shape into groups (builds all possible propagation groups).

 

Result: List of GEOM_Objects. Each Geom Object will contain a group of edges.

 

TUI Command: geompy.Propagate(Shape), where Shape is a shape to build propagation groups on.

 

Arguments: 1 Shape.

 

 

Dialog Box:

 

 

Example: