OCC.Core.TopOpeBRepTool module¶
TopOpeBRepTool module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_topopebreptool.html
-
class
SwigPyIterator
(*args, **kwargs)¶ Bases:
object
-
advance
()¶
-
copy
()¶
-
decr
()¶
-
distance
()¶
-
equal
()¶
-
incr
()¶
-
next
()¶
-
previous
()¶
-
property
thisown
¶ The membership flag
-
value
()¶
-
-
class
TopOpeBRepTool_AncestorsTool
¶ Bases:
object
-
static
MakeAncestors
()¶ - same as package method TopExp::MapShapeListOfShapes()
- param S
- type S
TopoDS_Shape
- param TS
- type TS
TopAbs_ShapeEnum
- param TA
- type TA
TopAbs_ShapeEnum
- param M
- type M
TopTools_IndexedDataMapOfShapeListOfShape
- rtype
void
-
property
thisown
¶ The membership flag
-
static
-
class
TopOpeBRepTool_BoxSort
(*args)¶ Bases:
object
- Return type
None:param T: :type T: TopOpeBRepTool_HBoxTool :rtype: None
-
AddBoxes
()¶ - Parameters
S –
- type S
TopoDS_Shape
- param TS
- type TS
TopAbs_ShapeEnum
- param TA
default value is TopAbs_SHAPE
- type TA
TopAbs_ShapeEnum
- rtype
None
-
AddBoxesMakeCOB
()¶ - Parameters
S –
- type S
TopoDS_Shape
- param TS
- type TS
TopAbs_ShapeEnum
- param TA
default value is TopAbs_SHAPE
- type TA
TopAbs_ShapeEnum
- rtype
None
-
Box
()¶ - Parameters
S –
- type S
TopoDS_Shape
- rtype
Bnd_Box
-
Compare
()¶ - Parameters
S –
- type S
TopoDS_Shape
- rtype
TColStd_ListIteratorOfListOfInteger
-
HAB
()¶ - Return type
opencascade::handle<Bnd_HArray1OfBox>
-
HABShape
()¶ - Parameters
I –
- type I
int
- rtype
TopoDS_Shape
-
HBoxTool
()¶ - Return type
opencascade::handle<TopOpeBRepTool_HBoxTool>
-
MakeCOB
()¶ - Parameters
S –
- type S
TopoDS_Shape
- param TS
- type TS
TopAbs_ShapeEnum
- param TA
default value is TopAbs_SHAPE
- type TA
TopAbs_ShapeEnum
- rtype
None
-
MakeHAB
()¶ - Parameters
S –
- type S
TopoDS_Shape
- param TS
- type TS
TopAbs_ShapeEnum
- param TA
default value is TopAbs_SHAPE
- type TA
TopAbs_ShapeEnum
- rtype
None
-
static
MakeHABCOB
()¶ - Parameters
HAB –
- type HAB
Bnd_HArray1OfBox
- param COB
- type COB
Bnd_Box
- rtype
void
-
SetHBoxTool
()¶ - Parameters
T –
- type T
TopOpeBRepTool_HBoxTool
- rtype
None
-
TouchedShape
()¶ - Parameters
I –
- type I
TColStd_ListIteratorOfListOfInteger
- rtype
TopoDS_Shape
-
property
thisown
¶ The membership flag
-
class
TopOpeBRepTool_C2DF
(*args)¶ Bases:
object
- Return type
None:param PC: :type PC: Geom2d_Curve :param f2d: :type f2d: float :param l2d: :type l2d: float :param tol: :type tol: float :param F: :type F: TopoDS_Face :rtype: None
-
Face
()¶ - Return type
-
IsFace
()¶ - Parameters
F –
- type F
TopoDS_Face
- rtype
bool
-
IsPC
()¶ - Parameters
PC –
- type PC
Geom2d_Curve
- rtype
bool
-
PC
()¶ - Parameters
f2d –
- type f2d
float
- param l2d
- type l2d
float
- param tol
- type tol
float
- rtype
opencascade::handle<Geom2d_Curve>
-
SetFace
()¶ - Parameters
F –
- type F
TopoDS_Face
- rtype
None
-
SetPC
()¶ - Parameters
PC –
- type PC
Geom2d_Curve
- param f2d
- type f2d
float
- param l2d
- type l2d
float
- param tol
- type tol
float
- rtype
None
-
property
thisown
¶ The membership flag
-
class
TopOpeBRepTool_CLASSI
(*args)¶ Bases:
object
- Return type
-
Add2d
()¶ - Parameters
S –
- type S
TopoDS_Shape
- rtype
bool
-
ClassiBnd2d
()¶ - Parameters
S1 –
- type S1
TopoDS_Shape
- param S2
- type S2
TopoDS_Shape
- param tol
- type tol
float
- param checklarge
- type checklarge
bool
- rtype
int
-
Classilist
()¶ - Parameters
lS –
- type lS
TopTools_ListOfShape
- param mapgreasma
- type mapgreasma
TopTools_DataMapOfShapeListOfShape
- rtype
bool
-
Classip2d
()¶ - Parameters
S1 –
- type S1
TopoDS_Shape
- param S2
- type S2
TopoDS_Shape
- param stabnd2d12
- type stabnd2d12
int
- rtype
int
-
GetBox2d
()¶ - Parameters
S –
- type S
TopoDS_Shape
- param Box2d
- type Box2d
Bnd_Box2d
- rtype
bool
-
Getface
()¶ - Parameters
S –
- type S
TopoDS_Shape
- param fa
- type fa
TopOpeBRepTool_face
- rtype
bool
-
Init2d
()¶ - Parameters
Fref –
- type Fref
TopoDS_Face
- rtype
None
-
property
thisown
¶ The membership flag
-
class
TopOpeBRepTool_CORRISO
(*args)¶ Bases:
object
- Return type
None:param FRef: :type FRef: TopoDS_Face :rtype: None
-
AddNewConnexity
()¶ - Parameters
V –
- type V
TopoDS_Vertex
- param E
- type E
TopoDS_Edge
- rtype
bool
-
Connexity
()¶ - Parameters
V –
- type V
TopoDS_Vertex
- param Eds
- type Eds
TopTools_ListOfShape
- rtype
bool
-
EdgeOUTofBoundsUV
()¶ - Parameters
E –
- type E
TopoDS_Edge
- param onU
- type onU
bool
- param tolx
- type tolx
float
- param parspE
- type parspE
float
- rtype
int
-
EdgeWithFaultyUV
()¶ - Parameters
E –
- type E
TopoDS_Edge
- param Ivfaulty
- type Ivfaulty
int
- rtype
bool:param EdsToCheck:
- type EdsToCheck
TopTools_ListOfShape
- param nfybounds
- type nfybounds
int
- param fyE
- type fyE
TopoDS_Shape
- param Ifaulty
- type Ifaulty
int
- rtype
bool
-
EdgesOUTofBoundsUV
()¶ - Parameters
EdsToCheck –
- type EdsToCheck
TopTools_ListOfShape
- param onU
- type onU
bool
- param tolx
- type tolx
float
- param FyEds
- type FyEds
TopTools_DataMapOfOrientedShapeInteger
- rtype
bool
-
EdgesWithFaultyUV
()¶ - Parameters
EdsToCheck –
- type EdsToCheck
TopTools_ListOfShape
- param nfybounds
- type nfybounds
int
- param FyEds
- type FyEds
TopTools_DataMapOfOrientedShapeInteger
- param stopatfirst
default value is Standard_False
- type stopatfirst
bool
- rtype
bool
-
Eds
()¶ - Return type
-
Fref
()¶ - Return type
-
GASref
()¶ - Return type
-
GetnewS
()¶ - Parameters
newS –
- type newS
TopoDS_Face
- rtype
bool
-
Init
()¶ - Parameters
S –
- type S
TopoDS_Shape
- rtype
bool
-
PurgeFyClosingE
()¶ - Parameters
ClEds –
- type ClEds
TopTools_ListOfShape
- param fyClEds
- type fyClEds
TopTools_ListOfShape
- rtype
bool
-
Refclosed
()¶ - Parameters
x –
- type x
int
- param xperiod
- type xperiod
float
- rtype
bool
-
RemoveOldConnexity
()¶ - Parameters
V –
- type V
TopoDS_Vertex
- param E
- type E
TopoDS_Edge
- rtype
bool
-
S
()¶ - Return type
-
SetConnexity
()¶ - Parameters
V –
- type V
TopoDS_Vertex
- param Eds
- type Eds
TopTools_ListOfShape
- rtype
bool
-
SetUVRep
()¶ - Parameters
E –
- type E
TopoDS_Edge
- param C2DF
- type C2DF
TopOpeBRepTool_C2DF
- rtype
bool
-
Tol
()¶ - Parameters
I –
- type I
int
- param tol3d
- type tol3d
float
- rtype
float
-
TrslUV
()¶ - Parameters
onU –
- type onU
bool
- param FyEds
- type FyEds
TopTools_DataMapOfOrientedShapeInteger
- rtype
bool
-
UVRep
()¶ - Parameters
E –
- type E
TopoDS_Edge
- param C2DF
- type C2DF
TopOpeBRepTool_C2DF
- rtype
bool
-
property
thisown
¶ The membership flag
-
class
TopOpeBRepTool_CurveTool
(*args)¶ Bases:
object
- Return type
None:param OCT: :type OCT: TopOpeBRepTool_OutCurveType :rtype: None:param GT: :type GT: TopOpeBRepTool_GeomTool :rtype: None
-
ChangeGeomTool
()¶ - Return type
-
GetGeomTool
()¶ - Return type
-
static
IsProjectable
()¶ - Parameters
S –
- type S
TopoDS_Shape
- param C
- type C
Geom_Curve
- rtype
bool
-
static
MakeBSpline1fromPnt
()¶ - Parameters
P –
- type P
TColgp_Array1OfPnt
- rtype
opencascade::handle<Geom_Curve>
-
static
MakeBSpline1fromPnt2d
()¶ - Parameters
P –
- type P
TColgp_Array1OfPnt2d
- rtype
opencascade::handle<Geom2d_Curve>
-
MakeCurves
()¶ - Approximates curves. Returns False in the case of failure
- param min
- type min
float
- param max
- type max
float
- param C3D
- type C3D
Geom_Curve
- param PC1
- type PC1
Geom2d_Curve
- param PC2
- type PC2
Geom2d_Curve
- param S1
- type S1
TopoDS_Shape
- param S2
- type S2
TopoDS_Shape
- param C3DN
- type C3DN
Geom_Curve
- param PC1N
- type PC1N
Geom2d_Curve
- param PC2N
- type PC2N
Geom2d_Curve
- param Tol3d
- type Tol3d
float
- param Tol2d
- type Tol2d
float
- rtype
bool
-
static
MakePCurveOnFace
()¶ - Parameters
S –
- type S
TopoDS_Shape
- param C
- type C
Geom_Curve
- param TolReached2d
- type TolReached2d
float
- param first
default value is 0.0
- type first
float
- param last
default value is 0.0
- type last
float
- rtype
opencascade::handle<Geom2d_Curve>
-
SetGeomTool
()¶ - Parameters
GT –
- type GT
TopOpeBRepTool_GeomTool
- rtype
None
-
property
thisown
¶ The membership flag
-
class
TopOpeBRepTool_DataMapOfOrientedShapeC2DF
(*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
TopOpeBRepTool_DataMapOfShapeListOfC2DF
(*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
TopOpeBRepTool_DataMapOfShapeface
(*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
TopOpeBRepTool_FuseEdges
(*args)¶ Bases:
object
- Initialise members and build construction of map of ancestors.
- param theShape
- type theShape
TopoDS_Shape
- param PerformNow
default value is Standard_False
- type PerformNow
bool
- rtype
None
-
AvoidEdges
()¶ - set edges to avoid being fused
- param theMapEdg
- type theMapEdg
TopTools_IndexedMapOfShape
- rtype
None
-
Edges
()¶ - returns all the list of edges to be fused each list of the map represent a set of connex edges that can be fused.
- param theMapLstEdg
- type theMapLstEdg
TopTools_DataMapOfIntegerListOfShape
- rtype
None
-
Faces
()¶ - returns the map of modified faces.
- param theMapFac
- type theMapFac
TopTools_DataMapOfShapeShape
- rtype
None
-
NbVertices
()¶ - returns the number of vertices candidate to be removed
- rtype
int
-
Perform
()¶ - Using map of list of connex edges, fuse each list to one edge and then update myShape
- rtype
None
-
ResultEdges
()¶ - returns all the fused edges. each integer entry in the map corresponds to the integer in the DataMapOfIntegerListOfShape we get in method Edges. That is to say, to the list of edges in theMapLstEdg(i) corresponds the resulting edge theMapEdge(i)
- param theMapEdg
- type theMapEdg
TopTools_DataMapOfIntegerShape
- rtype
None
-
Shape
()¶ - returns myShape modified with the list of internal edges removed from it.
- rtype
TopoDS_Shape
-
property
thisown
¶ The membership flag
-
class
TopOpeBRepTool_GeomTool
(*args)¶ Bases:
object
- Boolean flags <CompC3D>, <CompPC1>, <CompPC2> indicate whether the corresponding result curves <C3D>, <PC1>, <PC2> of MakeCurves method must or not be computed from an intersection line <L>. When the line <L> is a walking one, <TypeC3D> is the kind of the 3D curve <C3D> to compute- BSPLINE1 to compute a BSpline of degree 1 on the walking points of <L>, - APPROX to build an approximation curve on the walking points of <L>.
- param TypeC3D
default value is TopOpeBRepTool_BSPLINE1
- type TypeC3D
TopOpeBRepTool_OutCurveType
- param CompC3D
default value is Standard_True
- type CompC3D
bool
- param CompPC1
default value is Standard_True
- type CompPC1
bool
- param CompPC2
default value is Standard_True
- type CompPC2
bool
- rtype
None
-
Define
()¶ - Parameters
TypeC3D –
- type TypeC3D
TopOpeBRepTool_OutCurveType
- param CompC3D
- type CompC3D
bool
- param CompPC1
- type CompPC1
bool
- param CompPC2
- type CompPC2
bool
- rtype
None:param TypeC3D:
- type TypeC3D
TopOpeBRepTool_OutCurveType
- rtype
None:param GT:
- type GT
TopOpeBRepTool_GeomTool
- rtype
None
-
DefineCurves
()¶ - Parameters
CompC3D –
- type CompC3D
bool
- rtype
None
-
DefinePCurves1
()¶ - Parameters
CompPC1 –
- type CompPC1
bool
- rtype
None
-
DefinePCurves2
()¶ - Parameters
CompPC2 –
- type CompPC2
bool
- rtype
None
-
GetTolerances
()¶ - Parameters
tol3d –
- type tol3d
float
- param tol2d
- type tol2d
float
- rtype
None
-
SetNbPntMax
()¶ - Parameters
NbPntMax –
- type NbPntMax
int
- rtype
None
-
SetTolerances
()¶ - Parameters
tol3d –
- type tol3d
float
- param tol2d
- type tol2d
float
- rtype
None
-
TypeC3D
()¶ - Return type
TopOpeBRepTool_OutCurveType
-
property
thisown
¶ The membership flag
-
class
TopOpeBRepTool_HBoxTool
(*args)¶ Bases:
OCC.Core.Standard.Standard_Transient
- Return type
-
AddBox
()¶ - Parameters
S –
- type S
TopoDS_Shape
- rtype
None
-
AddBoxes
()¶ - Parameters
S –
- type S
TopoDS_Shape
- param TS
- type TS
TopAbs_ShapeEnum
- param TA
default value is TopAbs_SHAPE
- type TA
TopAbs_ShapeEnum
- rtype
None
-
Box
()¶ - Parameters
S –
- type S
TopoDS_Shape
- rtype
Bnd_Box:param I:
- type I
int
- rtype
Bnd_Box
-
ChangeIMS
()¶ - Return type
-
static
ComputeBox
()¶ - Parameters
S –
- type S
TopoDS_Shape
- param B
- type B
Bnd_Box
- rtype
void
-
static
ComputeBoxOnVertices
()¶ - Parameters
S –
- type S
TopoDS_Shape
- param B
- type B
Bnd_Box
- rtype
void
-
static
DownCast
(t)¶
-
static
DumpB
()¶ - Parameters
B –
- type B
Bnd_Box
- rtype
void
-
HasBox
()¶ - Parameters
S –
- type S
TopoDS_Shape
- rtype
bool
-
IMS
()¶ - Return type
-
Index
()¶ - Parameters
S –
- type S
TopoDS_Shape
- rtype
int
-
Shape
()¶ - Parameters
I –
- type I
int
- rtype
TopoDS_Shape
-
property
thisown
¶ The membership flag
-
class
TopOpeBRepTool_IndexedDataMapOfShapeBox
(*args)¶ Bases:
object
-
Add
()¶
-
Assign
()¶
-
ChangeFromIndex
()¶
-
ChangeFromKey
()¶
-
ChangeSeek
()¶
-
Clear
()¶
-
Contains
()¶
-
Exchange
()¶
-
FindFromIndex
()¶
-
FindFromKey
()¶
-
FindIndex
()¶
-
FindKey
()¶
-
ReSize
()¶
-
RemoveFromIndex
()¶
-
RemoveKey
()¶
-
RemoveLast
()¶
-
Seek
()¶
-
Set
()¶
-
Size
()¶
-
Substitute
()¶
-
Swap
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
TopOpeBRepTool_IndexedDataMapOfShapeBox2d
(*args)¶ Bases:
object
-
Add
()¶
-
Assign
()¶
-
ChangeFromIndex
()¶
-
ChangeFromKey
()¶
-
ChangeSeek
()¶
-
Clear
()¶
-
Contains
()¶
-
Exchange
()¶
-
FindFromIndex
()¶
-
FindFromKey
()¶
-
FindIndex
()¶
-
FindKey
()¶
-
ReSize
()¶
-
RemoveFromIndex
()¶
-
RemoveKey
()¶
-
RemoveLast
()¶
-
Seek
()¶
-
Set
()¶
-
Size
()¶
-
Substitute
()¶
-
Swap
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
TopOpeBRepTool_IndexedDataMapOfShapeconnexity
(*args)¶ Bases:
object
-
Add
()¶
-
Assign
()¶
-
ChangeFromIndex
()¶
-
ChangeFromKey
()¶
-
ChangeSeek
()¶
-
Clear
()¶
-
Contains
()¶
-
Exchange
()¶
-
FindFromIndex
()¶
-
FindFromKey
()¶
-
FindIndex
()¶
-
FindKey
()¶
-
ReSize
()¶
-
RemoveFromIndex
()¶
-
RemoveKey
()¶
-
RemoveLast
()¶
-
Seek
()¶
-
Set
()¶
-
Size
()¶
-
Substitute
()¶
-
Swap
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
TopOpeBRepTool_ListIteratorOfListOfC2DF
(*args)¶ Bases:
object
-
ChangeValue
()¶
-
More
()¶
-
Next
()¶
-
Value
()¶
-
property
thisown
¶ The membership flag
-
-
class
TopOpeBRepTool_ListOfC2DF
(*args)¶ Bases:
object
-
Append
()¶
-
Assign
()¶
-
Clear
()¶
-
First
()¶
-
InsertAfter
()¶
-
InsertBefore
()¶
-
Last
()¶
-
Prepend
()¶
-
Remove
()¶
-
RemoveFirst
()¶
-
Reverse
()¶
-
Set
()¶
-
Size
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
TopOpeBRepTool_PurgeInternalEdges
(*args)¶ Bases:
object
- Initialize members and begin exploration of shape depending of the value of PerformNow
- param theShape
- type theShape
TopoDS_Shape
- param PerformNow
default value is Standard_True
- type PerformNow
bool
- rtype
None
-
Faces
()¶ - returns the list internal edges associated with the faces of the myShape. If PerformNow was False when created, then call the private Perform method that do the main job.
- param theMapFacLstEdg
- type theMapFacLstEdg
TopTools_DataMapOfShapeListOfShape
- rtype
None
-
IsDone
()¶ - returns False if the list of internal edges has not been extracted
- rtype
bool
-
NbEdges
()¶ - returns the number of edges candidate to be removed
- rtype
int
-
Perform
()¶ - Using the list of internal edge from each face, rebuild myShape by removing thoses edges.
- rtype
None
-
Shape
()¶ - returns myShape modified with the list of internal edges removed from it.
- rtype
TopoDS_Shape
-
property
thisown
¶ The membership flag
-
class
TopOpeBRepTool_REGUS
(*args)¶ Bases:
object
- Return type
-
GetFsplits
()¶ - Parameters
Fsplits –
- type Fsplits
TopTools_DataMapOfShapeListOfShape
- rtype
None
-
GetOshNsh
()¶ - Parameters
OshNsh –
- type OshNsh
TopTools_DataMapOfShapeListOfShape
- rtype
None
-
Init
()¶ - Parameters
S –
- type S
TopoDS_Shape
- rtype
None
-
NearestF
()¶ - Parameters
e –
- type e
TopoDS_Edge
- param lof
- type lof
TopTools_ListOfShape
- param ffound
- type ffound
TopoDS_Face
- rtype
bool
-
S
()¶ - Return type
-
SetFsplits
()¶ - Parameters
Fsplits –
- type Fsplits
TopTools_DataMapOfShapeListOfShape
- rtype
None
-
SetOshNsh
()¶ - Parameters
OshNsh –
- type OshNsh
TopTools_DataMapOfShapeListOfShape
- rtype
None
-
static
SplitF
()¶ - Parameters
Fanc –
- type Fanc
TopoDS_Face
- param FSplits
- type FSplits
TopTools_ListOfShape
- rtype
bool
-
static
WireToFace
()¶ - Parameters
Fanc –
- type Fanc
TopoDS_Face
- param nWs
- type nWs
TopTools_ListOfShape
- param nFs
- type nFs
TopTools_ListOfShape
- rtype
bool
-
property
thisown
¶ The membership flag
-
class
TopOpeBRepTool_REGUW
(*args)¶ Bases:
object
- Parameters
FRef –
- type FRef
TopoDS_Face
- rtype
None
-
AddNewConnexity
()¶ - Parameters
v –
- type v
TopoDS_Vertex
- param OriKey
- type OriKey
int
- param e
- type e
TopoDS_Edge
- rtype
bool
-
Connexity
()¶ - Parameters
v –
- type v
TopoDS_Vertex
- param co
- type co
TopOpeBRepTool_connexity
- rtype
bool
-
Fref
()¶ - Return type
-
GetEsplits
()¶ - Parameters
Esplits –
- type Esplits
TopTools_DataMapOfShapeListOfShape
- rtype
None
-
GetOwNw
()¶ - Parameters
OwNw –
- type OwNw
TopTools_DataMapOfShapeListOfShape
- rtype
None
-
GetSplits
()¶ - Parameters
Splits –
- type Splits
TopTools_ListOfShape
- rtype
bool
-
Init
()¶ - Parameters
S –
- type S
TopoDS_Shape
- rtype
None
-
NearestE
()¶ - Parameters
loe –
- type loe
TopTools_ListOfShape
- param efound
- type efound
TopoDS_Edge
- rtype
bool
-
REGU
()¶ - Parameters
istep –
- type istep
int
- param Scur
- type Scur
TopoDS_Shape
- param Splits
- type Splits
TopTools_ListOfShape
- rtype
bool:rtype: bool
-
RemoveOldConnexity
()¶ - Parameters
v –
- type v
TopoDS_Vertex
- param OriKey
- type OriKey
int
- param e
- type e
TopoDS_Edge
- rtype
bool
-
S
()¶ - Return type
-
SetEsplits
()¶ - Parameters
Esplits –
- type Esplits
TopTools_DataMapOfShapeListOfShape
- rtype
None
-
SetOwNw
()¶ - Parameters
OwNw –
- type OwNw
TopTools_DataMapOfShapeListOfShape
- rtype
None
-
UpdateMultiple
()¶ - Parameters
v –
- type v
TopoDS_Vertex
- rtype
bool
-
property
thisown
¶ The membership flag
-
class
TopOpeBRepTool_ShapeClassifier
(*args)¶ Bases:
object
- Return type
None* SRef is the reference shape. StateShapeShape(S) calls will classify S with SRef. :param SRef: :type SRef: TopoDS_Shape :rtype: None
-
ChangeSolidClassifier
()¶ - Return type
-
ClearAll
()¶ - reset all internal data (SolidClassifier included)
- rtype
None
-
ClearCurrent
()¶ - reset all internal data (except SolidClassified)
- rtype
None
-
SameDomain
()¶ - Return type
int* set mode for next StateShapeShape call samedomain = true –> S,Sref are same domain –> point on restriction (ON S) is used to classify S. samedomain = false –> S,Sref are not domain –> point not on restriction of S (IN S) is used to classify S. samedomain value is used only in next StateShapeShape call :param samedomain: :type samedomain: int :rtype: None
-
SetReference
()¶ - Set SRef as reference shape the next StateShapeReference(S,AvoidS) calls will classify S with SRef.
- param SRef
- type SRef
TopoDS_Shape
- rtype
None
-
State
()¶ - return field myState
- rtype
TopAbs_State
-
StateP2DReference
()¶ - classify point P2D with myRef
- param P2D
- type P2D
gp_Pnt2d
- rtype
None
-
StateP3DReference
()¶ - classify point P3D with myRef
- param P3D
- type P3D
gp_Pnt
- rtype
None
-
StateShapeReference
()¶ - classify shape S compared with reference shape. AvoidS is not used in classification; AvoidS may be IsNull(). (usefull to avoid ON or UNKNOWN state in special cases)
- param S
- type S
TopoDS_Shape
- param AvoidS
- type AvoidS
TopoDS_Shape
- rtype
TopAbs_State* classify shape S compared with reference shape. LAvoidS is list of S subshapes to avoid in classification (usefull to avoid ON or UNKNOWN state in special cases)
- param S
- type S
TopoDS_Shape
- param LAvoidS
- type LAvoidS
TopTools_ListOfShape
- rtype
TopAbs_State
-
StateShapeShape
()¶ - classify shape S compared with shape SRef. samedomain = 0S1,S2 are not same domain samedomain = 1S1,S2 are same domain
- param S
- type S
TopoDS_Shape
- param SRef
- type SRef
TopoDS_Shape
- param samedomain
default value is 0
- type samedomain
int
- rtype
TopAbs_State* classify shape S compared with shape SRef. AvoidS is not used in classification; AvoidS may be IsNull(). (usefull to avoid ON or UNKNOWN state in special cases)
- param S
- type S
TopoDS_Shape
- param AvoidS
- type AvoidS
TopoDS_Shape
- param SRef
- type SRef
TopoDS_Shape
- rtype
TopAbs_State* classify shape S compared with shape SRef. LAvoidS is list of S subshapes to avoid in classification AvoidS is not used in classification; AvoidS may be IsNull(). (usefull to avoid ON or UNKNOWN state in special cases)
- param S
- type S
TopoDS_Shape
- param LAvoidS
- type LAvoidS
TopTools_ListOfShape
- param SRef
- type SRef
TopoDS_Shape
- rtype
TopAbs_State
-
property
thisown
¶ The membership flag
-
class
TopOpeBRepTool_ShapeExplorer
(*args)¶ Bases:
OCC.Core.TopExp.TopExp_Explorer
- Creates an empty explorer, becomes usefull after Init.
- rtype
None* Creates an Explorer on the Shape <S>. //! <ToFind> is the type of shapes to search. TopAbs_VERTEX, TopAbs_EDGE, … //! <ToAvoid> is the type of shape to skip in the exploration. If <ToAvoid> is equal or less complex than <ToFind> or if <ToAVoid> is SHAPE it has no effect on the exploration.
- param S
- type S
TopoDS_Shape
- param ToFind
- type ToFind
TopAbs_ShapeEnum
- param ToAvoid
default value is TopAbs_SHAPE
- type ToAvoid
TopAbs_ShapeEnum
- rtype
None
-
DumpCurrentToString
(TopOpeBRepTool_ShapeExplorer self) → std::string¶
-
Index
()¶ - Index of current sub-shape
- rtype
int
-
Init
()¶ - Parameters
S –
- type S
TopoDS_Shape
- param ToFind
- type ToFind
TopAbs_ShapeEnum
- param ToAvoid
default value is TopAbs_SHAPE
- type ToAvoid
TopAbs_ShapeEnum
- rtype
None
-
Next
()¶ - Moves to the next Shape in the exploration.
- rtype
None
-
property
thisown
¶ The membership flag
-
class
TopOpeBRepTool_ShapeTool
¶ Bases:
object
-
static
AdjustOnPeriodic
()¶ - ajust u,v values in UVBounds of the domain of the geometric shape <S>, according to Uperiodicity and VPeriodicity of the domain. <S> is assumed to be a face. u and/or v is/are not modified when the domain is not periodic in U and/or V .
- param S
- type S
TopoDS_Shape
- param u
- type u
float
- param v
- type v
float
- rtype
void
-
static
BASISCURVE
()¶ - Parameters
C –
- type C
Geom_Curve
- rtype
opencascade::handle<Geom_Curve>:param E:
- type E
TopoDS_Edge
- rtype
opencascade::handle<Geom_Curve>
-
static
BASISSURFACE
()¶ - Parameters
S –
- type S
Geom_Surface
- rtype
opencascade::handle<Geom_Surface>:param F:
- type F
TopoDS_Face
- rtype
opencascade::handle<Geom_Surface>
-
static
Closed
()¶ - indicates wheter shape S1 is a closing shape on S2 or not.
- param S1
- type S1
TopoDS_Shape
- param S2
- type S2
TopoDS_Shape
- rtype
bool
-
static
CurvesSameOriented
()¶ - Parameters
C1 –
- type C1
BRepAdaptor_Curve
- param C2
- type C2
BRepAdaptor_Curve
- rtype
bool
-
static
EdgeData
()¶ - Compute tangent T, normal N, curvature C at point of parameter P on curve BRAC. Returns the tolerance indicating if T,N are null.
- param BRAC
- type BRAC
BRepAdaptor_Curve
- param P
- type P
float
- param T
- type T
gp_Dir
- param N
- type N
gp_Dir
- param C
- type C
float
- rtype
float* Same as previous on edge E.
- param E
- type E
TopoDS_Shape
- param P
- type P
float
- param T
- type T
gp_Dir
- param N
- type N
gp_Dir
- param C
- type C
float
- rtype
float
-
static
EdgesSameOriented
()¶ - Parameters
E1 –
- type E1
TopoDS_Shape
- param E2
- type E2
TopoDS_Shape
- rtype
bool
-
static
FacesSameOriented
()¶ - Parameters
F1 –
- type F1
TopoDS_Shape
- param F2
- type F2
TopoDS_Shape
- rtype
bool
-
static
PeriodizeParameter
()¶ - Parameters
par –
- type par
float
- param EE
- type EE
TopoDS_Shape
- param FF
- type FF
TopoDS_Shape
- rtype
float
-
static
Pnt
()¶ - Returns 3D point of vertex <S>.
- param S
- type S
TopoDS_Shape
- rtype
gp_Pnt
-
static
Resolution3d
()¶ - Parameters
SU –
- type SU
Geom_Surface
- param Tol2d
- type Tol2d
float
- rtype
float:param F:
- type F
TopoDS_Face
- param Tol2d
- type Tol2d
float
- rtype
float
-
static
Resolution3dU
()¶ - Parameters
SU –
- type SU
Geom_Surface
- param Tol2d
- type Tol2d
float
- rtype
float
-
static
Resolution3dV
()¶ - Parameters
SU –
- type SU
Geom_Surface
- param Tol2d
- type Tol2d
float
- rtype
float
-
static
ShapesSameOriented
()¶ - Parameters
S1 –
- type S1
TopoDS_Shape
- param S2
- type S2
TopoDS_Shape
- rtype
bool
-
static
SurfacesSameOriented
()¶ - Parameters
S1 –
- type S1
BRepAdaptor_Surface
- param S2
- type S2
BRepAdaptor_Surface
- rtype
bool
-
static
Tolerance
()¶ - Returns the tolerance of the shape <S>. If the shape <S> is Null, returns 0.
- param S
- type S
TopoDS_Shape
- rtype
float
-
static
UVBOUNDS
()¶ - Parameters
S –
- type S
Geom_Surface
- param UPeri
- type UPeri
bool
- param VPeri
- type VPeri
bool
- param Umin
- type Umin
float
- param Umax
- type Umax
float
- param Vmin
- type Vmin
float
- param Vmax
- type Vmax
float
- rtype
void:param F:
- type F
TopoDS_Face
- param UPeri
- type UPeri
bool
- param VPeri
- type VPeri
bool
- param Umin
- type Umin
float
- param Umax
- type Umax
float
- param Vmin
- type Vmin
float
- param Vmax
- type Vmax
float
- rtype
void
-
property
thisown
¶ The membership flag
-
static
-
class
TopOpeBRepTool_SolidClassifier
(*args)¶ Bases:
object
- Return type
-
Classify
()¶ - compute the position of point <P> regarding with the geometric domain of the solid <S>.
- param S
- type S
TopoDS_Solid
- param P
- type P
gp_Pnt
- param Tol
- type Tol
float
- rtype
TopAbs_State* compute the position of point <P> regarding with the geometric domain of the shell <S>.
- param S
- type S
TopoDS_Shell
- param P
- type P
gp_Pnt
- param Tol
- type Tol
float
- rtype
TopAbs_State
-
LoadShell
()¶ - Parameters
S –
- type S
TopoDS_Shell
- rtype
None
-
LoadSolid
()¶ - Parameters
S –
- type S
TopoDS_Solid
- rtype
None
-
State
()¶ - Return type
TopAbs_State
-
property
thisown
¶ The membership flag
-
class
TopOpeBRepTool_TOOL
¶ Bases:
object
-
static
ClosedE
()¶ - Parameters
E –
- type E
TopoDS_Edge
- param vclo
- type vclo
TopoDS_Vertex
- rtype
bool
-
static
ClosedS
()¶ - Parameters
F –
- type F
TopoDS_Face
- rtype
bool
-
static
CurvE
()¶ - Parameters
E –
- type E
TopoDS_Edge
- param par
- type par
float
- param tg0
- type tg0
gp_Dir
- param Curv
- type Curv
float
- rtype
bool
-
static
CurvF
()¶ - Parameters
F –
- type F
TopoDS_Face
- param uv
- type uv
gp_Pnt2d
- param tg0
- type tg0
gp_Dir
- param Curv
- type Curv
float
- param direct
- type direct
bool
- rtype
bool
-
static
EdgeONFace
()¶ - Parameters
par –
- type par
float
- param ed
- type ed
TopoDS_Edge
- param uv
- type uv
gp_Pnt2d
- param fa
- type fa
TopoDS_Face
- param isonfa
- type isonfa
bool
- rtype
bool
-
static
Getduv
()¶ - Parameters
f –
- type f
TopoDS_Face
- param uv
- type uv
gp_Pnt2d
- param dir
- type dir
gp_Vec
- param factor
- type factor
float
- param duv
- type duv
gp_Dir2d
- rtype
bool
-
static
Getstp3dF
()¶ - Parameters
p –
- type p
gp_Pnt
- param f
- type f
TopoDS_Face
- param uv
- type uv
gp_Pnt2d
- param st
- type st
TopAbs_State
- rtype
bool
-
static
IsClosingE
()¶ - Parameters
E –
- type E
TopoDS_Edge
- param F
- type F
TopoDS_Face
- rtype
bool:param E:
- type E
TopoDS_Edge
- param W
- type W
TopoDS_Shape
- param F
- type F
TopoDS_Face
- rtype
bool
-
static
IsQuad
()¶ - Parameters
E –
- type E
TopoDS_Edge
- rtype
bool:param F:
- type F
TopoDS_Face
- rtype
bool
-
static
IsonCLO
()¶ - Parameters
PC –
- type PC
Geom2d_Curve
- param onU
- type onU
bool
- param xfirst
- type xfirst
float
- param xperiod
- type xperiod
float
- param xtol
- type xtol
float
- rtype
bool:param C2DF:
- type C2DF
TopOpeBRepTool_C2DF
- param onU
- type onU
bool
- param xfirst
- type xfirst
float
- param xperiod
- type xperiod
float
- param xtol
- type xtol
float
- rtype
bool
-
static
Matter
()¶ - Parameters
d1 –
- type d1
gp_Vec
- param d2
- type d2
gp_Vec
- param ref
- type ref
gp_Vec
- rtype
float:param d1:
- type d1
gp_Vec2d
- param d2
- type d2
gp_Vec2d
- rtype
float:param xx1:
- type xx1
gp_Dir
- param nt1
- type nt1
gp_Dir
- param xx2
- type xx2
gp_Dir
- param nt2
- type nt2
gp_Dir
- param tola
- type tola
float
- param Ang
- type Ang
float
- rtype
bool:param f1:
- type f1
TopoDS_Face
- param f2
- type f2
TopoDS_Face
- param e
- type e
TopoDS_Edge
- param pare
- type pare
float
- param tola
- type tola
float
- param Ang
- type Ang
float
- rtype
bool
-
static
MatterKPtg
()¶ - Parameters
f1 –
- type f1
TopoDS_Face
- param f2
- type f2
TopoDS_Face
- param e
- type e
TopoDS_Edge
- param Ang
- type Ang
float
- rtype
bool
-
static
MkShell
()¶ - Parameters
lF –
- type lF
TopTools_ListOfShape
- param She
- type She
TopoDS_Shape
- rtype
void
-
static
NgApp
()¶ - Parameters
par –
- type par
float
- param E
- type E
TopoDS_Edge
- param F
- type F
TopoDS_Face
- param tola
- type tola
float
- param ngApp
- type ngApp
gp_Dir
- rtype
bool
-
static
NggeomF
()¶ - Parameters
uv –
- type uv
gp_Pnt2d
- param F
- type F
TopoDS_Face
- param ng
- type ng
gp_Vec
- rtype
bool
-
static
Nt
()¶ - Parameters
uv –
- type uv
gp_Pnt2d
- param f
- type f
TopoDS_Face
- param normt
- type normt
gp_Dir
- rtype
bool
-
static
OnBoundary
()¶ - Parameters
par –
- type par
float
- param E
- type E
TopoDS_Edge
- rtype
int
-
static
OriinSor
()¶ - Parameters
sub –
- type sub
TopoDS_Shape
- param S
- type S
TopoDS_Shape
- param checkclo
default value is Standard_False
- type checkclo
bool
- rtype
int
-
static
OriinSorclosed
()¶ - Parameters
sub –
- type sub
TopoDS_Shape
- param S
- type S
TopoDS_Shape
- rtype
int
-
static
ParE
()¶ - Parameters
Iv –
- type Iv
int
- param E
- type E
TopoDS_Edge
- rtype
float
-
static
ParE2d
()¶ - Parameters
p2d –
- type p2d
gp_Pnt2d
- param e
- type e
TopoDS_Edge
- param f
- type f
TopoDS_Face
- param par
- type par
float
- param dist
- type dist
float
- rtype
bool
-
static
ParISO
()¶ - Parameters
p2d –
- type p2d
gp_Pnt2d
- param e
- type e
TopoDS_Edge
- param f
- type f
TopoDS_Face
- param pare
- type pare
float
- rtype
bool
-
static
Remove
()¶ - Parameters
loS –
- type loS
TopTools_ListOfShape
- param toremove
- type toremove
TopoDS_Shape
- rtype
bool
-
static
SplitE
()¶ - Parameters
Eanc –
- type Eanc
TopoDS_Edge
- param Splits
- type Splits
TopTools_ListOfShape
- rtype
bool
-
static
Tg2d
()¶ - Parameters
iv –
- type iv
int
- param E
- type E
TopoDS_Edge
- param C2DF
- type C2DF
TopOpeBRepTool_C2DF
- rtype
gp_Vec2d
-
static
Tg2dApp
()¶ - Parameters
iv –
- type iv
int
- param E
- type E
TopoDS_Edge
- param C2DF
- type C2DF
TopOpeBRepTool_C2DF
- param factor
- type factor
float
- rtype
gp_Vec2d
-
static
TgINSIDE
()¶ - Parameters
v –
- type v
TopoDS_Vertex
- param E
- type E
TopoDS_Edge
- param Tg
- type Tg
gp_Vec
- param OvinE
- type OvinE
int
- rtype
bool
-
static
TggeomE
()¶ - Parameters
par –
- type par
float
- param BC
- type BC
BRepAdaptor_Curve
- param Tg
- type Tg
gp_Vec
- rtype
bool:param par:
- type par
float
- param E
- type E
TopoDS_Edge
- param Tg
- type Tg
gp_Vec
- rtype
bool
-
static
TolP
()¶ - Parameters
E –
- type E
TopoDS_Edge
- param F
- type F
TopoDS_Face
- rtype
float
-
static
TolUV
()¶ - Parameters
F –
- type F
TopoDS_Face
- param tol3d
- type tol3d
float
- rtype
float
-
static
TrslUV
()¶ - Parameters
t2d –
- type t2d
gp_Vec2d
- param C2DF
- type C2DF
TopOpeBRepTool_C2DF
- rtype
void
-
static
TrslUVModifE
()¶ - Parameters
t2d –
- type t2d
gp_Vec2d
- param F
- type F
TopoDS_Face
- param E
- type E
TopoDS_Edge
- rtype
bool
-
static
UVF
()¶ - Parameters
par –
- type par
float
- param C2DF
- type C2DF
TopOpeBRepTool_C2DF
- rtype
gp_Pnt2d
-
static
UVISO
()¶ - Parameters
PC –
- type PC
Geom2d_Curve
- param isou
- type isou
bool
- param isov
- type isov
bool
- param d2d
- type d2d
gp_Dir2d
- param o2d
- type o2d
gp_Pnt2d
- rtype
bool:param C2DF:
- type C2DF
TopOpeBRepTool_C2DF
- param isou
- type isou
bool
- param isov
- type isov
bool
- param d2d
- type d2d
gp_Dir2d
- param o2d
- type o2d
gp_Pnt2d
- rtype
bool:param E:
- type E
TopoDS_Edge
- param F
- type F
TopoDS_Face
- param isou
- type isou
bool
- param isov
- type isov
bool
- param d2d
- type d2d
gp_Dir2d
- param o2d
- type o2d
gp_Pnt2d
- rtype
bool
-
static
Vertex
()¶ - Parameters
Iv –
- type Iv
int
- param E
- type E
TopoDS_Edge
- rtype
TopoDS_Vertex
-
static
Vertices
()¶ - Parameters
E –
- type E
TopoDS_Edge
- param Vces
- type Vces
TopTools_Array1OfShape
- rtype
void
-
static
WireToFace
()¶ - Parameters
Fref –
- type Fref
TopoDS_Face
- param mapWlow
- type mapWlow
TopTools_DataMapOfShapeListOfShape
- param lFs
- type lFs
TopTools_ListOfShape
- rtype
bool
-
static
XX
()¶ - Parameters
uv –
- type uv
gp_Pnt2d
- param f
- type f
TopoDS_Face
- param par
- type par
float
- param e
- type e
TopoDS_Edge
- param xx
- type xx
gp_Dir
- rtype
bool
-
static
minDUV
()¶ - Parameters
F –
- type F
TopoDS_Face
- rtype
float
-
static
outUVbounds
()¶ - Parameters
uv –
- type uv
gp_Pnt2d
- param F
- type F
TopoDS_Face
- rtype
bool
-
static
stuvF
()¶ - Parameters
uv –
- type uv
gp_Pnt2d
- param F
- type F
TopoDS_Face
- param onU
- type onU
int
- param onV
- type onV
int
- rtype
void
-
property
thisown
¶ The membership flag
-
static
tryNgApp
()¶ - Parameters
par –
- type par
float
- param E
- type E
TopoDS_Edge
- param F
- type F
TopoDS_Face
- param tola
- type tola
float
- param ng
- type ng
gp_Dir
- rtype
bool
-
static
tryOriEinF
()¶ - Parameters
par –
- type par
float
- param E
- type E
TopoDS_Edge
- param F
- type F
TopoDS_Face
- rtype
int
-
static
tryTg2dApp
()¶ - Parameters
iv –
- type iv
int
- param E
- type E
TopoDS_Edge
- param C2DF
- type C2DF
TopOpeBRepTool_C2DF
- param factor
- type factor
float
- rtype
gp_Vec2d
-
static
uvApp
()¶ - Parameters
f –
- type f
TopoDS_Face
- param e
- type e
TopoDS_Edge
- param par
- type par
float
- param eps
- type eps
float
- param uvapp
- type uvapp
gp_Pnt2d
- rtype
bool
-
static
-
class
TopOpeBRepTool_connexity
(*args)¶ Bases:
object
- Return type
None:param Key: :type Key: TopoDS_Shape :rtype: None
-
AddItem
()¶ - Parameters
OriKey –
- type OriKey
int
- param Item
- type Item
TopTools_ListOfShape
- rtype
None:param OriKey:
- type OriKey
int
- param Item
- type Item
TopoDS_Shape
- rtype
None
-
AllItems
()¶ - Parameters
Item –
- type Item
TopTools_ListOfShape
- rtype
int
-
ChangeItem
()¶ - Parameters
OriKey –
- type OriKey
int
- rtype
TopTools_ListOfShape
-
IsInternal
()¶ - Parameters
Item –
- type Item
TopTools_ListOfShape
- rtype
int
-
Item
()¶ - Parameters
OriKey –
- type OriKey
int
- param Item
- type Item
TopTools_ListOfShape
- rtype
int
-
Key
()¶ - Return type
-
RemoveItem
()¶ - Parameters
OriKey –
- type OriKey
int
- param Item
- type Item
TopoDS_Shape
- rtype
bool:param Item:
- type Item
TopoDS_Shape
- rtype
bool
-
SetKey
()¶ - Parameters
Key –
- type Key
TopoDS_Shape
- rtype
None
-
property
thisown
¶ The membership flag
-
class
TopOpeBRepTool_face
(*args)¶ Bases:
object
- Return type
-
Ffinite
()¶ - Return type
-
Init
()¶ - Parameters
W –
- type W
TopoDS_Wire
- param Fref
- type Fref
TopoDS_Face
- rtype
bool
-
RealF
()¶ - Return type
-
W
()¶ - Return type
-
property
thisown
¶ The membership flag
-
class
TopOpeBRepTool_makeTransition
(*args)¶ Bases:
object
- Return type
-
Initialize
()¶ - Parameters
E –
- type E
TopoDS_Edge
- param pbef
- type pbef
float
- param paft
- type paft
float
- param parE
- type parE
float
- param FS
- type FS
TopoDS_Face
- param uv
- type uv
gp_Pnt2d
- param factor
- type factor
float
- rtype
bool
-
MkT2donE
()¶ - Parameters
stb –
- type stb
TopAbs_State
- param sta
- type sta
TopAbs_State
- rtype
bool
-
MkT3dproj
()¶ - Parameters
stb –
- type stb
TopAbs_State
- param sta
- type sta
TopAbs_State
- rtype
bool
-
MkT3onE
()¶ - Parameters
stb –
- type stb
TopAbs_State
- param sta
- type sta
TopAbs_State
- rtype
bool
-
MkTonE
()¶ - Parameters
stb –
- type stb
TopAbs_State
- param sta
- type sta
TopAbs_State
- rtype
bool
-
SetRest
()¶ - Parameters
ES –
- type ES
TopoDS_Edge
- param parES
- type parES
float
- rtype
bool
-
Setfactor
()¶ - Parameters
factor –
- type factor
float
- rtype
None
-
property
thisown
¶ The membership flag
-
class
topopebreptool
¶ Bases:
object
-
static
CorrectONUVISO
()¶ - Parameters
F –
- type F
TopoDS_Face
- param Fsp
- type Fsp
TopoDS_Face
- rtype
bool
-
static
MakeFaces
()¶ - Builds up the correct list of faces <LOFF> from <LOF>, using faulty shapes from map <MshNOK>. <LOF> is the list of <F>’s descendant faces. returns false if building fails
- param F
- type F
TopoDS_Face
- param LOF
- type LOF
TopTools_ListOfShape
- param MshNOK
- type MshNOK
TopTools_IndexedMapOfOrientedShape
- param LOFF
- type LOFF
TopTools_ListOfShape
- rtype
bool
-
static
Print
()¶ - Prints <OCT> as string on stream <S>; returns <S>.
- param OCT
- type OCT
TopOpeBRepTool_OutCurveType
- param S
- type S
Standard_OStream
- rtype
Standard_OStream
-
static
PurgeClosingEdges
()¶ - Fuse edges (in a wire) of a shape where we have useless vertex. In case face <FF> is built on UV-non-connexed wires (with the two closing edges FORWARD and REVERSED, in spite of one only), we find out the faulty edge, add the faulty shapes (edge,wire,face) to <MshNOK>. <FF> is a face descendant of <F>. <MWisOld>(wire) = 1 if wire is wire of <F> 0 wire results from <F>’s wire splitted. returns false if purge fails
- param F
- type F
TopoDS_Face
- param FF
- type FF
TopoDS_Face
- param MWisOld
- type MWisOld
TopTools_DataMapOfShapeInteger
- param MshNOK
- type MshNOK
TopTools_IndexedMapOfOrientedShape
- rtype
bool:param F:
- type F
TopoDS_Face
- param LOF
- type LOF
TopTools_ListOfShape
- param MWisOld
- type MWisOld
TopTools_DataMapOfShapeInteger
- param MshNOK
- type MshNOK
TopTools_IndexedMapOfOrientedShape
- rtype
bool
-
static
Regularize
()¶ - Returns <False> if the face is valid (the UV representation of the face is a set of pcurves connexed by points with connexity 2). Else, splits <aFace> in order to return a list of valid faces.
- param aFace
- type aFace
TopoDS_Face
- param aListOfFaces
- type aListOfFaces
TopTools_ListOfShape
- param ESplits
- type ESplits
TopTools_DataMapOfShapeListOfShape
- rtype
bool
-
static
RegularizeFace
()¶ - Classify wire’s splits of map <OldWiresnewWires> in order to compute <aListOfFaces>, the splits of <aFace>.
- param aFace
- type aFace
TopoDS_Face
- param OldWiresnewWires
- type OldWiresnewWires
TopTools_DataMapOfShapeListOfShape
- param aListOfFaces
- type aListOfFaces
TopTools_ListOfShape
- rtype
bool
-
static
RegularizeShells
()¶ - Returns <False> if the shell is valid (the solid is a set of faces connexed by edges with connexity 2). Else, splits faces of the shell; <OldFacesnewFaces> describes (face, splits of face).
- param aSolid
- type aSolid
TopoDS_Solid
- param OldSheNewShe
- type OldSheNewShe
TopTools_DataMapOfShapeListOfShape
- param FSplits
- type FSplits
TopTools_DataMapOfShapeListOfShape
- rtype
bool
-
static
RegularizeWires
()¶ - Returns <False> if the face is valid (the UV representation of the face is a set of pcurves connexed by points with connexity 2). Else, splits wires of the face, these are boundaries of the new faces to build up; <OldWiresNewWires> describes (wire, splits of wire); <ESplits> describes (edge, edge’s splits)
- param aFace
- type aFace
TopoDS_Face
- param OldWiresNewWires
- type OldWiresNewWires
TopTools_DataMapOfShapeListOfShape
- param ESplits
- type ESplits
TopTools_DataMapOfShapeListOfShape
- rtype
bool
-
property
thisown
¶ The membership flag
-
static