OCC.Core.IGESControl module¶
IGESControl module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_igescontrol.html
-
class
IGESControl_ActorWrite
(*args)¶ Bases:
OCC.Core.Transfer.Transfer_ActorOfFinderProcess
- Return type
-
static
DownCast
(t)¶
-
property
thisown
¶ The membership flag
-
class
IGESControl_AlgoContainer
(*args)¶ Bases:
OCC.Core.IGESToBRep.IGESToBRep_AlgoContainer
- Empty constructor
- rtype
None
-
static
DownCast
(t)¶
-
property
thisown
¶ The membership flag
-
class
IGESControl_Controller
(*args)¶ Bases:
OCC.Core.XSControl.XSControl_Controller
- Initializes the use of IGES Norm (the first time) and returns a Controller for IGES-5.1 If <modefnes> is True, sets it to internal FNES format
- param modefnes
default value is Standard_False
- type modefnes
bool
- rtype
None
-
static
DownCast
(t)¶
-
static
Init
()¶ - Standard Initialisation. It creates a Controller for IGES and records it to various names, available to select it later Returns True when done, False if could not be done Also, it creates and records an Adaptor for FNES
- rtype
bool
-
property
thisown
¶ The membership flag
-
class
IGESControl_IGESBoundary
(*args)¶ Bases:
OCC.Core.IGESToBRep.IGESToBRep_IGESBoundary
- Creates an object and calls inherited constuctor.
- rtype
None* Creates an object and calls inherited constuctor.
- param CS
- type CS
IGESToBRep_CurveAndSurface
- rtype
None
-
static
DownCast
(t)¶
-
property
thisown
¶ The membership flag
-
class
IGESControl_Reader
(*args)¶ Bases:
OCC.Core.XSControl.XSControl_Reader
- Creates a Reader from scratch
- rtype
None* Creates a Reader from an already existing Session
- param WS
- type WS
XSControl_WorkSession
- param scratch
default value is Standard_True
- type scratch
bool
- rtype
None
-
IGESModel
()¶ - Returns the model as a IGESModel. It can then be consulted (header, product)
- rtype
opencascade::handle<IGESData_IGESModel>
-
PrintTransferInfo
()¶ - Prints Statistics and check list for Transfer
- param failwarn
- type failwarn
IFSelect_PrintFail
- param mode
- type mode
IFSelect_PrintCount
- rtype
None
-
SetReadVisible
()¶ - Set the transion of ALL Roots (if theReadOnlyVisible is False) or of Visible Roots (if theReadOnlyVisible is True)
- param ReadRoot
- type ReadRoot
bool
- rtype
None
-
property
thisown
¶ The membership flag
-
class
IGESControl_ToolContainer
(*args)¶ Bases:
OCC.Core.IGESToBRep.IGESToBRep_ToolContainer
- Empty constructor
- rtype
None
-
static
DownCast
(t)¶
-
property
thisown
¶ The membership flag
-
class
IGESControl_Writer
(*args)¶ Bases:
object
- Creates a writer object with the default unit (millimeters) and write mode (Face). IGESControl_Writer (const Standard_CString unit, const Standard_Integer modecr = 0);
- rtype
None* Creates a writer with given values for units and for write mode. unit may be any unit that is accepted by the IGES standard. By default, it is the millimeter. modecr defines the write mode and may be: - 0: Faces (default) - 1: BRep.
- param unit
- type unit
char *
- param modecr
default value is 0
- type modecr
int
- rtype
None* Creates a writer object with the prepared IGES model model in write mode. modecr defines the write mode and may be: - 0: Faces (default) - 1: BRep.
- param model
- type model
IGESData_IGESModel
- param modecr
default value is 0
- type modecr
int
- rtype
None
-
AddEntity
()¶ - Adds an IGES entity (and the ones it references) to the model
- param ent
- type ent
IGESData_IGESEntity
- rtype
bool
-
AddGeom
()¶ - Translates a Geometry (Surface or Curve) to IGES Entities and adds them to the model Returns True if done, False if geom is neither a Surface or a Curve suitable for IGES or is null
- param geom
- type geom
Standard_Transient
- rtype
bool
-
AddShape
()¶ - Translates a Shape to IGES Entities and adds them to the model Returns True if done, False if Shape not suitable for IGES or null
- param sh
- type sh
TopoDS_Shape
- rtype
bool
-
ComputeModel
()¶ - Computes the entities found in the model, which is ready to be written. This contrasts with the default computation of headers only.
- rtype
None
-
Model
()¶ - Returns the IGES model to be written in output.
- rtype
opencascade::handle<IGESData_IGESModel>
-
SetTransferProcess
()¶ - Returns/Sets the TransferProcessit contains final results and if some, check messages
- param TP
- type TP
Transfer_FinderProcess
- rtype
None
-
TransferProcess
()¶ - Return type
opencascade::handle<Transfer_FinderProcess>
-
Write
()¶ - Computes then writes the model to an OStream Returns True when done, false in case of error
- param S
- type S
Standard_OStream
- param fnes
default value is Standard_False
- type fnes
bool
- rtype
bool* Prepares and writes an IGES model either to an OStream, S or to a file name,CString. Returns True if the operation was performed correctly and False if an error occurred (for instance, if the processor could not create the file).
- param file
- type file
char *
- param fnes
default value is Standard_False
- type fnes
bool
- rtype
bool
-
property
thisown
¶ The membership flag