OCC.Core.StepToTopoDS module¶
StepToTopoDS module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_steptotopods.html
-
class
StepToTopoDS_CartesianPointHasher
¶ Bases:
object
-
static
HashCode
()¶ - Computes a hash code for the cartesian point, in the range [1, theUpperBound] @param theCartesianPoint the cartesian point which hash code is to be computed @param theUpperBound the upper bound of the range a computing hash code must be within returns a computed hash code, in the range [1, theUpperBound]
- param theCartesianPoint
- type theCartesianPoint
opencascade::handle<StepGeom_CartesianPoint> &
- param theUpperBound
- type theUpperBound
int
- rtype
int
-
static
IsEqual
()¶ - Returns True when the two CartesianPoint are the same
- param K1
- type K1
opencascade::handle<StepGeom_CartesianPoint> &
- param K2
- type K2
opencascade::handle<StepGeom_CartesianPoint> &
- rtype
bool
-
property
thisown
¶ The membership flag
-
static
-
class
StepToTopoDS_DataMapOfRI
(*args)¶ Bases:
object
-
Assign
()¶
-
Bind
()¶
-
Bound
()¶
-
ChangeFind
()¶
-
ChangeSeek
()¶
-
Clear
()¶
-
Exchange
()¶
-
Find
()¶
-
IsBound
()¶
-
ReSize
()¶
-
Seek
()¶
-
Set
()¶
-
Size
()¶
-
UnBind
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
StepToTopoDS_DataMapOfRINames
(*args)¶ Bases:
object
-
Assign
()¶
-
Bind
()¶
-
Bound
()¶
-
ChangeFind
()¶
-
ChangeSeek
()¶
-
Clear
()¶
-
Exchange
()¶
-
Find
()¶
-
IsBound
()¶
-
ReSize
()¶
-
Seek
()¶
-
Set
()¶
-
Size
()¶
-
UnBind
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
StepToTopoDS_DataMapOfTRI
(*args)¶ Bases:
object
-
Assign
()¶
-
Bind
()¶
-
Bound
()¶
-
ChangeFind
()¶
-
ChangeSeek
()¶
-
Clear
()¶
-
Exchange
()¶
-
Find
()¶
-
IsBound
()¶
-
ReSize
()¶
-
Seek
()¶
-
Set
()¶
-
Size
()¶
-
UnBind
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
StepToTopoDS_GeometricTool
¶ Bases:
object
-
static
IsLikeSeam
()¶ - Parameters
SC –
- type SC
opencascade::handle<StepGeom_SurfaceCurve> &
- param S
- type S
opencascade::handle<StepGeom_Surface> &
- param E
- type E
opencascade::handle<StepShape_Edge> &
- param EL
- type EL
opencascade::handle<StepShape_EdgeLoop> &
- rtype
bool
-
static
IsSeamCurve
()¶ - Parameters
SC –
- type SC
opencascade::handle<StepGeom_SurfaceCurve> &
- param S
- type S
opencascade::handle<StepGeom_Surface> &
- param E
- type E
opencascade::handle<StepShape_Edge> &
- param EL
- type EL
opencascade::handle<StepShape_EdgeLoop> &
- rtype
bool
-
static
PCurve
()¶ - Parameters
SC –
- type SC
opencascade::handle<StepGeom_SurfaceCurve> &
- param S
- type S
opencascade::handle<StepGeom_Surface> &
- param PC
- type PC
opencascade::handle<StepGeom_Pcurve> &
- param last
default value is 0
- type last
int
- rtype
int
-
static
UpdateParam3d
()¶ - Parameters
C –
- type C
opencascade::handle<Geom_Curve> &
- param w1
- type w1
float &
- param w2
- type w2
float &
- param preci
- type preci
float
- rtype
bool
-
property
thisown
¶ The membership flag
-
static
-
class
StepToTopoDS_MakeTransformed
(*args)¶ Bases:
OCC.Core.StepToTopoDS.StepToTopoDS_Root
- Return type
-
Compute
()¶ - Computes a transformation to pass from an Origin placement to a Target placement. Returns True when done If not done, the transformation will by Identity
- param Origin
- type Origin
opencascade::handle<StepGeom_Axis2Placement3d> &
- param Target
- type Target
opencascade::handle<StepGeom_Axis2Placement3d> &
- rtype
bool* Computes a transformation defined by an operator 3D
- param Operator
- type Operator
opencascade::handle<StepGeom_CartesianTransformationOperator3d> &
- rtype
bool
-
Transform
()¶ - Applies the computed transformation to a shape Returns False if the transformation is Identity
- param shape
- type shape
TopoDS_Shape &
- rtype
bool
-
Transformation
()¶ - Returns the computed transformation (Identity if not yet or if failed)
- rtype
gp_Trsf
-
TranslateMappedItem
()¶ - Translates a MappedItem. More precisely A MappedItem has a MappingSource and a MappingTarget MappingSource has a MappedRepresentation and a MappingOrigin MappedRepresentation is the basic item to be instanced MappingOrigin is the starting placement MappingTarget is the final placement //! Hence, the transformation from MappingOrigin and MappingTarget is computed, the MappedRepr. is converted to a Shape, then transformed as an instance of this Shape
- param mapit
- type mapit
opencascade::handle<StepRepr_MappedItem> &
- param TP
- type TP
opencascade::handle<Transfer_TransientProcess> &
- rtype
TopoDS_Shape
-
property
thisown
¶ The membership flag
-
class
StepToTopoDS_NMTool
(*args)¶ Bases:
object
- Return type
None:param MapOfRI: :type MapOfRI: StepToTopoDS_DataMapOfRI & :param MapOfRINames: :type MapOfRINames: StepToTopoDS_DataMapOfRINames & :rtype: None
-
Bind
()¶ - Parameters
RI –
- type RI
opencascade::handle<StepRepr_RepresentationItem> &
- param S
- type S
TopoDS_Shape &
- rtype
None:param RIName:
- type RIName
TCollection_AsciiString &
- param S
- type S
TopoDS_Shape &
- rtype
None
-
Find
()¶ - Parameters
RI –
- type RI
opencascade::handle<StepRepr_RepresentationItem> &
- rtype
TopoDS_Shape:param RIName:
- type RIName
TCollection_AsciiString &
- rtype
TopoDS_Shape
-
Init
()¶ - Parameters
MapOfRI –
- type MapOfRI
StepToTopoDS_DataMapOfRI &
- param MapOfRINames
- type MapOfRINames
StepToTopoDS_DataMapOfRINames &
- rtype
None
-
IsBound
()¶ - Parameters
RI –
- type RI
opencascade::handle<StepRepr_RepresentationItem> &
- rtype
bool:param RIName:
- type RIName
TCollection_AsciiString &
- rtype
bool
-
IsPureNMShell
()¶ - Parameters
Shell –
- type Shell
TopoDS_Shape &
- rtype
bool
-
IsSuspectedAsClosing
()¶ - Parameters
BaseShell –
- type BaseShell
TopoDS_Shape &
- param SuspectedShell
- type SuspectedShell
TopoDS_Shape &
- rtype
bool
-
RegisterNMEdge
()¶ - Parameters
Edge –
- type Edge
TopoDS_Shape &
- rtype
None
-
SetActive
()¶ - Parameters
isActive –
- type isActive
bool
- rtype
None
-
SetIDEASCase
()¶ - Parameters
IDEASCase –
- type IDEASCase
bool
- rtype
None
-
property
thisown
¶ The membership flag
-
class
StepToTopoDS_PointEdgeMap
(*args)¶ Bases:
object
-
Assign
()¶
-
Bind
()¶
-
Bound
()¶
-
ChangeFind
()¶
-
ChangeSeek
()¶
-
Clear
()¶
-
Exchange
()¶
-
Find
()¶
-
IsBound
()¶
-
ReSize
()¶
-
Seek
()¶
-
Set
()¶
-
Size
()¶
-
UnBind
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
StepToTopoDS_PointPair
(*args)¶ Bases:
object
- Parameters
P1 –
- type P1
opencascade::handle<StepGeom_CartesianPoint> &
- param P2
- type P2
opencascade::handle<StepGeom_CartesianPoint> &
- rtype
None
-
property
thisown
¶ The membership flag
-
class
StepToTopoDS_PointPairHasher
¶ Bases:
object
-
static
HashCode
()¶ - Computes a hash code for the point pair, in the range [1, theUpperBound] @param thePointPair the point pair which hash code is to be computed @param theUpperBound the upper bound of the range a computing hash code must be within returns a computed hash code, in the range [1, theUpperBound]
- param thePointPair
- type thePointPair
StepToTopoDS_PointPair &
- param theUpperBound
- type theUpperBound
int
- rtype
int
-
static
IsEqual
()¶ - Returns True when the two PointPair are the same
- param K1
- type K1
StepToTopoDS_PointPair &
- param K2
- type K2
StepToTopoDS_PointPair &
- rtype
bool
-
property
thisown
¶ The membership flag
-
static
-
class
StepToTopoDS_PointVertexMap
(*args)¶ Bases:
object
-
Assign
()¶
-
Bind
()¶
-
Bound
()¶
-
ChangeFind
()¶
-
ChangeSeek
()¶
-
Clear
()¶
-
Exchange
()¶
-
Find
()¶
-
IsBound
()¶
-
ReSize
()¶
-
Seek
()¶
-
Set
()¶
-
Size
()¶
-
UnBind
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
StepToTopoDS_Root
(*args, **kwargs)¶ Bases:
object
-
MaxTol
()¶ - Returns the value of ‘MaxTol’
- rtype
float
-
Precision
()¶ - Returns the value of ‘MyPrecision’
- rtype
float
-
SetMaxTol
()¶ - Sets the value of MaxTol
- param maxpreci
- type maxpreci
float
- rtype
None
-
SetPrecision
()¶ - Sets the value of ‘MyPrecision’
- param preci
- type preci
float
- rtype
None
-
property
thisown
¶ The membership flag
-
-
class
StepToTopoDS_TranslateCompositeCurve
(*args)¶ Bases:
OCC.Core.StepToTopoDS.StepToTopoDS_Root
- Empty constructor
- rtype
None* Translates standalone composite_curve
- param CC
- type CC
opencascade::handle<StepGeom_CompositeCurve> &
- param TP
- type TP
opencascade::handle<Transfer_TransientProcess> &
- rtype
None* Translates composite_curve lying on surface
- param CC
- type CC
opencascade::handle<StepGeom_CompositeCurve> &
- param TP
- type TP
opencascade::handle<Transfer_TransientProcess> &
- param S
- type S
opencascade::handle<StepGeom_Surface> &
- param Surf
- type Surf
opencascade::handle<Geom_Surface> &
- rtype
None
-
Init
()¶ - Translates standalone composite_curve
- param CC
- type CC
opencascade::handle<StepGeom_CompositeCurve> &
- param TP
- type TP
opencascade::handle<Transfer_TransientProcess> &
- rtype
bool* Translates composite_curve lying on surface
- param CC
- type CC
opencascade::handle<StepGeom_CompositeCurve> &
- param TP
- type TP
opencascade::handle<Transfer_TransientProcess> &
- param S
- type S
opencascade::handle<StepGeom_Surface> &
- param Surf
- type Surf
opencascade::handle<Geom_Surface> &
- rtype
bool
-
IsInfiniteSegment
()¶ - Returns True if composite_curve contains a segment with infinite parameters.
- rtype
bool
-
Value
()¶ - Returns result of last translation or null wire if failed.
- rtype
TopoDS_Wire
-
property
thisown
¶ The membership flag
-
class
StepToTopoDS_TranslateCurveBoundedSurface
(*args)¶ Bases:
OCC.Core.StepToTopoDS.StepToTopoDS_Root
- Create empty tool
- rtype
None* Translate surface
- param CBS
- type CBS
opencascade::handle<StepGeom_CurveBoundedSurface> &
- param TP
- type TP
opencascade::handle<Transfer_TransientProcess> &
- rtype
None
-
Init
()¶ - Translate surface
- param CBS
- type CBS
opencascade::handle<StepGeom_CurveBoundedSurface> &
- param TP
- type TP
opencascade::handle<Transfer_TransientProcess> &
- rtype
bool
-
Value
()¶ - Returns result of last translation or null wire if failed.
- rtype
TopoDS_Face
-
property
thisown
¶ The membership flag
-
class
StepToTopoDS_TranslateEdge
(*args)¶ Bases:
OCC.Core.StepToTopoDS.StepToTopoDS_Root
- Return type
None:param E: :type E: opencascade::handle<StepShape_Edge> & :param T: :type T: StepToTopoDS_Tool & :param NMTool: :type NMTool: StepToTopoDS_NMTool & :rtype: None
-
Error
()¶ - Return type
StepToTopoDS_TranslateEdgeError
-
Init
()¶ - Parameters
E –
- type E
opencascade::handle<StepShape_Edge> &
- param T
- type T
StepToTopoDS_Tool &
- param NMTool
- type NMTool
StepToTopoDS_NMTool &
- rtype
None
-
MakeFromCurve3D
()¶ - Warning! C3D is assumed to be a Curve 3D … other cases to checked before calling this
- param C3D
- type C3D
opencascade::handle<StepGeom_Curve> &
- param EC
- type EC
opencascade::handle<StepShape_EdgeCurve> &
- param Vend
- type Vend
opencascade::handle<StepShape_Vertex> &
- param preci
- type preci
float
- param E
- type E
TopoDS_Edge &
- param V1
- type V1
TopoDS_Vertex &
- param V2
- type V2
TopoDS_Vertex &
- param T
- type T
StepToTopoDS_Tool &
- rtype
None
-
MakePCurve
()¶ - Parameters
PCU –
- type PCU
opencascade::handle<StepGeom_Pcurve> &
- param ConvSurf
- type ConvSurf
opencascade::handle<Geom_Surface> &
- rtype
opencascade::handle<Geom2d_Curve>
-
Value
()¶ - Return type
-
property
thisown
¶ The membership flag
-
class
StepToTopoDS_TranslateEdgeLoop
(*args)¶ Bases:
OCC.Core.StepToTopoDS.StepToTopoDS_Root
- Return type
None:param FB: :type FB: opencascade::handle<StepShape_FaceBound> & :param F: :type F: TopoDS_Face & :param S: :type S: opencascade::handle<Geom_Surface> & :param SS: :type SS: opencascade::handle<StepGeom_Surface> & :param ss: :type ss: bool :param T: :type T: StepToTopoDS_Tool & :param NMTool: :type NMTool: StepToTopoDS_NMTool & :rtype: None
-
Error
()¶ - Return type
StepToTopoDS_TranslateEdgeLoopError
-
Init
()¶ - Parameters
FB –
- type FB
opencascade::handle<StepShape_FaceBound> &
- param F
- type F
TopoDS_Face &
- param S
- type S
opencascade::handle<Geom_Surface> &
- param SS
- type SS
opencascade::handle<StepGeom_Surface> &
- param ss
- type ss
bool
- param T
- type T
StepToTopoDS_Tool &
- param NMTool
- type NMTool
StepToTopoDS_NMTool &
- rtype
None
-
Value
()¶ - Return type
-
property
thisown
¶ The membership flag
-
class
StepToTopoDS_TranslateFace
(*args)¶ Bases:
OCC.Core.StepToTopoDS.StepToTopoDS_Root
- Return type
None:param FS: :type FS: opencascade::handle<StepShape_FaceSurface> & :param T: :type T: StepToTopoDS_Tool & :param NMTool: :type NMTool: StepToTopoDS_NMTool & :rtype: None
-
Error
()¶ - Return type
StepToTopoDS_TranslateFaceError
-
Init
()¶ - Parameters
FS –
- type FS
opencascade::handle<StepShape_FaceSurface> &
- param T
- type T
StepToTopoDS_Tool &
- param NMTool
- type NMTool
StepToTopoDS_NMTool &
- rtype
None
-
Value
()¶ - Return type
-
property
thisown
¶ The membership flag
-
class
StepToTopoDS_TranslatePolyLoop
(*args)¶ Bases:
OCC.Core.StepToTopoDS.StepToTopoDS_Root
- Return type
None:param PL: :type PL: opencascade::handle<StepShape_PolyLoop> & :param T: :type T: StepToTopoDS_Tool & :param S: :type S: opencascade::handle<Geom_Surface> & :param F: :type F: TopoDS_Face & :rtype: None
-
Error
()¶ - Return type
StepToTopoDS_TranslatePolyLoopError
-
Init
()¶ - Parameters
PL –
- type PL
opencascade::handle<StepShape_PolyLoop> &
- param T
- type T
StepToTopoDS_Tool &
- param S
- type S
opencascade::handle<Geom_Surface> &
- param F
- type F
TopoDS_Face &
- rtype
None
-
Value
()¶ - Return type
-
property
thisown
¶ The membership flag
-
class
StepToTopoDS_TranslateShell
(*args)¶ Bases:
OCC.Core.StepToTopoDS.StepToTopoDS_Root
- Return type
None:param CFS: :type CFS: opencascade::handle<StepShape_ConnectedFaceSet> & :param T: :type T: StepToTopoDS_Tool & :param NMTool: :type NMTool: StepToTopoDS_NMTool & :rtype: None
-
Error
()¶ - Return type
StepToTopoDS_TranslateShellError
-
Init
()¶ - Parameters
CFS –
- type CFS
opencascade::handle<StepShape_ConnectedFaceSet> &
- param T
- type T
StepToTopoDS_Tool &
- param NMTool
- type NMTool
StepToTopoDS_NMTool &
- rtype
None
-
Value
()¶ - Return type
-
property
thisown
¶ The membership flag
-
class
StepToTopoDS_TranslateVertex
(*args)¶ Bases:
OCC.Core.StepToTopoDS.StepToTopoDS_Root
- Return type
None:param V: :type V: opencascade::handle<StepShape_Vertex> & :param T: :type T: StepToTopoDS_Tool & :param NMTool: :type NMTool: StepToTopoDS_NMTool & :rtype: None
-
Error
()¶ - Return type
StepToTopoDS_TranslateVertexError
-
Init
()¶ - Parameters
V –
- type V
opencascade::handle<StepShape_Vertex> &
- param T
- type T
StepToTopoDS_Tool &
- param NMTool
- type NMTool
StepToTopoDS_NMTool &
- rtype
None
-
Value
()¶ - Return type
-
property
thisown
¶ The membership flag
-
class
StepToTopoDS_TranslateVertexLoop
(*args)¶ Bases:
OCC.Core.StepToTopoDS.StepToTopoDS_Root
- Return type
None:param VL: :type VL: opencascade::handle<StepShape_VertexLoop> & :param T: :type T: StepToTopoDS_Tool & :param NMTool: :type NMTool: StepToTopoDS_NMTool & :rtype: None
-
Error
()¶ - Return type
StepToTopoDS_TranslateVertexLoopError
-
Init
()¶ - Parameters
VL –
- type VL
opencascade::handle<StepShape_VertexLoop> &
- param T
- type T
StepToTopoDS_Tool &
- param NMTool
- type NMTool
StepToTopoDS_NMTool &
- rtype
None
-
Value
()¶ - Return type
-
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
steptotopods
¶ Bases:
object
-
static
DecodeBuilderError
()¶ - Parameters
Error –
- type Error
StepToTopoDS_BuilderError
- rtype
opencascade::handle<TCollection_HAsciiString>
-
static
DecodeEdgeError
()¶ - Parameters
Error –
- type Error
StepToTopoDS_TranslateEdgeError
- rtype
opencascade::handle<TCollection_HAsciiString>
-
static
DecodeFaceError
()¶ - Parameters
Error –
- type Error
StepToTopoDS_TranslateFaceError
- rtype
opencascade::handle<TCollection_HAsciiString>
-
static
DecodeGeometricToolError
()¶ - Parameters
Error –
- type Error
StepToTopoDS_GeometricToolError
- rtype
char *
-
static
DecodePolyLoopError
()¶ - Parameters
Error –
- type Error
StepToTopoDS_TranslatePolyLoopError
- rtype
opencascade::handle<TCollection_HAsciiString>
-
static
DecodeShellError
()¶ - Parameters
Error –
- type Error
StepToTopoDS_TranslateShellError
- rtype
opencascade::handle<TCollection_HAsciiString>
-
static
DecodeVertexError
()¶ - Parameters
Error –
- type Error
StepToTopoDS_TranslateVertexError
- rtype
opencascade::handle<TCollection_HAsciiString>
-
static
DecodeVertexLoopError
()¶ - Parameters
Error –
- type Error
StepToTopoDS_TranslateVertexLoopError
- rtype
opencascade::handle<TCollection_HAsciiString>
-
property
thisown
¶ The membership flag
-
static