OCC.TopOpeBRepBuild module

class Handle_TopOpeBRepBuild_DataMapNodeOfDataMapOfShapeListOfShapeListOfShape(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TopOpeBRepBuild_HBuilder(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TopOpeBRepBuild_IndexedDataMapNodeOfIndexedDataMapOfShapeVertexInfo(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TopOpeBRepBuild_ListNodeOfListOfListOfLoop(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TopOpeBRepBuild_ListNodeOfListOfLoop(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TopOpeBRepBuild_ListNodeOfListOfPave(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TopOpeBRepBuild_ListNodeOfListOfShapeListOfShape(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TopOpeBRepBuild_Loop(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TopOpeBRepBuild_Pave(*args)

Bases: OCC.TopOpeBRepBuild.Handle_TopOpeBRepBuild_Loop

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class SwigPyIterator(*args, **kwargs)

Bases: object

advance()
copy()
decr()
distance()
equal()
incr()
next()
previous()
thisown

The membership flag

value()
class TopOpeBRepBuild_Area1dBuilder(*args)

Bases: OCC.TopOpeBRepBuild.TopOpeBRepBuild_AreaBuilder

Return type:None
  • Creates a Area1dBuilder to find the areas of the shapes described by <LS> using the classifier <LC>.
Parameters:
  • LS (TopOpeBRepBuild_PaveSet &) –
  • LC (TopOpeBRepBuild_PaveClassifier &) –
  • ForceClass (bool) – default value is Standard_False
Return type:

None

static DumpList(*args)
Parameters:L (TopOpeBRepBuild_ListOfLoop &) –
Return type:void
thisown

The membership flag

TopOpeBRepBuild_Area1dBuilder_DumpList(*args)
Parameters:L (TopOpeBRepBuild_ListOfLoop &) –
Return type:void
class TopOpeBRepBuild_Area2dBuilder(*args)

Bases: OCC.TopOpeBRepBuild.TopOpeBRepBuild_AreaBuilder

Return type:None
  • Creates a Area2dBuilder to build faces on the (wires,blocks of edge) of <LS>, using the classifier <LC>.
Parameters:
  • LS (TopOpeBRepBuild_LoopSet &) –
  • LC (TopOpeBRepBuild_LoopClassifier &) –
  • ForceClass (bool) – default value is Standard_False
Return type:

None

thisown

The membership flag

class TopOpeBRepBuild_Area3dBuilder(*args)

Bases: OCC.TopOpeBRepBuild.TopOpeBRepBuild_AreaBuilder

Return type:None
  • Creates a Area3dBuilder to build Solids on the (shells,blocks of face) of <LS>, using the classifier <LC>.
Parameters:
  • LS (TopOpeBRepBuild_LoopSet &) –
  • LC (TopOpeBRepBuild_LoopClassifier &) –
  • ForceClass (bool) – default value is Standard_False
Return type:

None

thisown

The membership flag

class TopOpeBRepBuild_AreaBuilder(*args)

Bases: object

Return type:None
  • Creates a AreaBuilder to build the areas on the shapes described by <LS> using the classifier <LC>.
Parameters:
  • LS (TopOpeBRepBuild_LoopSet &) –
  • LC (TopOpeBRepBuild_LoopClassifier &) –
  • ForceClass (bool) – default value is Standard_False
Return type:

None

ADD_LISTOFLoop_TO_LISTOFLoop()
Parameters:
  • LOL1 (TopOpeBRepBuild_ListOfLoop &) –
  • LOL2 (TopOpeBRepBuild_ListOfLoop &) –
  • s (Standard_Address) – default value is NULL
  • s1 (Standard_Address) – default value is NULL
  • s2 (Standard_Address) – default value is NULL
Return type:

void

ADD_Loop_TO_LISTOFLoop()
Parameters:
  • L (Handle_TopOpeBRepBuild_Loop &) –
  • LOL (TopOpeBRepBuild_ListOfLoop &) –
  • s (Standard_Address) – default value is NULL
Return type:

void

Delete()
Return type:void
InitArea()
  • Initialize iteration on areas.
Return type:int
InitAreaBuilder()
  • Sets a AreaBuilder to find the areas on the shapes described by <LS> using the classifier <LC>.
Parameters:
  • LS (TopOpeBRepBuild_LoopSet &) –
  • LC (TopOpeBRepBuild_LoopClassifier &) –
  • ForceClass (bool) – default value is Standard_False
Return type:

void

InitLoop()
  • Initialize iteration on loops of current Area.
Return type:int
Loop()
  • Returns the current Loop in the current area.
Return type:Handle_TopOpeBRepBuild_Loop
MoreArea()
Return type:bool
MoreLoop()
Return type:bool
NextArea()
Return type:None
NextLoop()
Return type:None
REM_Loop_FROM_LISTOFLoop()
Parameters:
  • ITLOL (TopOpeBRepBuild_ListIteratorOfListOfLoop &) –
  • LOL (TopOpeBRepBuild_ListOfLoop &) –
  • s (Standard_Address) – default value is NULL
Return type:

void

thisown

The membership flag

class TopOpeBRepBuild_BlockBuilder(*args)

Bases: object

Return type:None
Parameters:SS (TopOpeBRepBuild_ShapeSet &) –
Return type:None
AddElement()
Parameters:S (TopoDS_Shape &) –
Return type:int
BlockIterator()
Return type:TopOpeBRepBuild_BlockIterator
CurrentBlockIsRegular()
Return type:bool
Element()
  • Returns the current element of <BI>.
Parameters:
  • BI (TopOpeBRepBuild_BlockIterator &) –
  • I (int) –
  • S (TopoDS_Shape &) –
Return type:

TopoDS_Shape

Return type:

TopoDS_Shape

Return type:

int

ElementIsValid()
Parameters:
  • BI (TopOpeBRepBuild_BlockIterator &) –
  • I (int) –
Return type:

bool

Return type:

bool

InitBlock()
Return type:None
MakeBlock()
Parameters:SS (TopOpeBRepBuild_ShapeSet &) –
Return type:None
MoreBlock()
Return type:bool
NextBlock()
Return type:None
SetValid()
Parameters:
  • BI (TopOpeBRepBuild_BlockIterator &) –
  • isvalid (bool) –
  • I (int) –
  • isvalid
Return type:

None

Return type:

None

thisown

The membership flag

class TopOpeBRepBuild_BlockIterator(*args)

Bases: object

Return type:

None

Parameters:
  • Lower (int) –
  • Upper (int) –
Return type:

None

Extent()
Return type:int
Initialize()
Return type:None
More()
Return type:bool
Next()
Return type:None
Value()
Return type:int
thisown

The membership flag

class TopOpeBRepBuild_Builder1(*args)

Bases: object

Parameters:BT (TopOpeBRepDS_BuildTool &) –
Return type:None
Clear()
  • Removes all splits and merges already performed. Does NOT clear the handled DS (except ShapeWithStatesMaps).
Return type:void
CorrectResult2d()
Parameters:aResult (TopoDS_Shape &) –
Return type:int
Destroy()
Return type:void
GFillEdgeNotSameDomWES()
Parameters:
  • E1 (TopoDS_Shape &) –
  • LSO2 (TopTools_ListOfShape &) –
  • G (TopOpeBRepBuild_GTopo &) –
  • WES (TopOpeBRepBuild_WireEdgeSet &) –
Return type:

None

GFillEdgeSameDomWES()
Parameters:
  • E1 (TopoDS_Shape &) –
  • LSO2 (TopTools_ListOfShape &) –
  • G (TopOpeBRepBuild_GTopo &) –
  • WES (TopOpeBRepBuild_WireEdgeSet &) –
Return type:

None

GFillFaceNotSameDomSFS()
Parameters:
  • F1 (TopoDS_Shape &) –
  • LSO2 (TopTools_ListOfShape &) –
  • G (TopOpeBRepBuild_GTopo &) –
  • SFS (TopOpeBRepBuild_ShellFaceSet &) –
Return type:

None

GFillFaceNotSameDomWES()
Parameters:
  • F1 (TopoDS_Shape &) –
  • LSO2 (TopTools_ListOfShape &) –
  • G (TopOpeBRepBuild_GTopo &) –
  • WES (TopOpeBRepBuild_WireEdgeSet &) –
Return type:

None

GFillFaceSameDomSFS()
Parameters:
  • F1 (TopoDS_Shape &) –
  • LSO2 (TopTools_ListOfShape &) –
  • G (TopOpeBRepBuild_GTopo &) –
  • SFS (TopOpeBRepBuild_ShellFaceSet &) –
Return type:

None

GFillFaceSameDomWES()
Parameters:
  • F1 (TopoDS_Shape &) –
  • LSO2 (TopTools_ListOfShape &) –
  • G (TopOpeBRepBuild_GTopo &) –
  • WES (TopOpeBRepBuild_WireEdgeSet &) –
Return type:

None

GFillShellSFS()
Parameters:
  • SH1 (TopoDS_Shape &) –
  • LSO2 (TopTools_ListOfShape &) –
  • G (TopOpeBRepBuild_GTopo &) –
  • SFS (TopOpeBRepBuild_ShellFaceSet &) –
Return type:

void

GFillSolidSFS()
Parameters:
  • SO1 (TopoDS_Shape &) –
  • LSO2 (TopTools_ListOfShape &) –
  • G (TopOpeBRepBuild_GTopo &) –
  • SFS (TopOpeBRepBuild_ShellFaceSet &) –
Return type:

void

GFillWireNotSameDomWES()
Parameters:
  • W1 (TopoDS_Shape &) –
  • LSO2 (TopTools_ListOfShape &) –
  • G (TopOpeBRepBuild_GTopo &) –
  • WES (TopOpeBRepBuild_WireEdgeSet &) –
Return type:

None

GFillWireSameDomWES()
Parameters:
  • W1 (TopoDS_Shape &) –
  • LSO2 (TopTools_ListOfShape &) –
  • G (TopOpeBRepBuild_GTopo &) –
  • WES (TopOpeBRepBuild_WireEdgeSet &) –
Return type:

None

GWESMakeFaces()
Parameters:
  • FF (TopoDS_Shape &) –
  • WES (TopOpeBRepBuild_WireEdgeSet &) –
  • LOF (TopTools_ListOfShape &) –
Return type:

void

MergeKPart()
Return type:

void

Parameters:
  • TB1 (TopAbs_State) –
  • TB2 (TopAbs_State) –
Return type:

void

Perform()
Parameters:
  • HDS (Handle_TopOpeBRepDS_HDataStructure &) –
  • HDS
  • S1 (TopoDS_Shape &) –
  • S2 (TopoDS_Shape &) –
Return type:

void

Return type:

void

PerformONParts()
Parameters:
  • F (TopoDS_Shape &) –
  • SDfaces (TopTools_IndexedMapOfShape &) –
  • G (TopOpeBRepBuild_GTopo &) –
  • WES (TopOpeBRepBuild_WireEdgeSet &) –
Return type:

None

PerformPieceIn2D()
Parameters:
  • aPieceToPerform (TopoDS_Edge &) –
  • aOriginalEdge (TopoDS_Edge &) –
  • edgeFace (TopoDS_Face &) –
  • toFace (TopoDS_Face &) –
  • G (TopOpeBRepBuild_GTopo &) –
  • keep (bool) –
Return type:

None

PerformPieceOn2D()
Parameters:
  • aPieceObj (TopoDS_Shape &) –
  • aFaceObj (TopoDS_Shape &) –
  • aEdgeObj (TopoDS_Shape &) –
  • aListOfPieces (TopTools_ListOfShape &) –
  • aListOfFaces (TopTools_ListOfShape &) –
  • aListOfPiecesOut2d (TopTools_ListOfShape &) –
Return type:

int

TwoPiecesON()
Parameters:
  • aSeq (TopTools_SequenceOfShape &) –
  • aListOfPieces (TopTools_ListOfShape &) –
  • aListOfFaces (TopTools_ListOfShape &) –
  • aListOfPiecesOut2d (TopTools_ListOfShape &) –
Return type:

int

thisown

The membership flag

class TopOpeBRepBuild_BuilderON(*args)

Bases: object

Return type:

None

Parameters:
  • PB (TopOpeBRepBuild_PBuilder &) –
  • F (TopoDS_Shape &) –
  • PG (TopOpeBRepBuild_PGTopo &) –
  • PLSclass (TopOpeBRepTool_Plos &) –
  • PWES (TopOpeBRepBuild_PWireEdgeSet &) –
Return type:

None

GFillONCheckI()
Parameters:I (Handle_TopOpeBRepDS_Interference &) –
Return type:bool
GFillONParts2dWES2()
Parameters:
  • I (Handle_TopOpeBRepDS_Interference &) –
  • EspON (TopoDS_Shape &) –
Return type:

None

GFillONPartsWES1()
Parameters:I (Handle_TopOpeBRepDS_Interference &) –
Return type:None
GFillONPartsWES2()
Parameters:
  • I (Handle_TopOpeBRepDS_Interference &) –
  • EspON (TopoDS_Shape &) –
Return type:

None

Perform()
Parameters:
  • PB (TopOpeBRepBuild_PBuilder &) –
  • F (TopoDS_Shape &) –
  • PG (TopOpeBRepBuild_PGTopo &) –
  • PLSclass (TopOpeBRepTool_Plos &) –
  • PWES (TopOpeBRepBuild_PWireEdgeSet &) –
Return type:

None

Perform2d()
Parameters:
  • PB (TopOpeBRepBuild_PBuilder &) –
  • F (TopoDS_Shape &) –
  • PG (TopOpeBRepBuild_PGTopo &) –
  • PLSclass (TopOpeBRepTool_Plos &) –
  • PWES (TopOpeBRepBuild_PWireEdgeSet &) –
Return type:

None

thisown

The membership flag

class TopOpeBRepBuild_CompositeClassifier(*args, **kwargs)

Bases: OCC.TopOpeBRepBuild.TopOpeBRepBuild_LoopClassifier

CompareElement()
  • Add element <E> in the set of elements used in classification. Returns False if the element <E> has been already added to the set of elements, otherwise returns True.
Parameters:E (TopoDS_Shape &) –
Return type:bool
CompareElementToShape()
  • classify element <E> with shape <B>
Parameters:
  • E (TopoDS_Shape &) –
  • B (TopoDS_Shape &) –
Return type:

TopAbs_State

CompareShapes()
  • classify shape <B1> with shape <B2>
Parameters:
  • B1 (TopoDS_Shape &) –
  • B2 (TopoDS_Shape &) –
Return type:

TopAbs_State

ResetElement()
  • prepare classification involving element <E>.
Parameters:E (TopoDS_Shape &) –
Return type:void
ResetShape()
  • prepare classification involving shape <B> calls ResetElement on first element of <B>
Parameters:B (TopoDS_Shape &) –
Return type:void
State()
  • Returns state of classification of 2D point, defined by ResetElement, with the current set of elements, defined by Compare.
Return type:TopAbs_State
thisown

The membership flag

class TopOpeBRepBuild_CorrectFace2d(*args)

Bases: object

Return type:

None

Parameters:
  • aFace (TopoDS_Face &) –
  • anAvoidMap (TopTools_IndexedMapOfOrientedShape &) –
  • aMap (TopTools_IndexedDataMapOfShapeShape &) –
Return type:

None

static CheckList(*args)
Parameters:
  • aFace (TopoDS_Face &) –
  • aHeadList (TopTools_ListOfShape &) –
Return type:

void

CorrectedFace()
Return type:TopoDS_Face
ErrorStatus()
Return type:int
Face()
Return type:TopoDS_Face
static GetP2dFL(*args)
Parameters:
  • aFace (TopoDS_Face &) –
  • anEdge (TopoDS_Edge &) –
  • P2dF (gp_Pnt2d) –
  • P2dL (gp_Pnt2d) –
Return type:

void

IsDone()
Return type:bool
MapOfTrans2dInfo()
Return type:TopTools_IndexedDataMapOfShapeShape
Perform()
Return type:None
SetMapOfTrans2dInfo()
Parameters:aMap (TopTools_IndexedDataMapOfShapeShape &) –
Return type:None
thisown

The membership flag

TopOpeBRepBuild_CorrectFace2d_CheckList(*args)
Parameters:
  • aFace (TopoDS_Face &) –
  • aHeadList (TopTools_ListOfShape &) –
Return type:

void

TopOpeBRepBuild_CorrectFace2d_GetP2dFL(*args)
Parameters:
  • aFace (TopoDS_Face &) –
  • anEdge (TopoDS_Edge &) –
  • P2dF (gp_Pnt2d) –
  • P2dL (gp_Pnt2d) –
Return type:

void

class TopOpeBRepBuild_DataMapIteratorOfDataMapOfShapeListOfShapeListOfShape(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (TopOpeBRepBuild_DataMapOfShapeListOfShapeListOfShape &) –
Return type:None
Initialize()
Parameters:aMap (TopOpeBRepBuild_DataMapOfShapeListOfShapeListOfShape &) –
Return type:None
Key()
Return type:TopoDS_Shape
Value()
Return type:TopOpeBRepBuild_ListOfShapeListOfShape
thisown

The membership flag

class TopOpeBRepBuild_DataMapNodeOfDataMapOfShapeListOfShapeListOfShape(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (TopoDS_Shape &) –
  • I (TopOpeBRepBuild_ListOfShapeListOfShape &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Key()
Return type:TopoDS_Shape
Value()
Return type:TopOpeBRepBuild_ListOfShapeListOfShape
thisown

The membership flag

class TopOpeBRepBuild_DataMapOfShapeListOfShapeListOfShape(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (TopOpeBRepBuild_DataMapOfShapeListOfShapeListOfShape &) –
Return type:TopOpeBRepBuild_DataMapOfShapeListOfShapeListOfShape
Bind()
Parameters:
  • K (TopoDS_Shape &) –
  • I (TopOpeBRepBuild_ListOfShapeListOfShape &) –
Return type:

bool

ChangeFind()
Parameters:K (TopoDS_Shape &) –
Return type:TopOpeBRepBuild_ListOfShapeListOfShape
ChangeFind1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (TopoDS_Shape &) –
Return type:TopOpeBRepBuild_ListOfShapeListOfShape
Find1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
IsBound()
Parameters:K (TopoDS_Shape &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (TopOpeBRepBuild_DataMapOfShapeListOfShapeListOfShape &) –
Return type:TopOpeBRepBuild_DataMapOfShapeListOfShapeListOfShape
UnBind()
Parameters:K (TopoDS_Shape &) –
Return type:bool
thisown

The membership flag

class TopOpeBRepBuild_EdgeBuilder(*args)

Bases: OCC.TopOpeBRepBuild.TopOpeBRepBuild_Area1dBuilder

Return type:None
  • Creates a EdgeBuilder to find the areas of the shapes described by <LS> using the classifier <LC>.
Parameters:
  • LS (TopOpeBRepBuild_PaveSet &) –
  • LC (TopOpeBRepBuild_PaveClassifier &) –
  • ForceClass (bool) – default value is Standard_False
Return type:

None

InitEdge()
Return type:None
InitEdgeBuilder()
Parameters:
  • LS (TopOpeBRepBuild_LoopSet &) –
  • LC (TopOpeBRepBuild_LoopClassifier &) –
  • ForceClass (bool) – default value is Standard_False
Return type:

None

InitVertex()
Return type:None
MoreEdge()
Return type:bool
MoreVertex()
Return type:bool
NextEdge()
Return type:None
NextVertex()
Return type:None
Parameter()
Return type:float
Vertex()
Return type:TopoDS_Shape
thisown

The membership flag

class TopOpeBRepBuild_FaceAreaBuilder(*args)

Bases: OCC.TopOpeBRepBuild.TopOpeBRepBuild_Area2dBuilder

Return type:None
  • Creates a FaceAreaBuilder to build faces on the (wires,blocks of edge) of <LS>, using the classifier <LC>.
Parameters:
  • LS (TopOpeBRepBuild_LoopSet &) –
  • LC (TopOpeBRepBuild_LoopClassifier &) –
  • ForceClass (bool) – default value is Standard_False
Return type:

None

InitFaceAreaBuilder()
Parameters:
  • LS (TopOpeBRepBuild_LoopSet &) –
  • LC (TopOpeBRepBuild_LoopClassifier &) –
  • ForceClass (bool) – default value is Standard_False
Return type:

None

thisown

The membership flag

class TopOpeBRepBuild_FaceBuilder(*args)

Bases: object

Return type:None
  • Create a FaceBuilder to build the faces on the shapes (wires, blocks of edge) described by <LS>.
Parameters:
  • ES (TopOpeBRepBuild_WireEdgeSet &) –
  • F (TopoDS_Shape &) –
  • ForceClass (bool) – default value is Standard_False
Return type:

None

AddEdgeWire()
Parameters:
  • E (TopoDS_Shape &) –
  • W (TopoDS_Shape &) –
Return type:

int

CorrectGclosedWire()
  • Using the given maps, change the topology of the 3d-closed wires, in order to get closed wires.
Parameters:
  • mapVVref (TopTools_IndexedDataMapOfShapeShape &) –
  • mapVon1Edge (TopTools_IndexedDataMapOfShapeShape &) –
Return type:

None

DetectPseudoInternalEdge()
  • Removes edges appearing twice (FORWARD,REVERSED) with a bounding vertex not connected to any other edge. mapE contains edges found. modifies myBlockBuilder.
Parameters:mapE (TopTools_IndexedMapOfShape &) –
Return type:None
DetectUnclosedWire()
  • Removes are non 3d-closed wires. Fills up maps <mapVVsameG> and <mapVon1Edge>, in order to correct 3d-closed but unclosed (topologic connexity) wires. modifies myBlockBuilder
Parameters:
  • mapVVsameG (TopTools_IndexedDataMapOfShapeShape &) –
  • mapVon1Edge (TopTools_IndexedDataMapOfShapeShape &) –
Return type:

None

Edge()
  • Returns current new edge of current new wire.
Return type:TopoDS_Shape
EdgeConnexity()
Parameters:E (TopoDS_Shape &) –
Return type:int
Face()
  • return myFace
Return type:TopoDS_Shape
FindNextValidElement()
  • Iterates on myBlockIterator until finding a valid element
Return type:None
InitEdge()
Return type:int
InitFace()
Return type:int
InitFaceBuilder()
Parameters:
  • ES (TopOpeBRepBuild_WireEdgeSet &) –
  • F (TopoDS_Shape &) –
  • ForceClass (bool) –
Return type:

None

InitWire()
Return type:int
IsOldWire()
Return type:bool
MoreEdge()
Return type:bool
MoreFace()
Return type:bool
MoreWire()
Return type:bool
NextEdge()
Return type:None
NextFace()
Return type:None
NextWire()
Return type:None
OldWire()
  • Returns current wire This wire may be : * an old wire OldWire(), which has not been reconstructed; * a new wire made of edges described by ...NewEdge() methods.
Return type:TopoDS_Shape
thisown

The membership flag

class TopOpeBRepBuild_FuseFace(*args)

Bases: object

Return type:

None

Parameters:
  • LIF (TopTools_ListOfShape &) –
  • LRF (TopTools_ListOfShape &) –
  • CXM (int) –
Return type:

None

ClearEdge()
Return type:None
ClearVertex()
Return type:None
Init()
Parameters:
  • LIF (TopTools_ListOfShape &) –
  • LRF (TopTools_ListOfShape &) –
  • CXM (int) –
Return type:

None

IsDone()
Return type:bool
IsModified()
Return type:bool
LExternEdge()
Return type:TopTools_ListOfShape
LExternVertex()
Return type:TopTools_ListOfShape
LFuseFace()
Return type:TopTools_ListOfShape
LInternEdge()
Return type:TopTools_ListOfShape
LInternVertex()
Return type:TopTools_ListOfShape
LModifEdge()
Return type:TopTools_ListOfShape
LModifVertex()
Return type:TopTools_ListOfShape
PerformEdge()
Return type:None
PerformFace()
Return type:None
thisown

The membership flag

class TopOpeBRepBuild_GIter(*args)

Bases: object

Return type:None
Parameters:G (TopOpeBRepBuild_GTopo &) –
Return type:None
Current()
Parameters:
  • s1 (TopAbs_State &) –
  • s2 (TopAbs_State &) –
Return type:

None

DumpToString()

TopOpeBRepBuild_GIter_DumpToString(TopOpeBRepBuild_GIter self) -> std::string

Init()
Return type:None
Parameters:G (TopOpeBRepBuild_GTopo &) –
Return type:None
More()
Return type:bool
Next()
Return type:None
thisown

The membership flag

class TopOpeBRepBuild_GTool(TopOpeBRepBuild_GTool self) → TopOpeBRepBuild_GTool

Bases: object

DumpToString()

TopOpeBRepBuild_GTool_DumpToString(TopOpeBRepBuild_GTool self) -> std::string

static GComDiff(*args)
Parameters:
  • s1 (TopAbs_ShapeEnum) –
  • s2 (TopAbs_ShapeEnum) –
Return type:

TopOpeBRepBuild_GTopo

static GComSame(*args)
Parameters:
  • s1 (TopAbs_ShapeEnum) –
  • s2 (TopAbs_ShapeEnum) –
Return type:

TopOpeBRepBuild_GTopo

static GComUnsh(*args)
Parameters:
  • s1 (TopAbs_ShapeEnum) –
  • s2 (TopAbs_ShapeEnum) –
Return type:

TopOpeBRepBuild_GTopo

static GCutDiff(*args)
Parameters:
  • s1 (TopAbs_ShapeEnum) –
  • s2 (TopAbs_ShapeEnum) –
Return type:

TopOpeBRepBuild_GTopo

static GCutSame(*args)
Parameters:
  • s1 (TopAbs_ShapeEnum) –
  • s2 (TopAbs_ShapeEnum) –
Return type:

TopOpeBRepBuild_GTopo

static GCutUnsh(*args)
Parameters:
  • s1 (TopAbs_ShapeEnum) –
  • s2 (TopAbs_ShapeEnum) –
Return type:

TopOpeBRepBuild_GTopo

static GFusDiff(*args)
Parameters:
  • s1 (TopAbs_ShapeEnum) –
  • s2 (TopAbs_ShapeEnum) –
Return type:

TopOpeBRepBuild_GTopo

static GFusSame(*args)
Parameters:
  • s1 (TopAbs_ShapeEnum) –
  • s2 (TopAbs_ShapeEnum) –
Return type:

TopOpeBRepBuild_GTopo

static GFusUnsh(*args)
Parameters:
  • s1 (TopAbs_ShapeEnum) –
  • s2 (TopAbs_ShapeEnum) –
Return type:

TopOpeBRepBuild_GTopo

thisown

The membership flag

TopOpeBRepBuild_GTool_GComDiff(*args)
Parameters:
  • s1 (TopAbs_ShapeEnum) –
  • s2 (TopAbs_ShapeEnum) –
Return type:

TopOpeBRepBuild_GTopo

TopOpeBRepBuild_GTool_GComSame(*args)
Parameters:
  • s1 (TopAbs_ShapeEnum) –
  • s2 (TopAbs_ShapeEnum) –
Return type:

TopOpeBRepBuild_GTopo

TopOpeBRepBuild_GTool_GComUnsh(*args)
Parameters:
  • s1 (TopAbs_ShapeEnum) –
  • s2 (TopAbs_ShapeEnum) –
Return type:

TopOpeBRepBuild_GTopo

TopOpeBRepBuild_GTool_GCutDiff(*args)
Parameters:
  • s1 (TopAbs_ShapeEnum) –
  • s2 (TopAbs_ShapeEnum) –
Return type:

TopOpeBRepBuild_GTopo

TopOpeBRepBuild_GTool_GCutSame(*args)
Parameters:
  • s1 (TopAbs_ShapeEnum) –
  • s2 (TopAbs_ShapeEnum) –
Return type:

TopOpeBRepBuild_GTopo

TopOpeBRepBuild_GTool_GCutUnsh(*args)
Parameters:
  • s1 (TopAbs_ShapeEnum) –
  • s2 (TopAbs_ShapeEnum) –
Return type:

TopOpeBRepBuild_GTopo

TopOpeBRepBuild_GTool_GFusDiff(*args)
Parameters:
  • s1 (TopAbs_ShapeEnum) –
  • s2 (TopAbs_ShapeEnum) –
Return type:

TopOpeBRepBuild_GTopo

TopOpeBRepBuild_GTool_GFusSame(*args)
Parameters:
  • s1 (TopAbs_ShapeEnum) –
  • s2 (TopAbs_ShapeEnum) –
Return type:

TopOpeBRepBuild_GTopo

TopOpeBRepBuild_GTool_GFusUnsh(*args)
Parameters:
  • s1 (TopAbs_ShapeEnum) –
  • s2 (TopAbs_ShapeEnum) –
Return type:

TopOpeBRepBuild_GTopo

class TopOpeBRepBuild_GTopo(*args)

Bases: object

Return type:

None

Parameters:
  • II (int) –
  • IN (int) –
  • IO (int) –
  • NI (int) –
  • NN (int) –
  • NO (int) –
  • OI (int) –
  • ON (int) –
  • OO (int) –
  • t1 (TopAbs_ShapeEnum) –
  • t2 (TopAbs_ShapeEnum) –
  • C1 (TopOpeBRepDS_Config) –
  • C2 (TopOpeBRepDS_Config) –
Return type:

None

ChangeConfig()
Parameters:
  • C1 (TopOpeBRepDS_Config) –
  • C2 (TopOpeBRepDS_Config) –
Return type:

None

ChangeType()
Parameters:
  • t1 (TopAbs_ShapeEnum) –
  • t2 (TopAbs_ShapeEnum) –
Return type:

None

ChangeValue()
Parameters:
  • i1 (int) –
  • i2 (int) –
  • b (bool) –
  • s1 (TopAbs_State) –
  • s2 (TopAbs_State) –
  • b
Return type:

None

Return type:

None

Config1()
Return type:TopOpeBRepDS_Config
Config2()
Return type:TopOpeBRepDS_Config
CopyPermuted()
Return type:TopOpeBRepBuild_GTopo
Dump()
Parameters:
  • OS (Standard_OStream &) –
  • s (Standard_Address) – default value is NULL
Return type:

void

static DumpSSB(*args)
Parameters:
  • OS (Standard_OStream &) –
  • s1 (TopAbs_State) –
  • s2 (TopAbs_State) –
  • b (bool) –
Return type:

void

DumpTypeToString()

TopOpeBRepBuild_GTopo_DumpTypeToString(TopOpeBRepBuild_GTopo self) -> std::string

DumpVal()
Parameters:
  • OS (Standard_OStream &) –
  • s1 (TopAbs_State) –
  • s2 (TopAbs_State) –
Return type:

None

GIndex()
Parameters:S (TopAbs_State) –
Return type:int
GState()
Parameters:I (int) –
Return type:TopAbs_State
Index()
Parameters:
  • II (int) –
  • i1 (int &) –
  • i2 (int &) –
Return type:

None

IsToReverse1()
Return type:bool
IsToReverse2()
Return type:bool
Reset()
Return type:None
Reverse()
Return type:bool
Set()
Parameters:
Return type:

None

SetReverse()
Parameters:rev (bool) –
Return type:None
StatesON()
Parameters:
  • s1 (TopAbs_State &) –
  • s2 (TopAbs_State &) –
Return type:

None

Type()
Parameters:
  • t1 (TopAbs_ShapeEnum &) –
  • t2 (TopAbs_ShapeEnum &) –
Return type:

None

Value()
Parameters:
  • s1 (TopAbs_State) –
  • s2 (TopAbs_State) –
  • I1 (int) –
  • I2 (int) –
  • II (int) –
Return type:

bool

Return type:

bool

Return type:

bool

thisown

The membership flag

TopOpeBRepBuild_GTopo_DumpSSB(*args)
Parameters:
  • OS (Standard_OStream &) –
  • s1 (TopAbs_State) –
  • s2 (TopAbs_State) –
  • b (bool) –
Return type:

void

class TopOpeBRepBuild_HBuilder(*args)

Bases: OCC.MMgt.MMgt_TShared

Parameters:BT (TopOpeBRepDS_BuildTool &) –
Return type:None
BuildTool()
Return type:TopOpeBRepDS_BuildTool
ChangeBuildTool()
Return type:TopOpeBRepDS_BuildTool
ChangeBuilder()
Return type:TopOpeBRepBuild_Builder
ChangeNewEdges()
  • Returns the edges created on curve <I>.
Parameters:I (int) –
Return type:TopTools_ListOfShape
Clear()
  • Removes all split and merge already performed. Does NOT clear the handled DS.
Return type:None
CurrentSection()
Return type:TopoDS_Shape
DataStructure()
  • returns the DS handled by this builder
Return type:Handle_TopOpeBRepDS_HDataStructure
EdgeCurveAncestors()
  • search for the couple of face F1,F2 (from arguments of supra Perform(S1,S2,HDS)) method which intersection gives section edge E built on an intersection curve. returns True if F1,F2 have been valued. returns False if E is not a section edge built on intersection curve IC.
Parameters:
  • E (TopoDS_Shape &) –
  • F1 (TopoDS_Shape &) –
  • F2 (TopoDS_Shape &) –
  • IC (int &) –
Return type:

bool

EdgeSectionAncestors()
  • search for the couple of face F1,F2 (from arguments of supra Perform(S1,S2,HDS)) method which intersection gives section edge E built on at least one edge . returns True if F1,F2 have been valued. returns False if E is not a section edge built on at least one edge of S1 and/or S2. LE1,LE2 are edges of S1,S2 which common part is edge E. LE1 or LE2 may be empty() but not both.
Parameters:
  • E (TopoDS_Shape &) –
  • LF1 (TopTools_ListOfShape &) –
  • LF2 (TopTools_ListOfShape &) –
  • LE1 (TopTools_ListOfShape &) –
  • LE2 (TopTools_ListOfShape &) –
Return type:

bool

GetDSCurveFromSectEdge()
Parameters:SectEdge (TopoDS_Shape &) –
Return type:int
GetDSEdgeFromSectEdge()
Parameters:
  • E (TopoDS_Shape &) –
  • rank (int) –
Return type:

int

GetDSFaceFromDSCurve()
Parameters:
  • indexCur (int) –
  • rank (int) –
Return type:

int

GetDSFaceFromDSEdge()
Parameters:
  • indexEdg (int) –
  • rank (int) –
Return type:

TColStd_ListOfInteger

GetDSPointFromNewVertex()
Parameters:NewVert (TopoDS_Shape &) –
Return type:int
GetHandle()
InitExtendedSectionDS()
Parameters:k (int) – default value is 3
Return type:None
InitSection()
Parameters:k (int) – default value is 3
Return type:None
IsKPart()
  • Returns 0 is standard operation, != 0 if particular case
Return type:int
IsMerged()
  • Returns True if the shape <S> has been merged.
Parameters:
  • S (TopoDS_Shape &) –
  • ToBuild (TopAbs_State) –
Return type:

bool

IsSplit()
  • Returns True if the shape <S> has been split.
Parameters:
  • S (TopoDS_Shape &) –
  • ToBuild (TopAbs_State) –
Return type:

bool

MergeKPart()
Parameters:
  • TB1 (TopAbs_State) –
  • TB2 (TopAbs_State) –
Return type:

None

MergeShapes()
  • Merges the two shapes <S1> and <S2> keeping the parts of states <TB1>,<TB2> in <S1>,<S2>.
Parameters:
  • S1 (TopoDS_Shape &) –
  • TB1 (TopAbs_State) –
  • S2 (TopoDS_Shape &) –
  • TB2 (TopAbs_State) –
Return type:

None

MergeSolid()
  • Merges the solid <S> keeping the parts of state <TB>.
Parameters:
  • S (TopoDS_Shape &) –
  • TB (TopAbs_State) –
Return type:

None

MergeSolids()
  • Merges the two solids <S1> and <S2> keeping the parts in each solid of states <TB1> and <TB2>.
Parameters:
  • S1 (TopoDS_Shape &) –
  • TB1 (TopAbs_State) –
  • S2 (TopoDS_Shape &) –
  • TB2 (TopAbs_State) –
Return type:

None

Merged()
  • Returns the merged parts <ToBuild> of shape <S>.
Parameters:
  • S (TopoDS_Shape &) –
  • ToBuild (TopAbs_State) –
Return type:

TopTools_ListOfShape

MoreSection()
Return type:bool
NewEdges()
  • Returns the edges created on curve <I>.
Parameters:I (int) –
Return type:TopTools_ListOfShape
NewFaces()
  • Returns the faces created on surface <I>.
Parameters:I (int) –
Return type:TopTools_ListOfShape
NewVertex()
  • Returns the vertex created on point <I>.
Parameters:I (int) –
Return type:TopoDS_Shape
NextSection()
Return type:None
Perform()
  • Stores the data structure <HDS>, Create shapes from the new geometries described in <HDS>.
Parameters:HDS (Handle_TopOpeBRepDS_HDataStructure &) –
Return type:None
  • Same as previous + evaluates if an operation performed on shapes S1,S2 is a particular case.
Parameters:
  • HDS (Handle_TopOpeBRepDS_HDataStructure &) –
  • S1 (TopoDS_Shape &) –
  • S2 (TopoDS_Shape &) –
Return type:

None

Section()
Return type:TopTools_ListOfShape
Splits()
  • Returns the split parts <ToBuild> of shape <S>.
Parameters:
  • S (TopoDS_Shape &) –
  • ToBuild (TopAbs_State) –
Return type:

TopTools_ListOfShape

thisown

The membership flag

class TopOpeBRepBuild_IndexedDataMapNodeOfIndexedDataMapOfShapeVertexInfo(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K1 (TopoDS_Shape &) –
  • K2 (int) –
  • I (TopOpeBRepBuild_VertexInfo &) –
  • n1 (TCollection_MapNodePtr &) –
  • n2 (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
GetKey2()

TopOpeBRepBuild_IndexedDataMapNodeOfIndexedDataMapOfShapeVertexInfo_GetKey2(TopOpeBRepBuild_IndexedDataMapNodeOfIndexedDataMapOfShapeVertexInfo self) -> Standard_Integer

Key1()
Return type:TopoDS_Shape
Next2()
Return type:TCollection_MapNodePtr
SetKey2()

TopOpeBRepBuild_IndexedDataMapNodeOfIndexedDataMapOfShapeVertexInfo_SetKey2(TopOpeBRepBuild_IndexedDataMapNodeOfIndexedDataMapOfShapeVertexInfo self, Standard_Integer value)

Value()
Return type:TopOpeBRepBuild_VertexInfo
thisown

The membership flag

class TopOpeBRepBuild_IndexedDataMapOfShapeVertexInfo(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Add()
Parameters:
  • K (TopoDS_Shape &) –
  • I (TopOpeBRepBuild_VertexInfo &) –
Return type:

int

Assign()
Parameters:Other (TopOpeBRepBuild_IndexedDataMapOfShapeVertexInfo &) –
Return type:TopOpeBRepBuild_IndexedDataMapOfShapeVertexInfo
ChangeFromIndex()
Parameters:I (int) –
Return type:TopOpeBRepBuild_VertexInfo
ChangeFromKey()
Parameters:K (TopoDS_Shape &) –
Return type:TopOpeBRepBuild_VertexInfo
ChangeFromKey1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
Clear()
Return type:None
Contains()
Parameters:K (TopoDS_Shape &) –
Return type:bool
FindFromIndex()
Parameters:I (int) –
Return type:TopOpeBRepBuild_VertexInfo
FindFromKey()
Parameters:K (TopoDS_Shape &) –
Return type:TopOpeBRepBuild_VertexInfo
FindFromKey1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
FindIndex()
Parameters:K (TopoDS_Shape &) –
Return type:int
FindKey()
Parameters:I (int) –
Return type:TopoDS_Shape
ReSize()
Parameters:NbBuckets (int) –
Return type:None
RemoveLast()
Return type:None
Set()
Parameters:Other (TopOpeBRepBuild_IndexedDataMapOfShapeVertexInfo &) –
Return type:TopOpeBRepBuild_IndexedDataMapOfShapeVertexInfo
Substitute()
Parameters:
  • I (int) –
  • K (TopoDS_Shape &) –
  • T (TopOpeBRepBuild_VertexInfo &) –
Return type:

None

thisown

The membership flag

class TopOpeBRepBuild_ListIteratorOfListOfListOfLoop(*args)

Bases: object

Return type:None
Parameters:L (TopOpeBRepBuild_ListOfListOfLoop &) –
Return type:None
Initialize()
Parameters:L (TopOpeBRepBuild_ListOfListOfLoop &) –
Return type:None
More()
Return type:bool
Next()
Return type:None
Value()
Return type:TopOpeBRepBuild_ListOfLoop
thisown

The membership flag

class TopOpeBRepBuild_ListIteratorOfListOfLoop(*args)

Bases: object

Return type:None
Parameters:L (TopOpeBRepBuild_ListOfLoop &) –
Return type:None
Initialize()
Parameters:L (TopOpeBRepBuild_ListOfLoop &) –
Return type:None
More()
Return type:bool
Next()
Return type:None
Value()
Return type:Handle_TopOpeBRepBuild_Loop
thisown

The membership flag

class TopOpeBRepBuild_ListIteratorOfListOfPave(*args)

Bases: object

Return type:None
Parameters:L (TopOpeBRepBuild_ListOfPave &) –
Return type:None
Initialize()
Parameters:L (TopOpeBRepBuild_ListOfPave &) –
Return type:None
More()
Return type:bool
Next()
Return type:None
Value()
Return type:Handle_TopOpeBRepBuild_Pave
thisown

The membership flag

class TopOpeBRepBuild_ListIteratorOfListOfShapeListOfShape(*args)

Bases: object

Return type:None
Parameters:L (TopOpeBRepBuild_ListOfShapeListOfShape &) –
Return type:None
Initialize()
Parameters:L (TopOpeBRepBuild_ListOfShapeListOfShape &) –
Return type:None
More()
Return type:bool
Next()
Return type:None
Value()
Return type:TopOpeBRepBuild_ShapeListOfShape
thisown

The membership flag

class TopOpeBRepBuild_ListNodeOfListOfListOfLoop(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • I (TopOpeBRepBuild_ListOfLoop &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:TopOpeBRepBuild_ListOfLoop
thisown

The membership flag

class TopOpeBRepBuild_ListNodeOfListOfLoop(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • I (Handle_TopOpeBRepBuild_Loop &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:Handle_TopOpeBRepBuild_Loop
thisown

The membership flag

class TopOpeBRepBuild_ListNodeOfListOfPave(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • I (Handle_TopOpeBRepBuild_Pave &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:Handle_TopOpeBRepBuild_Pave
thisown

The membership flag

class TopOpeBRepBuild_ListNodeOfListOfShapeListOfShape(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • I (TopOpeBRepBuild_ShapeListOfShape &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:TopOpeBRepBuild_ShapeListOfShape
thisown

The membership flag

class TopOpeBRepBuild_ListOfListOfLoop(*args)

Bases: object

Return type:None
Parameters:Other (TopOpeBRepBuild_ListOfListOfLoop &) –
Return type:None
Append()
Parameters:
  • I (TopOpeBRepBuild_ListOfLoop &) –
  • I
  • theIt (TopOpeBRepBuild_ListIteratorOfListOfListOfLoop &) –
  • Other (TopOpeBRepBuild_ListOfListOfLoop &) –
Return type:

None

Return type:

None

Return type:

None

Assign()
Parameters:Other (TopOpeBRepBuild_ListOfListOfLoop &) –
Return type:None
Clear()
Return type:None
Extent()
Return type:int
First()
Return type:TopOpeBRepBuild_ListOfLoop
InsertAfter()
Parameters:
  • I (TopOpeBRepBuild_ListOfLoop &) –
  • It (TopOpeBRepBuild_ListIteratorOfListOfListOfLoop &) –
  • Other (TopOpeBRepBuild_ListOfListOfLoop &) –
  • It
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • I (TopOpeBRepBuild_ListOfLoop &) –
  • It (TopOpeBRepBuild_ListIteratorOfListOfListOfLoop &) –
  • Other (TopOpeBRepBuild_ListOfListOfLoop &) –
  • It
Return type:

None

Return type:

None

IsEmpty()
Return type:bool
Last()
Return type:TopOpeBRepBuild_ListOfLoop
Prepend()
Parameters:
  • I (TopOpeBRepBuild_ListOfLoop &) –
  • I
  • theIt (TopOpeBRepBuild_ListIteratorOfListOfListOfLoop &) –
  • Other (TopOpeBRepBuild_ListOfListOfLoop &) –
Return type:

None

Return type:

None

Return type:

None

Remove()
Parameters:It (TopOpeBRepBuild_ListIteratorOfListOfListOfLoop &) –
Return type:None
RemoveFirst()
Return type:None
Set()
Parameters:Other (TopOpeBRepBuild_ListOfListOfLoop &) –
Return type:None
thisown

The membership flag

class TopOpeBRepBuild_ListOfLoop(*args)

Bases: object

Return type:None
Parameters:Other (TopOpeBRepBuild_ListOfLoop &) –
Return type:None
Append()
Parameters:
  • I (Handle_TopOpeBRepBuild_Loop &) –
  • I
  • theIt (TopOpeBRepBuild_ListIteratorOfListOfLoop &) –
  • Other (TopOpeBRepBuild_ListOfLoop &) –
Return type:

None

Return type:

None

Return type:

None

Assign()
Parameters:Other (TopOpeBRepBuild_ListOfLoop &) –
Return type:None
Clear()
Return type:None
Extent()
Return type:int
First()
Return type:Handle_TopOpeBRepBuild_Loop
InsertAfter()
Parameters:
  • I (Handle_TopOpeBRepBuild_Loop &) –
  • It (TopOpeBRepBuild_ListIteratorOfListOfLoop &) –
  • Other (TopOpeBRepBuild_ListOfLoop &) –
  • It
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • I (Handle_TopOpeBRepBuild_Loop &) –
  • It (TopOpeBRepBuild_ListIteratorOfListOfLoop &) –
  • Other (TopOpeBRepBuild_ListOfLoop &) –
  • It
Return type:

None

Return type:

None

IsEmpty()
Return type:bool
Last()
Return type:Handle_TopOpeBRepBuild_Loop
Prepend()
Parameters:
  • I (Handle_TopOpeBRepBuild_Loop &) –
  • I
  • theIt (TopOpeBRepBuild_ListIteratorOfListOfLoop &) –
  • Other (TopOpeBRepBuild_ListOfLoop &) –
Return type:

None

Return type:

None

Return type:

None

Remove()
Parameters:It (TopOpeBRepBuild_ListIteratorOfListOfLoop &) –
Return type:None
RemoveFirst()
Return type:None
Set()
Parameters:Other (TopOpeBRepBuild_ListOfLoop &) –
Return type:None
thisown

The membership flag

class TopOpeBRepBuild_ListOfPave(*args)

Bases: object

Return type:None
Parameters:Other (TopOpeBRepBuild_ListOfPave &) –
Return type:None
Append()
Parameters:
  • I (Handle_TopOpeBRepBuild_Pave &) –
  • I
  • theIt (TopOpeBRepBuild_ListIteratorOfListOfPave &) –
  • Other (TopOpeBRepBuild_ListOfPave &) –
Return type:

None

Return type:

None

Return type:

None

Assign()
Parameters:Other (TopOpeBRepBuild_ListOfPave &) –
Return type:None
Clear()
Return type:None
Extent()
Return type:int
First()
Return type:Handle_TopOpeBRepBuild_Pave
InsertAfter()
Parameters:
  • I (Handle_TopOpeBRepBuild_Pave &) –
  • It (TopOpeBRepBuild_ListIteratorOfListOfPave &) –
  • Other (TopOpeBRepBuild_ListOfPave &) –
  • It
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • I (Handle_TopOpeBRepBuild_Pave &) –
  • It (TopOpeBRepBuild_ListIteratorOfListOfPave &) –
  • Other (TopOpeBRepBuild_ListOfPave &) –
  • It
Return type:

None

Return type:

None

IsEmpty()
Return type:bool
Last()
Return type:Handle_TopOpeBRepBuild_Pave
Prepend()
Parameters:
  • I (Handle_TopOpeBRepBuild_Pave &) –
  • I
  • theIt (TopOpeBRepBuild_ListIteratorOfListOfPave &) –
  • Other (TopOpeBRepBuild_ListOfPave &) –
Return type:

None

Return type:

None

Return type:

None

Remove()
Parameters:It (TopOpeBRepBuild_ListIteratorOfListOfPave &) –
Return type:None
RemoveFirst()
Return type:None
Set()
Parameters:Other (TopOpeBRepBuild_ListOfPave &) –
Return type:None
thisown

The membership flag

class TopOpeBRepBuild_ListOfShapeListOfShape(*args)

Bases: object

Return type:None
Parameters:Other (TopOpeBRepBuild_ListOfShapeListOfShape &) –
Return type:None
Append()
Parameters:
  • I (TopOpeBRepBuild_ShapeListOfShape &) –
  • I
  • theIt (TopOpeBRepBuild_ListIteratorOfListOfShapeListOfShape &) –
  • Other (TopOpeBRepBuild_ListOfShapeListOfShape &) –
Return type:

None

Return type:

None

Return type:

None

Assign()
Parameters:Other (TopOpeBRepBuild_ListOfShapeListOfShape &) –
Return type:None
Clear()
Return type:None
Extent()
Return type:int
First()
Return type:TopOpeBRepBuild_ShapeListOfShape
InsertAfter()
Parameters:
  • I (TopOpeBRepBuild_ShapeListOfShape &) –
  • It (TopOpeBRepBuild_ListIteratorOfListOfShapeListOfShape &) –
  • Other (TopOpeBRepBuild_ListOfShapeListOfShape &) –
  • It
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • I (TopOpeBRepBuild_ShapeListOfShape &) –
  • It (TopOpeBRepBuild_ListIteratorOfListOfShapeListOfShape &) –
  • Other (TopOpeBRepBuild_ListOfShapeListOfShape &) –
  • It
Return type:

None

Return type:

None

IsEmpty()
Return type:bool
Last()
Return type:TopOpeBRepBuild_ShapeListOfShape
Prepend()
Parameters:
  • I (TopOpeBRepBuild_ShapeListOfShape &) –
  • I
  • theIt (TopOpeBRepBuild_ListIteratorOfListOfShapeListOfShape &) –
  • Other (TopOpeBRepBuild_ListOfShapeListOfShape &) –
Return type:

None

Return type:

None

Return type:

None

Remove()
Parameters:It (TopOpeBRepBuild_ListIteratorOfListOfShapeListOfShape &) –
Return type:None
RemoveFirst()
Return type:None
Set()
Parameters:Other (TopOpeBRepBuild_ListOfShapeListOfShape &) –
Return type:None
thisown

The membership flag

class TopOpeBRepBuild_Loop(*args)

Bases: OCC.MMgt.MMgt_TShared

Parameters:
  • S (TopoDS_Shape &) –
  • BI (TopOpeBRepBuild_BlockIterator &) –
Return type:

None

Return type:

None

BlockIterator()
Return type:TopOpeBRepBuild_BlockIterator
Dump()
Return type:void
GetHandle()
IsShape()
Return type:bool
Shape()
Return type:TopoDS_Shape
thisown

The membership flag

class TopOpeBRepBuild_LoopClassifier(*args, **kwargs)

Bases: object

Compare()
  • Returns the state of loop <L1> compared with loop <L2>.
Parameters:
  • L1 (Handle_TopOpeBRepBuild_Loop &) –
  • L2 (Handle_TopOpeBRepBuild_Loop &) –
Return type:

TopAbs_State

Delete()
Return type:void
thisown

The membership flag

class TopOpeBRepBuild_LoopSet(*args)

Bases: object

Return type:None
ChangeListOfLoop()
Return type:TopOpeBRepBuild_ListOfLoop
Delete()
Return type:void
InitLoop()
Return type:void
Loop()
Return type:Handle_TopOpeBRepBuild_Loop
MoreLoop()
Return type:bool
NextLoop()
Return type:void
thisown

The membership flag

class TopOpeBRepBuild_Pave(*args)

Bases: OCC.TopOpeBRepBuild.TopOpeBRepBuild_Loop

  • V = vertex, P = parameter of vertex <V> bound = True if <V> is an old vertex bound = False if <V> is a new vertex
Parameters:
  • V (TopoDS_Shape &) –
  • P (float) –
  • bound (bool) –
Return type:

None

ChangeVertex()
Return type:TopoDS_Shape
GetHandle()
HasSameDomain()
Parameters:b (bool) –
Return type:None
Return type:bool
InterferenceType()
Return type:TopOpeBRepDS_Kind
Parameter()
Return type:float
Parameters:Par (float) –
Return type:None
SameDomain()
Parameters:VSD (TopoDS_Shape &) –
Return type:None
Return type:TopoDS_Shape
Vertex()
Return type:TopoDS_Shape
thisown

The membership flag

class TopOpeBRepBuild_PaveClassifier(*args)

Bases: OCC.TopOpeBRepBuild.TopOpeBRepBuild_LoopClassifier

  • Create a Pave classifier to compare vertices on edge <E>.
Parameters:E (TopoDS_Shape &) –
Return type:None
static AdjustCase(*args)
Parameters:
  • p1 (float) –
  • o (TopAbs_Orientation) –
  • first (float) –
  • period (float) –
  • tol (float) –
  • cas (int &) –
Return type:

float

ClosedVertices()
Parameters:B (bool) –
Return type:None
SetFirstParameter()
Parameters:P (float) –
Return type:None
thisown

The membership flag

TopOpeBRepBuild_PaveClassifier_AdjustCase(*args)
Parameters:
  • p1 (float) –
  • o (TopAbs_Orientation) –
  • first (float) –
  • period (float) –
  • tol (float) –
  • cas (int &) –
Return type:

float

class TopOpeBRepBuild_PaveSet(*args)

Bases: OCC.TopOpeBRepBuild.TopOpeBRepBuild_LoopSet

  • Create a Pave set on edge <E>. It contains <E> vertices.
Parameters:E (TopoDS_Shape &) –
Return type:None
Append()
  • Add <PV> in the Pave set.
Parameters:PV (Handle_TopOpeBRepBuild_Pave &) –
Return type:None
ClosedVertices()
Return type:bool
Edge()
Return type:TopoDS_Edge
EqualParameters()
Return type:float
HasEqualParameters()
Return type:bool
Loop()
Return type:Handle_TopOpeBRepBuild_Loop
RemovePV()
Parameters:B (bool) –
Return type:None
static SortPave(*args)
Parameters:
  • Lin (TopOpeBRepBuild_ListOfPave &) –
  • Lout (TopOpeBRepBuild_ListOfPave &) –
Return type:

void

thisown

The membership flag

TopOpeBRepBuild_PaveSet_SortPave(*args)
Parameters:
  • Lin (TopOpeBRepBuild_ListOfPave &) –
  • Lout (TopOpeBRepBuild_ListOfPave &) –
Return type:

void

class TopOpeBRepBuild_ShapeListOfShape(*args)

Bases: object

Return type:

None

Parameters:
  • S (TopoDS_Shape &) –
  • S
  • L (TopTools_ListOfShape &) –
Return type:

None

Return type:

None

ChangeList()
Return type:TopTools_ListOfShape
ChangeShape()
Return type:TopoDS_Shape
List()
Return type:TopTools_ListOfShape
Shape()
Return type:TopoDS_Shape
thisown

The membership flag

class TopOpeBRepBuild_ShapeSet(*args)

Bases: object

  • Creates a ShapeSet in order to build shapes connected by <SubShapeType> shapes. <checkshape>:check (or not) the shapes, startelements, elements added.
Parameters:
  • SubShapeType (TopAbs_ShapeEnum) –
  • checkshape (bool) – default value is Standard_True
Return type:

None

AddElement()
  • for each subshape SE of S of type mySubShapeType - Add subshapes of S to the map of subshapes (mySubShapeMap) - Add S to the list of shape incident to subshapes of S.
Parameters:S (TopoDS_Shape &) –
Return type:void
AddShape()
  • Adds <S> to the list of shapes. (wires or shells).
Parameters:S (TopoDS_Shape &) –
Return type:void
AddStartElement()
  • (S is a face or edge) Add S to the list of starting shapes used for reconstructions. apply AddElement(S).
Parameters:S (TopoDS_Shape &) –
Return type:void
ChangeStartShapes()
Return type:TopTools_ListOfShape
CheckShape()
Parameters:
  • checkshape (bool) –
  • S (TopoDS_Shape &) –
  • checkgeom (bool) – default value is Standard_False
Return type:

None

Return type:

bool

Return type:

bool

DEBName()
Parameters:N (TCollection_AsciiString &) –
Return type:None
Return type:TCollection_AsciiString
DEBNumber()
Parameters:I (int) –
Return type:None
Return type:int
Delete()
Return type:void
DumpBB()
Return type:void
DumpCheck()
Parameters:
  • OS (Standard_OStream &) –
  • str (TCollection_AsciiString &) –
  • S (TopoDS_Shape &) –
  • chk (bool) –
Return type:

None

DumpName()
Parameters:
  • OS (Standard_OStream &) –
  • str (TCollection_AsciiString &) –
Return type:

None

DumpSS()
Return type:void
FindNeighbours()
  • Build the list of neighbour shapes of myCurrentShape (neighbour shapes and myCurrentShapes are of type t) Initialize myIncidentShapesIter on neighbour shapes.
Return type:void
InitNeighbours()
Parameters:S (TopoDS_Shape &) –
Return type:void
InitShapes()
Return type:None
InitStartElements()
Return type:None
MakeNeighboursList()
Parameters:
  • E (TopoDS_Shape &) –
  • V (TopoDS_Shape &) –
Return type:

TopTools_ListOfShape

MaxNumberSubShape()
Parameters:Shape (TopoDS_Shape &) –
Return type:int
MoreNeighbours()
Return type:bool
MoreShapes()
Return type:bool
MoreStartElements()
Return type:bool
Neighbour()
Return type:TopoDS_Shape
NextNeighbour()
Return type:None
NextShape()
Return type:None
NextStartElement()
Return type:None
SName()
Parameters:
  • S (TopTools_ListOfShape &) –
  • sb (TCollection_AsciiString &) – default value is
  • sa (TCollection_AsciiString &) – default value is
  • S
  • sb – default value is
  • sa – default value is
Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

SNameori()
Parameters:
  • S (TopTools_ListOfShape &) –
  • sb (TCollection_AsciiString &) – default value is
  • sa (TCollection_AsciiString &) – default value is
  • S
  • sb – default value is
  • sa – default value is
Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

Shape()
Return type:TopoDS_Shape
StartElement()
Return type:TopoDS_Shape
StartElements()
  • return a reference on myStartShapes
Return type:TopTools_ListOfShape
thisown

The membership flag

class TopOpeBRepBuild_ShellFaceClassifier(*args)

Bases: OCC.TopOpeBRepBuild.TopOpeBRepBuild_CompositeClassifier

  • Creates a classifier in 3D space, to compare : a face with a set of faces a shell with a set of faces a shell with a shell
Parameters:BB (TopOpeBRepBuild_BlockBuilder &) –
Return type:None
Clear()
Return type:None
thisown

The membership flag

class TopOpeBRepBuild_ShellFaceSet(*args)

Bases: OCC.TopOpeBRepBuild.TopOpeBRepBuild_ShapeSet

  • Creates a ShellFaceSet to build blocks of faces connected by edges.
Return type:None
  • Creates a ShellFaceSet to build blocks of faces connected by edges.
Parameters:
  • S (TopoDS_Shape &) –
  • Addr (Standard_Address) – default value is NULL
Return type:

None

SName()
Parameters:
  • S (TopTools_ListOfShape &) –
  • sb (TCollection_AsciiString &) – default value is
  • sa (TCollection_AsciiString &) – default value is
  • S
  • sb – default value is
  • sa – default value is
Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

SNameori()
Parameters:
  • S (TopTools_ListOfShape &) –
  • sb (TCollection_AsciiString &) – default value is
  • sa (TCollection_AsciiString &) – default value is
  • S
  • sb – default value is
  • sa – default value is
Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

Solid()
Return type:TopoDS_Solid
thisown

The membership flag

class TopOpeBRepBuild_ShellToSolid(*args)

Bases: object

Return type:None
AddShell()
Parameters:Sh (TopoDS_Shell &) –
Return type:None
Init()
Return type:None
MakeSolids()
Parameters:
  • So (TopoDS_Solid &) –
  • LSo (TopTools_ListOfShape &) –
Return type:

None

thisown

The membership flag

class TopOpeBRepBuild_SolidAreaBuilder(*args)

Bases: OCC.TopOpeBRepBuild.TopOpeBRepBuild_Area3dBuilder

Return type:None
  • Creates a SolidAreaBuilder to build Solids on the (shells,blocks of face) of <LS>, using the classifier <LC>.
Parameters:
  • LS (TopOpeBRepBuild_LoopSet &) –
  • LC (TopOpeBRepBuild_LoopClassifier &) –
  • ForceClass (bool) – default value is Standard_False
Return type:

None

InitSolidAreaBuilder()
Parameters:
  • LS (TopOpeBRepBuild_LoopSet &) –
  • LC (TopOpeBRepBuild_LoopClassifier &) –
  • ForceClass (bool) – default value is Standard_False
Return type:

None

thisown

The membership flag

class TopOpeBRepBuild_SolidBuilder(*args)

Bases: object

Return type:None
  • Create a SolidBuilder to build the areas on the shapes (shells, blocks of faces) described by <LS>.
Parameters:
  • FS (TopOpeBRepBuild_ShellFaceSet &) –
  • ForceClass (bool) – default value is Standard_False
Return type:

None

Face()
  • Returns current new face of current new shell.
Return type:TopoDS_Shape
InitFace()
Return type:int
InitShell()
Return type:int
InitSolid()
Return type:int
InitSolidBuilder()
Parameters:
  • FS (TopOpeBRepBuild_ShellFaceSet &) –
  • ForceClass (bool) –
Return type:

None

IsOldShell()
Return type:bool
MoreFace()
Return type:bool
MoreShell()
Return type:bool
MoreSolid()
Return type:bool
NextFace()
Return type:None
NextShell()
Return type:None
NextSolid()
Return type:None
OldShell()
  • Returns current shell This shell may be : * an old shell OldShell(), which has not been reconstructed; * a new shell made of faces described by ...NewFace() methods.
Return type:TopoDS_Shape
thisown

The membership flag

class TopOpeBRepBuild_Tools

Bases: object

static CheckFaceClosed2d(*args)
  • Checks if <theFace> has the properly closed in 2D boundary(ies)
Parameters:theFace (TopoDS_Face &) –
Return type:bool
static CorrectCurveOnSurface(*args)
Parameters:
  • aS (TopoDS_Shape &) –
  • aTolMax (float) – default value is 0.0001
Return type:

void

static CorrectFace2d(*args)
  • test if UV representation of <oldFace> is good (i.e. face is closed in 2d). if face is not closed , this method will try to close such face and will return corrected edges in the <aMapOfCorrect2dEdges>. Parameter <aSourceShapes> used to fix the edge (or wires) which should be correct (Corrector used it as a start shapes). NOTE : Parameter corrFace doesn’t mean anything. If you want to use this method , rebuild resulting face after by yourself using corrected edges.
Parameters:
  • oldFace (TopoDS_Shape &) –
  • corrFace (TopoDS_Shape &) –
  • aSourceShapes (TopTools_IndexedMapOfOrientedShape &) –
  • aMapOfCorrect2dEdges (TopTools_IndexedDataMapOfShapeShape &) –
Return type:

void

static CorrectPointOnCurve(*args)
Parameters:
  • aS (TopoDS_Shape &) –
  • aTolMax (float) – default value is 0.0001
Return type:

void

static CorrectTolerances(*args)
Parameters:
  • aS (TopoDS_Shape &) –
  • aTolMax (float) – default value is 0.0001
Return type:

void

static DumpMapOfShapeWithState(*args)
Parameters:
  • iP (int) –
  • aMapOfShapeWithState (TopOpeBRepDS_IndexedDataMapOfShapeWithState &) –
Return type:

void

static FindState(*args)
Parameters:
  • aVertex (TopoDS_Shape &) –
  • aState (TopAbs_State) –
  • aShapeEnum (TopAbs_ShapeEnum) –
  • aMapVertexEdges (TopTools_IndexedDataMapOfShapeListOfShape &) –
  • aMapProcessedVertices (TopTools_MapOfShape &) –
  • aMapVs (TopOpeBRepDS_DataMapOfShapeState &) –
Return type:

void

static FindState1(*args)
Parameters:
  • anEdge (TopoDS_Shape &) –
  • aState (TopAbs_State) –
  • aMapEdgesFaces (TopTools_IndexedDataMapOfShapeListOfShape &) –
  • aMapProcessedVertices (TopTools_MapOfShape &) –
  • aMapVs (TopOpeBRepDS_DataMapOfShapeState &) –
Return type:

void

static FindState2(*args)
Parameters:
  • anEdge (TopoDS_Shape &) –
  • aState (TopAbs_State) –
  • aMapEdgesFaces (TopTools_IndexedDataMapOfShapeListOfShape &) –
  • aMapProcessedEdges (TopTools_MapOfShape &) –
  • aMapVs (TopOpeBRepDS_DataMapOfShapeState &) –
Return type:

void

static FindStateThroughVertex(*args)
Parameters:
  • aShape (TopoDS_Shape &) –
  • aShapeClassifier (TopOpeBRepTool_ShapeClassifier &) –
  • aMapOfShapeWithState (TopOpeBRepDS_IndexedDataMapOfShapeWithState &) –
  • anAvoidSubshMap (TopTools_MapOfShape &) –
Return type:

TopAbs_State

static GetAdjacentFace(*args)
Parameters:
  • aFaceObj (TopoDS_Shape &) –
  • anEObj (TopoDS_Shape &) –
  • anEdgeFaceMap (TopTools_IndexedDataMapOfShapeListOfShape &) –
  • anAdjFaceObj (TopoDS_Shape &) –
Return type:

bool

static GetNormalInNearestPoint(*args)
  • This function used to compute normal in point which is located near the point with param UV (used for computation of normals where the normal in the point UV equal to zero).
Parameters:
  • aFace (TopoDS_Face &) –
  • anEdge (TopoDS_Edge &) –
  • aNormal (gp_Vec) –
Return type:

void

static GetNormalToFaceOnEdge(*args)
Parameters:
  • aFObj (TopoDS_Face &) –
  • anEdgeObj (TopoDS_Edge &) –
  • aDirNormal (gp_Vec) –
Return type:

void

static GetTangentToEdge(*args)
Parameters:
  • anEdgeObj (TopoDS_Edge &) –
  • aTangent (gp_Vec) –
Return type:

bool

static GetTangentToEdgeEdge(*args)
Parameters:
  • aFObj (TopoDS_Face &) –
  • anEdgeObj (TopoDS_Edge &) –
  • aOriEObj (TopoDS_Edge &) –
  • aTangent (gp_Vec) –
Return type:

bool

static IsDegEdgesTheSame(*args)
Parameters:
  • anE1 (TopoDS_Shape &) –
  • anE2 (TopoDS_Shape &) –
Return type:

bool

static NormalizeFace(*args)
  • test if <oldFace> does not contain INTERNAL or EXTERNAL edges and remove such edges in case of its presence. The result is stored in <corrFace>
Parameters:
  • oldFace (TopoDS_Shape &) –
  • corrFace (TopoDS_Shape &) –
Return type:

void

static PropagateState(*args)
Parameters:
  • aSplEdgesState (TopOpeBRepDS_DataMapOfShapeState &) –
  • anEdgesToRestMap (TopTools_IndexedMapOfShape &) –
  • aShapeEnum1 (TopAbs_ShapeEnum) –
  • aShapeEnum2 (TopAbs_ShapeEnum) –
  • aShapeClassifier (TopOpeBRepTool_ShapeClassifier &) –
  • aMapOfShapeWithState (TopOpeBRepDS_IndexedDataMapOfShapeWithState &) –
  • anUnkStateShapes (TopTools_MapOfShape &) –
Return type:

void

static PropagateStateForWires(*args)
Parameters:
  • aFacesToRestMap (TopTools_IndexedMapOfShape &) –
  • aMapOfShapeWithState (TopOpeBRepDS_IndexedDataMapOfShapeWithState &) –
Return type:

void

static SpreadStateToChild(*args)
Parameters:
  • aShape (TopoDS_Shape &) –
  • aState (TopAbs_State) –
  • aMapOfShapeWithState (TopOpeBRepDS_IndexedDataMapOfShapeWithState &) –
Return type:

void

static UpdateEdgeOnFace(*args)
  • recompute PCurve of the edge on the NewFace
Parameters:
  • aEdgeToUpdate (TopoDS_Edge &) –
  • OldFace (TopoDS_Face &) –
  • NewFace (TopoDS_Face &) –
Return type:

void

static UpdateEdgeOnPeriodicalFace(*args)
  • recompute PCurves of the closing (SIM , with 2 PCurves) edge on the NewFace
Parameters:
  • aEdgeToUpdate (TopoDS_Edge &) –
  • OldFace (TopoDS_Face &) –
  • NewFace (TopoDS_Face &) –
Return type:

void

static UpdatePCurves(*args)
  • Recompute PCurves of the all edges from the wire on the <toFace>
Parameters:
  • aWire (TopoDS_Wire &) –
  • fromFace (TopoDS_Face &) –
  • toFace (TopoDS_Face &) –
Return type:

void

thisown

The membership flag

class TopOpeBRepBuild_Tools2d

Bases: object

static DumpMapOfShapeVertexInfo(*args)
Parameters:aMap (TopOpeBRepBuild_IndexedDataMapOfShapeVertexInfo &) –
Return type:void
static MakeMapOfShapeVertexInfo(*args)
Parameters:
  • aWire (TopoDS_Wire &) –
  • aMap (TopOpeBRepBuild_IndexedDataMapOfShapeVertexInfo &) –
Return type:

void

static Path(*args)
Parameters:
  • aWire (TopoDS_Wire &) –
  • aResList (TopTools_ListOfShape &) –
Return type:

void

thisown

The membership flag

TopOpeBRepBuild_Tools2d_DumpMapOfShapeVertexInfo(*args)
Parameters:aMap (TopOpeBRepBuild_IndexedDataMapOfShapeVertexInfo &) –
Return type:void
TopOpeBRepBuild_Tools2d_MakeMapOfShapeVertexInfo(*args)
Parameters:
  • aWire (TopoDS_Wire &) –
  • aMap (TopOpeBRepBuild_IndexedDataMapOfShapeVertexInfo &) –
Return type:

void

TopOpeBRepBuild_Tools2d_Path(*args)
Parameters:
  • aWire (TopoDS_Wire &) –
  • aResList (TopTools_ListOfShape &) –
Return type:

void

TopOpeBRepBuild_Tools_CheckFaceClosed2d(*args)
  • Checks if <theFace> has the properly closed in 2D boundary(ies)
Parameters:theFace (TopoDS_Face &) –
Return type:bool
TopOpeBRepBuild_Tools_CorrectCurveOnSurface(*args)
Parameters:
  • aS (TopoDS_Shape &) –
  • aTolMax (float) – default value is 0.0001
Return type:

void

TopOpeBRepBuild_Tools_CorrectFace2d(*args)
  • test if UV representation of <oldFace> is good (i.e. face is closed in 2d). if face is not closed , this method will try to close such face and will return corrected edges in the <aMapOfCorrect2dEdges>. Parameter <aSourceShapes> used to fix the edge (or wires) which should be correct (Corrector used it as a start shapes). NOTE : Parameter corrFace doesn’t mean anything. If you want to use this method , rebuild resulting face after by yourself using corrected edges.
Parameters:
  • oldFace (TopoDS_Shape &) –
  • corrFace (TopoDS_Shape &) –
  • aSourceShapes (TopTools_IndexedMapOfOrientedShape &) –
  • aMapOfCorrect2dEdges (TopTools_IndexedDataMapOfShapeShape &) –
Return type:

void

TopOpeBRepBuild_Tools_CorrectPointOnCurve(*args)
Parameters:
  • aS (TopoDS_Shape &) –
  • aTolMax (float) – default value is 0.0001
Return type:

void

TopOpeBRepBuild_Tools_CorrectTolerances(*args)
Parameters:
  • aS (TopoDS_Shape &) –
  • aTolMax (float) – default value is 0.0001
Return type:

void

TopOpeBRepBuild_Tools_DumpMapOfShapeWithState(*args)
Parameters:
  • iP (int) –
  • aMapOfShapeWithState (TopOpeBRepDS_IndexedDataMapOfShapeWithState &) –
Return type:

void

TopOpeBRepBuild_Tools_FindState(*args)
Parameters:
  • aVertex (TopoDS_Shape &) –
  • aState (TopAbs_State) –
  • aShapeEnum (TopAbs_ShapeEnum) –
  • aMapVertexEdges (TopTools_IndexedDataMapOfShapeListOfShape &) –
  • aMapProcessedVertices (TopTools_MapOfShape &) –
  • aMapVs (TopOpeBRepDS_DataMapOfShapeState &) –
Return type:

void

TopOpeBRepBuild_Tools_FindState1(*args)
Parameters:
  • anEdge (TopoDS_Shape &) –
  • aState (TopAbs_State) –
  • aMapEdgesFaces (TopTools_IndexedDataMapOfShapeListOfShape &) –
  • aMapProcessedVertices (TopTools_MapOfShape &) –
  • aMapVs (TopOpeBRepDS_DataMapOfShapeState &) –
Return type:

void

TopOpeBRepBuild_Tools_FindState2(*args)
Parameters:
  • anEdge (TopoDS_Shape &) –
  • aState (TopAbs_State) –
  • aMapEdgesFaces (TopTools_IndexedDataMapOfShapeListOfShape &) –
  • aMapProcessedEdges (TopTools_MapOfShape &) –
  • aMapVs (TopOpeBRepDS_DataMapOfShapeState &) –
Return type:

void

TopOpeBRepBuild_Tools_FindStateThroughVertex(*args)
Parameters:
  • aShape (TopoDS_Shape &) –
  • aShapeClassifier (TopOpeBRepTool_ShapeClassifier &) –
  • aMapOfShapeWithState (TopOpeBRepDS_IndexedDataMapOfShapeWithState &) –
  • anAvoidSubshMap (TopTools_MapOfShape &) –
Return type:

TopAbs_State

TopOpeBRepBuild_Tools_GetAdjacentFace(*args)
Parameters:
  • aFaceObj (TopoDS_Shape &) –
  • anEObj (TopoDS_Shape &) –
  • anEdgeFaceMap (TopTools_IndexedDataMapOfShapeListOfShape &) –
  • anAdjFaceObj (TopoDS_Shape &) –
Return type:

bool

TopOpeBRepBuild_Tools_GetNormalInNearestPoint(*args)
  • This function used to compute normal in point which is located near the point with param UV (used for computation of normals where the normal in the point UV equal to zero).
Parameters:
  • aFace (TopoDS_Face &) –
  • anEdge (TopoDS_Edge &) –
  • aNormal (gp_Vec) –
Return type:

void

TopOpeBRepBuild_Tools_GetNormalToFaceOnEdge(*args)
Parameters:
  • aFObj (TopoDS_Face &) –
  • anEdgeObj (TopoDS_Edge &) –
  • aDirNormal (gp_Vec) –
Return type:

void

TopOpeBRepBuild_Tools_GetTangentToEdge(*args)
Parameters:
  • anEdgeObj (TopoDS_Edge &) –
  • aTangent (gp_Vec) –
Return type:

bool

TopOpeBRepBuild_Tools_GetTangentToEdgeEdge(*args)
Parameters:
  • aFObj (TopoDS_Face &) –
  • anEdgeObj (TopoDS_Edge &) –
  • aOriEObj (TopoDS_Edge &) –
  • aTangent (gp_Vec) –
Return type:

bool

TopOpeBRepBuild_Tools_IsDegEdgesTheSame(*args)
Parameters:
  • anE1 (TopoDS_Shape &) –
  • anE2 (TopoDS_Shape &) –
Return type:

bool

TopOpeBRepBuild_Tools_NormalizeFace(*args)
  • test if <oldFace> does not contain INTERNAL or EXTERNAL edges and remove such edges in case of its presence. The result is stored in <corrFace>
Parameters:
  • oldFace (TopoDS_Shape &) –
  • corrFace (TopoDS_Shape &) –
Return type:

void

TopOpeBRepBuild_Tools_PropagateState(*args)
Parameters:
  • aSplEdgesState (TopOpeBRepDS_DataMapOfShapeState &) –
  • anEdgesToRestMap (TopTools_IndexedMapOfShape &) –
  • aShapeEnum1 (TopAbs_ShapeEnum) –
  • aShapeEnum2 (TopAbs_ShapeEnum) –
  • aShapeClassifier (TopOpeBRepTool_ShapeClassifier &) –
  • aMapOfShapeWithState (TopOpeBRepDS_IndexedDataMapOfShapeWithState &) –
  • anUnkStateShapes (TopTools_MapOfShape &) –
Return type:

void

TopOpeBRepBuild_Tools_PropagateStateForWires(*args)
Parameters:
  • aFacesToRestMap (TopTools_IndexedMapOfShape &) –
  • aMapOfShapeWithState (TopOpeBRepDS_IndexedDataMapOfShapeWithState &) –
Return type:

void

TopOpeBRepBuild_Tools_SpreadStateToChild(*args)
Parameters:
  • aShape (TopoDS_Shape &) –
  • aState (TopAbs_State) –
  • aMapOfShapeWithState (TopOpeBRepDS_IndexedDataMapOfShapeWithState &) –
Return type:

void

TopOpeBRepBuild_Tools_UpdateEdgeOnFace(*args)
  • recompute PCurve of the edge on the NewFace
Parameters:
  • aEdgeToUpdate (TopoDS_Edge &) –
  • OldFace (TopoDS_Face &) –
  • NewFace (TopoDS_Face &) –
Return type:

void

TopOpeBRepBuild_Tools_UpdateEdgeOnPeriodicalFace(*args)
  • recompute PCurves of the closing (SIM , with 2 PCurves) edge on the NewFace
Parameters:
  • aEdgeToUpdate (TopoDS_Edge &) –
  • OldFace (TopoDS_Face &) –
  • NewFace (TopoDS_Face &) –
Return type:

void

TopOpeBRepBuild_Tools_UpdatePCurves(*args)
  • Recompute PCurves of the all edges from the wire on the <toFace>
Parameters:
  • aWire (TopoDS_Wire &) –
  • fromFace (TopoDS_Face &) –
  • toFace (TopoDS_Face &) –
Return type:

void

class TopOpeBRepBuild_VertexInfo(*args)

Bases: object

Return type:None
AddIn()
Parameters:anE (TopoDS_Edge &) –
Return type:None
AddOut()
Parameters:anE (TopoDS_Edge &) –
Return type:None
AppendPassed()
Parameters:anE (TopoDS_Edge &) –
Return type:None
ChangeEdgesOut()
Return type:TopTools_IndexedMapOfOrientedShape
CurrentOut()
Return type:TopoDS_Edge
Dump()
Return type:None
EdgesIn()
Return type:TopTools_IndexedMapOfOrientedShape
EdgesOut()
Return type:TopTools_IndexedMapOfOrientedShape
FoundOut()
Return type:int
ListPassed()
Return type:TopTools_ListOfShape
NbCases()
Return type:int
Prepare()
Parameters:aL (TopTools_ListOfShape &) –
Return type:None
RemovePassed()
Return type:None
SetCurrentIn()
Parameters:anE (TopoDS_Edge &) –
Return type:None
SetSmart()
Parameters:aFlag (bool) –
Return type:None
SetVertex()
Parameters:aV (TopoDS_Vertex &) –
Return type:None
Smart()
Return type:bool
Vertex()
Return type:TopoDS_Vertex
thisown

The membership flag

class TopOpeBRepBuild_WireEdgeClassifier(*args)

Bases: OCC.TopOpeBRepBuild.TopOpeBRepBuild_CompositeClassifier

  • Creates a classifier on edge <F>. Used to compare edges and wires on the edge <F>.
Parameters:
  • F (TopoDS_Shape &) –
  • BB (TopOpeBRepBuild_BlockBuilder &) –
Return type:

None

LoopToShape()
Parameters:L (Handle_TopOpeBRepBuild_Loop &) –
Return type:TopoDS_Shape
thisown

The membership flag

class TopOpeBRepBuild_WireEdgeSet(*args)

Bases: OCC.TopOpeBRepBuild.TopOpeBRepBuild_ShapeSet

  • Creates a WireEdgeSet to build edges connected by vertices on face F. Edges of the WireEdgeSet must have a representation on surface of face F.
Parameters:
  • F (TopoDS_Shape &) –
  • Addr (Standard_Address) – default value is NULL
Return type:

None

Face()
  • value of field myFace
Return type:TopoDS_Face
static IsUVISO(*args)
Parameters:
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
  • uiso (bool) –
  • viso (bool) –
Return type:

void

SName()
Parameters:
  • S (TopTools_ListOfShape &) –
  • sb (TCollection_AsciiString &) – default value is
  • sa (TCollection_AsciiString &) – default value is
  • S
  • sb – default value is
  • sa – default value is
Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

SNameori()
Parameters:
  • S (TopTools_ListOfShape &) –
  • sb (TCollection_AsciiString &) – default value is
  • sa (TCollection_AsciiString &) – default value is
  • S
  • sb – default value is
  • sa – default value is
Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

thisown

The membership flag

TopOpeBRepBuild_WireEdgeSet_IsUVISO(*args)
Parameters:
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
  • uiso (bool) –
  • viso (bool) –
Return type:

void

class TopOpeBRepBuild_WireToFace(*args)

Bases: object

Return type:None
AddWire()
Parameters:W (TopoDS_Wire &) –
Return type:None
Init()
Return type:None
MakeFaces()
Parameters:
  • F (TopoDS_Face &) –
  • LF (TopTools_ListOfShape &) –
Return type:

None

thisown

The membership flag

register_handle(handle, base_object)

Inserts the handle into the base object to prevent memory corruption in certain cases