OCC.Core.ShapeProcessAPI module¶
ShapeProcessAPI module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_shapeprocessapi.html
-
class
ShapeProcessAPI_ApplySequence
(*args)¶ Bases:
object
- Creates an object and loads resource file and sequence of operators given by their names.
- param rscName
- type rscName
char *
- param seqName
default value is
- type seqName
char *
- rtype
None
-
ClearMap
()¶ - Clears myMap with accumulated history.
- rtype
None
-
Context
()¶ - Returns object for managing resource file and sequence of operators.
- rtype
opencascade::handle<ShapeProcess_ShapeContext>
-
Map
()¶ - Returns myMap with accumulated history.
- rtype
TopTools_DataMapOfShapeShape
-
PrepareShape
()¶ - Performs sequence of operators stored in myRsc. If <fillmap> is True adds history ‘shape-shape’ into myMap for shape and its subshapes until level <until> (included). If <until> is TopAbs_SHAPE, all the subshapes are considered.
- param shape
- type shape
TopoDS_Shape
- param fillmap
default value is Standard_False
- type fillmap
bool
- param until
default value is TopAbs_SHAPE
- type until
TopAbs_ShapeEnum
- rtype
TopoDS_Shape
-
PrintPreparationResult
()¶ - Prints result of preparation onto the messenger of the context. Note that results can be accumulated from previous preparations it method ClearMap was not called before PrepareShape.
- rtype
None
-
property
thisown
¶ The membership flag