OCC.Core.IGESToBRep module¶
IGESToBRep module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_igestobrep.html
-
class
IGESToBRep_Actor
(*args)¶ Bases:
OCC.Core.Transfer.Transfer_ActorOfTransientProcess
- Return type
-
static
DownCast
(t)¶
-
GetContinuity
()¶ - Return ‘thecontinuity’
- rtype
int
-
SetContinuity
()¶ - —Purpose By default continuity = 0 if continuity = 1try C1 if continuity = 2try C2
- param continuity
default value is 0
- type continuity
int
- rtype
None
-
SetModel
()¶ - Parameters
model –
- type model
Interface_InterfaceModel
- rtype
None
-
UsedTolerance
()¶ - Returns the tolerance which was actually used, either from the file or from statics
- rtype
float
-
property
thisown
¶ The membership flag
-
class
IGESToBRep_AlgoContainer
(*args)¶ Bases:
OCC.Core.Standard.Standard_Transient
- Empty constructor
- rtype
None
-
static
DownCast
(t)¶
-
SetToolContainer
()¶ - Sets ToolContainer
- param TC
- type TC
IGESToBRep_ToolContainer
- rtype
None
-
ToolContainer
()¶ - Returns ToolContainer
- rtype
opencascade::handle<IGESToBRep_ToolContainer>
-
property
thisown
¶ The membership flag
-
class
IGESToBRep_BRepEntity
(*args)¶ Bases:
OCC.Core.IGESToBRep.IGESToBRep_CurveAndSurface
- Creates a tool BRepEntity ready to run, with epsilons set to 1.E-04, TheModeTopo to True, the optimization of the continuity to False.
- rtype
None* Creates a tool BRepEntity ready to run and sets its fields as CS’s.
- param CS
- type CS
IGESToBRep_CurveAndSurface
- rtype
None* Creates a tool BRepEntity ready to run.
- param eps
- type eps
float
- param epsGeom
- type epsGeom
float
- param epsCoeff
- type epsCoeff
float
- param mode
- type mode
bool
- param modeapprox
- type modeapprox
bool
- param optimized
- type optimized
bool
- rtype
None
-
TransferBRepEntity
()¶ - Transfer the BRepEntity’Face, Shell or ManifoldSolid.
- param start
- type start
IGESData_IGESEntity
- rtype
TopoDS_Shape
-
TransferEdge
()¶ - Transfer the entity number ‘index’ of the EdgeList ‘start’.
- param start
- type start
IGESSolid_EdgeList
- param index
- type index
int
- rtype
TopoDS_Shape
-
TransferFace
()¶ - Transfer the Face Entity
- param start
- type start
IGESSolid_Face
- rtype
TopoDS_Shape
-
TransferLoop
()¶ - Transfer the Loop Entity
- param start
- type start
IGESSolid_Loop
- param Face
- type Face
TopoDS_Face
- param trans
- type trans
gp_Trsf2d
- param uFact
- type uFact
float
- rtype
TopoDS_Shape
-
TransferManifoldSolid
()¶ - Transfer the ManifoldSolid Entity
- param start
- type start
IGESSolid_ManifoldSolid
- rtype
TopoDS_Shape
-
TransferShell
()¶ - Transfer the Shell Entity
- param start
- type start
IGESSolid_Shell
- rtype
TopoDS_Shape
-
TransferVertex
()¶ - Transfer the entity number ‘index’ of the VertexList ‘start’
- param start
- type start
IGESSolid_VertexList
- param index
- type index
int
- rtype
TopoDS_Vertex
-
property
thisown
¶ The membership flag
-
class
IGESToBRep_BasicCurve
(*args)¶ Bases:
OCC.Core.IGESToBRep.IGESToBRep_CurveAndSurface
- Creates a tool BasicCurve ready to run, with epsilons set to 1.E-04, TheModeTopo to True, the optimization of the continuity to False.
- rtype
None* Creates a tool BasicCurve ready to run and sets its fields as CS’s.
- param CS
- type CS
IGESToBRep_CurveAndSurface
- rtype
None* Creates a tool BasicCurve ready to run.
- param eps
- type eps
float
- param epsGeom
- type epsGeom
float
- param epsCoeff
- type epsCoeff
float
- param mode
- type mode
bool
- param modeapprox
- type modeapprox
bool
- param optimized
- type optimized
bool
- rtype
None
-
Transfer2dBSplineCurve
()¶ - Parameters
start –
- type start
IGESGeom_BSplineCurve
- rtype
opencascade::handle<Geom2d_Curve>
-
Transfer2dBasicCurve
()¶ - Transfert a IGESEntity which answer True to the memberIGESToBRep::IsBasicCurve(IGESEntity). The IGESEntity must be a curve UV and its associed TRSF must be planar .If this Entity could not be converted, this member returns a NullEntity.
- param start
- type start
IGESData_IGESEntity
- rtype
opencascade::handle<Geom2d_Curve>
-
Transfer2dCircularArc
()¶ - Parameters
start –
- type start
IGESGeom_CircularArc
- rtype
opencascade::handle<Geom2d_Curve>
-
Transfer2dConicArc
()¶ - Parameters
start –
- type start
IGESGeom_ConicArc
- rtype
opencascade::handle<Geom2d_Curve>
-
Transfer2dCopiousData
()¶ - Parameters
start –
- type start
IGESGeom_CopiousData
- rtype
opencascade::handle<Geom2d_BSplineCurve>
-
Transfer2dLine
()¶ - Parameters
start –
- type start
IGESGeom_Line
- rtype
opencascade::handle<Geom2d_Curve>
-
Transfer2dSplineCurve
()¶ - Parameters
start –
- type start
IGESGeom_SplineCurve
- rtype
opencascade::handle<Geom2d_BSplineCurve>
-
TransferBSplineCurve
()¶ - Parameters
start –
- type start
IGESGeom_BSplineCurve
- rtype
opencascade::handle<Geom_Curve>
-
TransferBasicCurve
()¶ - Transfert a IGESEntity which answer True to the memberIGESToBRep::IsBasicCurve(IGESEntity). If this Entity could not be converted, this member returns a NullEntity.
- param start
- type start
IGESData_IGESEntity
- rtype
opencascade::handle<Geom_Curve>
-
TransferCircularArc
()¶ - Parameters
start –
- type start
IGESGeom_CircularArc
- rtype
opencascade::handle<Geom_Curve>
-
TransferConicArc
()¶ - Parameters
start –
- type start
IGESGeom_ConicArc
- rtype
opencascade::handle<Geom_Curve>
-
TransferCopiousData
()¶ - Parameters
start –
- type start
IGESGeom_CopiousData
- rtype
opencascade::handle<Geom_BSplineCurve>
-
TransferLine
()¶ - Parameters
start –
- type start
IGESGeom_Line
- rtype
opencascade::handle<Geom_Curve>
-
TransferSplineCurve
()¶ - Parameters
start –
- type start
IGESGeom_SplineCurve
- rtype
opencascade::handle<Geom_BSplineCurve>
-
TransferTransformation
()¶ - Parameters
start –
- type start
IGESGeom_TransformationMatrix
- rtype
opencascade::handle<Geom_Transformation>
-
property
thisown
¶ The membership flag
-
class
IGESToBRep_BasicSurface
(*args)¶ Bases:
OCC.Core.IGESToBRep.IGESToBRep_CurveAndSurface
- Creates a tool BasicSurface ready to run, with epsilons set to 1.E-04, TheModeTopo to True, the optimization of the continuity to False.
- rtype
None* Creates a tool BasicSurface ready to run and sets its fields as CS’s.
- param CS
- type CS
IGESToBRep_CurveAndSurface
- rtype
None* Creates a tool BasicSurface ready to run.
- param eps
- type eps
float
- param epsGeom
- type epsGeom
float
- param epsCoeff
- type epsCoeff
float
- param mode
- type mode
bool
- param modeapprox
- type modeapprox
bool
- param optimized
- type optimized
bool
- rtype
None
-
TransferBSplineSurface
()¶ - Returns BSplineSurface from Geom if the transfer has succeded.
- param start
- type start
IGESGeom_BSplineSurface
- rtype
opencascade::handle<Geom_BSplineSurface>
-
TransferBasicSurface
()¶ - Returns Surface from Geom if the last transfer has succeded.
- param start
- type start
IGESData_IGESEntity
- rtype
opencascade::handle<Geom_Surface>
-
TransferPlaneSurface
()¶ - Returns Plane from Geom if the transfer has succeded.
- param start
- type start
IGESSolid_PlaneSurface
- rtype
opencascade::handle<Geom_Plane>
-
TransferRigthConicalSurface
()¶ - Returns ConicalSurface from Geom if the transfer has succeded.
- param start
- type start
IGESSolid_ConicalSurface
- rtype
opencascade::handle<Geom_ConicalSurface>
-
TransferRigthCylindricalSurface
()¶ - Returns CylindricalSurface from Geom if the transfer has succeded.
- param start
- type start
IGESSolid_CylindricalSurface
- rtype
opencascade::handle<Geom_CylindricalSurface>
-
TransferSphericalSurface
()¶ - Returns SphericalSurface from Geom if the transfer has succeded.
- param start
- type start
IGESSolid_SphericalSurface
- rtype
opencascade::handle<Geom_SphericalSurface>
-
TransferSplineSurface
()¶ - Returns BSplineSurface from Geom if the transfer has succeded.
- param start
- type start
IGESGeom_SplineSurface
- rtype
opencascade::handle<Geom_BSplineSurface>
-
TransferToroidalSurface
()¶ - Returns SphericalSurface from Geom if the transfer has succeded.
- param start
- type start
IGESSolid_ToroidalSurface
- rtype
opencascade::handle<Geom_ToroidalSurface>
-
property
thisown
¶ The membership flag
-
class
IGESToBRep_CurveAndSurface
(*args)¶ Bases:
object
- Creates a tool CurveAndSurface ready to run, with epsilons set to 1.E-04, myModeTopo to True, the optimization of the continuity to False.
- rtype
None* Creates a tool CurveAndSurface ready to run and sets its fields as CS’s.
- param CS
- type CS
IGESToBRep_CurveAndSurface
- rtype
None* Creates a tool CurveAndSurface ready to run.
- param eps
- type eps
float
- param epsGeom
- type epsGeom
float
- param epsCoeff
- type epsCoeff
float
- param mode
- type mode
bool
- param modeapprox
- type modeapprox
bool
- param optimized
- type optimized
bool
- rtype
None
-
AddShapeResult
()¶ - set in ‘myMap’ the result of the transfer of the entity of the IGESEntity start ( type VertexList or EdgeList).
- param start
- type start
IGESData_IGESEntity
- param result
- type result
TopoDS_Shape
- rtype
None
-
GetContinuity
()¶ - Returns the value of ‘myContinuity’
- rtype
int
-
GetEpsCoeff
()¶ - Returns the value of ‘myEpsCoeff’
- rtype
float
-
GetEpsGeom
()¶ - Returns the value of ‘myEpsGeom’
- rtype
float
-
GetEpsilon
()¶ - Returns the value of ‘myEps’
- rtype
float
-
GetMaxTol
()¶ - Returns the value of ‘myMaxTol’
- rtype
float
-
GetMinTol
()¶ - Returns the value of ‘myMinTol’
- rtype
float
-
GetModeApprox
()¶ - Returns the value of ‘myModeApprox’
- rtype
bool
-
GetModeTransfer
()¶ - Returns the value of ‘myModeIsTopo’
- rtype
bool
-
GetModel
()¶ - Returns the value of ‘myModel’
- rtype
opencascade::handle<IGESData_IGESModel>
-
GetOptimized
()¶ - Returns the value of ‘myContIsOpti’
- rtype
bool
-
GetShapeResult
()¶ - Returns the result of the transfer of the IGESEntity ‘start’ contained in ‘myMap’ . (if HasShapeResult is True).
- param start
- type start
IGESData_IGESEntity
- rtype
TopoDS_Shape* Returns the numth result of the IGESEntity start (type VertexList or EdgeList) in ‘myMap’. (if NbShapeResult is not null).
- param start
- type start
IGESData_IGESEntity
- param num
- type num
int
- rtype
TopoDS_Shape
-
GetSurfaceCurve
()¶ - Returns the value of ‘ mySurfaceCurve’ 0 = value in file , 2 = kepp 2d and compute 3d 3 = keep 3d and compute 2d
- rtype
int
-
GetTransferProcess
()¶ - Returns the value of ‘myMsgReg’
- rtype
opencascade::handle<Transfer_TransientProcess>
-
GetUnitFactor
()¶ - Returns the value of ‘ myUnitFactor’
- rtype
float
-
HasShapeResult
()¶ - Returns True if start was already treated and has a result in ‘myMap’ else returns False.
- param start
- type start
IGESData_IGESEntity
- rtype
bool
-
Init
()¶ - Initializes the field of the tool CurveAndSurface with default creating values.
- rtype
None
-
NbShapeResult
()¶ - Returns the number of shapes results contained in ‘myMap’ for the IGESEntity start ( type VertexList or EdgeList).
- param start
- type start
IGESData_IGESEntity
- rtype
int
-
SendFail
()¶ - Records a new Fail message
- param start
- type start
IGESData_IGESEntity
- param amsg
- type amsg
Message_Msg
- rtype
None
-
SendMsg
()¶ - Records a new Information message from the definition of a Msg (Original+Value)
- param start
- type start
IGESData_IGESEntity
- param amsg
- type amsg
Message_Msg
- rtype
None
-
SendWarning
()¶ - Records a new Warning message
- param start
- type start
IGESData_IGESEntity
- param amsg
- type amsg
Message_Msg
- rtype
None
-
SetContinuity
()¶ - Changes the value of ‘myContinuity’ if continuity = 0 do nothing else if continuity = 1 try C1 if continuity = 2 try C2
- param continuity
- type continuity
int
- rtype
None
-
SetEpsCoeff
()¶ - Changes the value of ‘myEpsCoeff’
- param eps
- type eps
float
- rtype
None
-
SetEpsGeom
()¶ - Changes the value of ‘myEpsGeom’
- param eps
- type eps
float
- rtype
None
-
SetEpsilon
()¶ - Changes the value of ‘myEps’
- param eps
- type eps
float
- rtype
None
-
SetMaxTol
()¶ - Changes the value of ‘myMaxTol’
- param maxtol
- type maxtol
float
- rtype
None
-
SetMinTol
()¶ - Changes the value of ‘myMinTol’
- param mintol
- type mintol
float
- rtype
None
-
SetModeApprox
()¶ - Changes the value of ‘myModeApprox’
- param mode
- type mode
bool
- rtype
None
-
SetModeTransfer
()¶ - Changes the value of ‘myModeIsTopo’
- param mode
- type mode
bool
- rtype
None
-
SetModel
()¶ - Set the value of ‘myModel’
- param model
- type model
IGESData_IGESModel
- rtype
None
-
SetOptimized
()¶ - Changes the value of ‘myContIsOpti’
- param optimized
- type optimized
bool
- rtype
None
-
SetShapeResult
()¶ - set in ‘myMap’ the result of the transfer of the IGESEntity ‘start’.
- param start
- type start
IGESData_IGESEntity
- param result
- type result
TopoDS_Shape
- rtype
None
-
SetSurface
()¶ - Parameters
theSurface –
- type theSurface
Geom_Surface
- rtype
None
-
SetSurfaceCurve
()¶ - Changes the value of ‘mySurfaceCurve’
- param ival
- type ival
int
- rtype
None
-
SetTransferProcess
()¶ - Set the value of ‘myMsgReg’
- param TP
- type TP
Transfer_TransientProcess
- rtype
None
-
Surface
()¶ - Return type
opencascade::handle<Geom_Surface>
-
TransferCurveAndSurface
()¶ - Returns the result of the transfert of any IGES Curve or Surface Entity. If the transfer has failed, this member return a NullEntity.
- param start
- type start
IGESData_IGESEntity
- rtype
TopoDS_Shape
-
TransferGeometry
()¶ - Returns the result of the transfert the geometry of any IGESEntity. If the transfer has failed, this member return a NullEntity.
- param start
- type start
IGESData_IGESEntity
- rtype
TopoDS_Shape
-
UpdateMinMaxTol
()¶ - Sets values of ‘myMinTol’ and ‘myMaxTol’ as follows myMaxTol = Max (‘read.maxprecision.val’, myEpsGeom * myUnitFactor) myMinTol = Precision::Confusion() Remark: This method is automatically invoked each time the values of ‘myEpsGeom’ or ‘myUnitFactor’ are changed
- rtype
None
-
property
thisown
¶ The membership flag
-
class
IGESToBRep_IGESBoundary
(*args)¶ Bases:
OCC.Core.Standard.Standard_Transient
- Empty constructor
- rtype
None* Empty constructor
- param CS
- type CS
IGESToBRep_CurveAndSurface
- rtype
None
-
Check
()¶ - Checks result of translation of IGES boundary entities (types 141, 142 or 508). Checks consistency of 2D and 3D representations and keeps only one if they are inconsistent. <result>: result of translation (returned by Transfer), <checkclosure>: False for 142 without parent 144 entity, otherwise True, <okCurve3d>, <okCurve2d>: those returned by Transfer.
- param result
- type result
bool
- param checkclosure
- type checkclosure
bool
- param okCurve3d
- type okCurve3d
bool
- param okCurve2d
- type okCurve2d
bool
- rtype
void
-
static
DownCast
(t)¶
-
Init
()¶ - Inits the object with parameters common for all types of IGES boundaries. <CS>: object to be used for retrieving translation parameters and sending messages, <entity>: boundary entity to be processed, <face>, <trans>, <uFact>: as for IGESToBRep_TopoCurve <filepreference>: preferred representation (2 or 3) given in the IGES file
- param CS
- type CS
IGESToBRep_CurveAndSurface
- param entity
- type entity
IGESData_IGESEntity
- param face
- type face
TopoDS_Face
- param trans
- type trans
gp_Trsf2d
- param uFact
- type uFact
float
- param filepreference
- type filepreference
int
- rtype
None
-
Transfer
()¶ - Translates 141 and 142 entities. Returns True if the curve has been successfully translated, otherwise returns False. <okCurve..>: flags that indicate whether corresponding representation has been successfully translated (must be set to True before first call), <curve3d>: model space curve for 142 and current model space curve for 141, <toreverse3d>: False for 142 and current orientation flag for 141, <curves2d>: 1 parameter space curve for 142 or list of them for current model space curves for 141, <number>: 1 for 142 and rank number of model space curve for 141.
- param okCurve
- type okCurve
bool
- param okCurve3d
- type okCurve3d
bool
- param okCurve2d
- type okCurve2d
bool
- param curve3d
- type curve3d
IGESData_IGESEntity
- param toreverse3d
- type toreverse3d
bool
- param curves2d
- type curves2d
IGESData_HArray1OfIGESEntity
- param number
- type number
int
- rtype
bool* Translates 508 entity. Returns True if the curve has been successfully translated, otherwise returns False. Input object IGESBoundary must be created and initialized before. <okCurve..>: flags that indicate whether corresponding representation has been successfully translated (must be set to True before first call), <curve3d>: result of translation of current edge, <curves2d>: list of parameter space curves for edge, <toreverse2d>: orientation flag of current edge in respect to its model space curve, <number>: rank number of edge, <lsewd>: returns the result of translation of current edge.
- param okCurve
- type okCurve
bool
- param okCurve3d
- type okCurve3d
bool
- param okCurve2d
- type okCurve2d
bool
- param curve3d
- type curve3d
ShapeExtend_WireData
- param curves2d
- type curves2d
IGESData_HArray1OfIGESEntity
- param toreverse2d
- type toreverse2d
bool
- param number
- type number
int
- param lsewd
- type lsewd
ShapeExtend_WireData
- rtype
bool
-
WireData
()¶ - Returns the resulting wire
- rtype
opencascade::handle<ShapeExtend_WireData>
-
WireData2d
()¶ - Returns the the wire from 2D curves (edges contain pcurves only)
- rtype
opencascade::handle<ShapeExtend_WireData>
-
WireData3d
()¶ - Returns the wire from 3D curves (edges contain 3D curves and may contain pcurves)
- rtype
opencascade::handle<ShapeExtend_WireData>
-
property
thisown
¶ The membership flag
-
class
IGESToBRep_Reader
(*args)¶ Bases:
object
- Creates a Reader
- rtype
None
-
Actor
()¶ - Returns ‘theActor’
- rtype
opencascade::handle<IGESToBRep_Actor>
-
Check
()¶ - Checks the IGES file that was loaded into memory. Displays error messages in the default message file if withprint is true. Returns True if no fail message was found and False if there was at least one fail message.
- param withprint
- type withprint
bool
- rtype
bool
-
Clear
()¶ - Clears the results between two translation operations.
- rtype
None
-
IsDone
()¶ - Returns True if the LAST Transfer/TransferRoots was a success
- rtype
bool
-
LoadFile
()¶ - Loads a Model from a file.Returns 0 if success. returns 1 if the file could not be opened, returns -1 if an error occurred while the file was being loaded.
- param filename
- type filename
char *
- rtype
int
-
Model
()¶ - Returns the Model to be worked on.
- rtype
opencascade::handle<IGESData_IGESModel>
-
NbShapes
()¶ - Returns the number of shapes produced by the translation.
- rtype
int
-
OneShape
()¶ - Returns all of the results in a single shape which is: - a null shape if there are no results, - a shape if there is one result, - a compound containing the resulting shapes if there are several.
- rtype
TopoDS_Shape
-
SetModel
()¶ - Specifies a Model to work on Also clears the result and Done status, sets TransientProcess
- param model
- type model
IGESData_IGESModel
- rtype
None
-
SetTransientProcess
()¶ - Allows to set an already defined TransientProcess (to be called after LoadFile or SetModel)
- param TP
- type TP
Transfer_TransientProcess
- rtype
None
-
Shape
()¶ - Returns the num the resulting shape in a translation operation.
- param num
default value is 1
- type num
int
- rtype
TopoDS_Shape
-
Transfer
()¶ - Transfers an Entity given its rank in the Model (Root or not) Returns True if it is recognized as Geom-Topol. (But it can have failedsee IsDone)
- param num
- type num
int
- rtype
bool
-
TransferRoots
()¶ - Translates root entities in an IGES file. Standard_True is the default value and means that only visible root entities are translated. Standard_False translates all of the roots (visible and invisible).
- param onlyvisible
default value is Standard_True
- type onlyvisible
bool
- rtype
None
-
TransientProcess
()¶ - Returns the TransientProcess
- rtype
opencascade::handle<Transfer_TransientProcess>
-
UsedTolerance
()¶ - Returns the Tolerance which has been actually used, converted in millimeters (either that from File or that from Session, according the mode)
- rtype
float
-
property
thisown
¶ The membership flag
-
class
IGESToBRep_ToolContainer
(*args)¶ Bases:
OCC.Core.Standard.Standard_Transient
- Empty constructor
- rtype
None
-
static
DownCast
(t)¶
-
IGESBoundary
()¶ - Returns IGESToBRep_IGESBoundary
- rtype
opencascade::handle<IGESToBRep_IGESBoundary>
-
property
thisown
¶ The membership flag
-
class
IGESToBRep_TopoCurve
(*args)¶ Bases:
OCC.Core.IGESToBRep.IGESToBRep_CurveAndSurface
- Creates a tool TopoCurve ready to run, with epsilons set to 1.E-04, TheModeTopo to True, the optimization of the continuity to False.
- rtype
None* Creates a tool TopoCurve ready to run and sets its fields as CS’s.
- param CS
- type CS
IGESToBRep_CurveAndSurface
- rtype
None* Creates a tool TopoCurve ready to run and sets its fields as CS’s.
- param CS
- type CS
IGESToBRep_TopoCurve
- rtype
None* Creates a tool TopoCurve ready to run.
- param eps
- type eps
float
- param epsGeom
- type epsGeom
float
- param epsCoeff
- type epsCoeff
float
- param mode
- type mode
bool
- param modeapprox
- type modeapprox
bool
- param optimized
- type optimized
bool
- rtype
None
-
Approx2dBSplineCurve
()¶ - Parameters
start –
- type start
Geom2d_BSplineCurve
- rtype
None
-
ApproxBSplineCurve
()¶ - Parameters
start –
- type start
Geom_BSplineCurve
- rtype
None
-
BadCase
()¶ - Returns TheBadCase flag
- rtype
bool
-
Curve
()¶ - Returns a Curve given its rank, by default the first one (null Curvee if out of range) in ‘TheCurves’
- param num
default value is 1
- type num
int
- rtype
opencascade::handle<Geom_Curve>
-
Curve2d
()¶ - Returns a Curve given its rank, by default the first one (null Curvee if out of range) in ‘TheCurves2d’
- param num
default value is 1
- type num
int
- rtype
opencascade::handle<Geom2d_Curve>
-
NbCurves
()¶ - Returns the count of Curves in ‘TheCurves’
- rtype
int
-
NbCurves2d
()¶ - Returns the count of Curves in ‘TheCurves2d’
- rtype
int
-
SetBadCase
()¶ - Sets TheBadCase flag
- param value
- type value
bool
- rtype
None
-
Transfer2dCompositeCurve
()¶ - Parameters
start –
- type start
IGESGeom_CompositeCurve
- param face
- type face
TopoDS_Face
- param trans
- type trans
gp_Trsf2d
- param uFact
- type uFact
float
- rtype
TopoDS_Shape
-
Transfer2dOffsetCurve
()¶ - Parameters
start –
- type start
IGESGeom_OffsetCurve
- param face
- type face
TopoDS_Face
- param trans
- type trans
gp_Trsf2d
- param uFact
- type uFact
float
- rtype
TopoDS_Shape
-
Transfer2dPoint
()¶ - Parameters
start –
- type start
IGESGeom_Point
- rtype
TopoDS_Vertex
-
Transfer2dTopoBasicCurve
()¶ - Parameters
start –
- type start
IGESData_IGESEntity
- param face
- type face
TopoDS_Face
- param trans
- type trans
gp_Trsf2d
- param uFact
- type uFact
float
- rtype
TopoDS_Shape
-
Transfer2dTopoCurve
()¶ - Parameters
start –
- type start
IGESData_IGESEntity
- param face
- type face
TopoDS_Face
- param trans
- type trans
gp_Trsf2d
- param uFact
- type uFact
float
- rtype
TopoDS_Shape
-
TransferBoundary
()¶ - Parameters
start –
- type start
IGESGeom_Boundary
- rtype
TopoDS_Shape
-
TransferBoundaryOnFace
()¶ - Transfers a Boundary directly on a face to trim it.
- param face
- type face
TopoDS_Face
- param start
- type start
IGESGeom_Boundary
- param trans
- type trans
gp_Trsf2d
- param uFact
- type uFact
float
- rtype
TopoDS_Shape
-
TransferCompositeCurve
()¶ - Parameters
start –
- type start
IGESGeom_CompositeCurve
- rtype
TopoDS_Shape
-
TransferCurveOnFace
()¶ - Transfers a CurveOnSurface directly on a face to trim it. The CurveOnSurface have to be defined Outer or Inner.
- param face
- type face
TopoDS_Face
- param start
- type start
IGESGeom_CurveOnSurface
- param trans
- type trans
gp_Trsf2d
- param uFact
- type uFact
float
- param IsCurv
- type IsCurv
bool
- rtype
TopoDS_Shape
-
TransferCurveOnSurface
()¶ - Parameters
start –
- type start
IGESGeom_CurveOnSurface
- rtype
TopoDS_Shape
-
TransferOffsetCurve
()¶ - Parameters
start –
- type start
IGESGeom_OffsetCurve
- rtype
TopoDS_Shape
-
TransferPoint
()¶ - Parameters
start –
- type start
IGESGeom_Point
- rtype
TopoDS_Vertex
-
TransferTopoBasicCurve
()¶ - Parameters
start –
- type start
IGESData_IGESEntity
- rtype
TopoDS_Shape
-
TransferTopoCurve
()¶ - Parameters
start –
- type start
IGESData_IGESEntity
- rtype
TopoDS_Shape
-
property
thisown
¶ The membership flag
-
class
IGESToBRep_TopoSurface
(*args)¶ Bases:
OCC.Core.IGESToBRep.IGESToBRep_CurveAndSurface
- Creates a tool TopoSurface ready to run, with epsilons set to 1.E-04, TheModeTopo to True, the optimization of the continuity to False.
- rtype
None* Creates a tool TopoSurface ready to run and sets its fields as CS’s.
- param CS
- type CS
IGESToBRep_CurveAndSurface
- rtype
None* Creates a tool TopoSurface ready to run.
- param eps
- type eps
float
- param epsGeom
- type epsGeom
float
- param epsCoeff
- type epsCoeff
float
- param mode
- type mode
bool
- param modeapprox
- type modeapprox
bool
- param optimized
- type optimized
bool
- rtype
None
-
ParamSurface
()¶ - Parameters
start –
- type start
IGESData_IGESEntity
- param trans
- type trans
gp_Trsf2d
- param uFact
- type uFact
float
- rtype
TopoDS_Shape
-
TransferBoundedSurface
()¶ - Parameters
start –
- type start
IGESGeom_BoundedSurface
- rtype
TopoDS_Shape
-
TransferOffsetSurface
()¶ - Parameters
start –
- type start
IGESGeom_OffsetSurface
- rtype
TopoDS_Shape
-
TransferPerforate
()¶ - Parameters
start –
- type start
IGESBasic_SingleParent
- rtype
TopoDS_Shape
-
TransferPlane
()¶ - Parameters
start –
- type start
IGESGeom_Plane
- rtype
TopoDS_Shape
-
TransferRuledSurface
()¶ - Parameters
start –
- type start
IGESGeom_RuledSurface
- rtype
TopoDS_Shape
-
TransferSurfaceOfRevolution
()¶ - Parameters
start –
- type start
IGESGeom_SurfaceOfRevolution
- rtype
TopoDS_Shape
-
TransferTabulatedCylinder
()¶ - Parameters
start –
- type start
IGESGeom_TabulatedCylinder
- rtype
TopoDS_Shape
-
TransferTopoBasicSurface
()¶ - Parameters
start –
- type start
IGESData_IGESEntity
- rtype
TopoDS_Shape
-
TransferTopoSurface
()¶ - Parameters
start –
- type start
IGESData_IGESEntity
- rtype
TopoDS_Shape
-
TransferTrimmedSurface
()¶ - Parameters
start –
- type start
IGESGeom_TrimmedSurface
- rtype
TopoDS_Shape
-
property
thisown
¶ The membership flag
-
class
SwigPyIterator
(*args, **kwargs)¶ Bases:
object
-
advance
()¶
-
copy
()¶
-
decr
()¶
-
distance
()¶
-
equal
()¶
-
incr
()¶
-
next
()¶
-
previous
()¶
-
property
thisown
¶ The membership flag
-
value
()¶
-
-
class
igestobrep
¶ Bases:
object
-
static
AlgoContainer
()¶ - Returns default AlgoContainer
- rtype
opencascade::handle<IGESToBRep_AlgoContainer>
-
static
IGESCurveToSequenceOfIGESCurve
()¶ - Parameters
curve –
- type curve
IGESData_IGESEntity
- param sequence
- type sequence
TColStd_HSequenceOfTransient
- rtype
int
-
static
Init
()¶ - Creates and initializes default AlgoContainer.
- rtype
void
-
static
IsBRepEntity
()¶ - Return True if the IGESEntity can be transfered by TransferBRepEntity. ex: VertexList, EdgeList, Loop, Face, Shell, Manifold Solid BRep Object from IGESSolid502, 504, 508, 510, 514, 186.
- param start
- type start
IGESData_IGESEntity
- rtype
bool
-
static
IsBasicCurve
()¶ - Return True if the IGESEntity can be transfered by TransferBasicCurve. ex: CircularArc, ConicArc, Line, CopiousData, BSplineCurve, SplineCurve… from IGESGeom104,110,112,126
- param start
- type start
IGESData_IGESEntity
- rtype
bool
-
static
IsBasicSurface
()¶ - Return True if the IGESEntity can be transfered by TransferBasicSurface. ex: BSplineSurface, SplineSurface… from IGESGeom114,128
- param start
- type start
IGESData_IGESEntity
- rtype
bool
-
static
IsCurveAndSurface
()¶ - Return True if the IGESEntity can be transfered by TransferCurveAndSurface. ex: All IGESEntity from IGESGeom
- param start
- type start
IGESData_IGESEntity
- rtype
bool
-
static
IsTopoCurve
()¶ - Return True if the IGESEntity can be transfered by TransferTopoCurve. ex: all Curves from IGESGeomall basic curves,102,130,142,144
- param start
- type start
IGESData_IGESEntity
- rtype
bool
-
static
IsTopoSurface
()¶ - Return True if the IGESEntity can be transfered by TransferTopoSurface. ex: All Surfaces from IGESGeomall basic surfaces,108,118,120,122,141,143
- param start
- type start
IGESData_IGESEntity
- rtype
bool
-
static
SetAlgoContainer
()¶ - Sets default AlgoContainer
- param aContainer
- type aContainer
IGESToBRep_AlgoContainer
- rtype
void
-
static
TransferPCurve
()¶ - Parameters
fromedge –
- type fromedge
TopoDS_Edge
- param toedge
- type toedge
TopoDS_Edge
- param face
- type face
TopoDS_Face
- rtype
bool
-
property
thisown
¶ The membership flag
-
static