OCC.TopOpeBRepBuild module

class OCC.TopOpeBRepBuild.Handle_TopOpeBRepBuild_DataMapNodeOfDataMapOfShapeListOfShapeListOfShape(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.TopOpeBRepBuild.Handle_TopOpeBRepBuild_HBuilder(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.TopOpeBRepBuild.Handle_TopOpeBRepBuild_IndexedDataMapNodeOfIndexedDataMapOfShapeVertexInfo(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.TopOpeBRepBuild.Handle_TopOpeBRepBuild_ListNodeOfListOfListOfLoop(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.TopOpeBRepBuild.Handle_TopOpeBRepBuild_ListNodeOfListOfLoop(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.TopOpeBRepBuild.Handle_TopOpeBRepBuild_ListNodeOfListOfPave(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.TopOpeBRepBuild.Handle_TopOpeBRepBuild_ListNodeOfListOfShapeListOfShape(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.TopOpeBRepBuild.Handle_TopOpeBRepBuild_Loop(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.TopOpeBRepBuild.Handle_TopOpeBRepBuild_Pave(*args)

Bases: OCC.TopOpeBRepBuild.Handle_TopOpeBRepBuild_Loop

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

The membership flag

class OCC.TopOpeBRepBuild.SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()
class OCC.TopOpeBRepBuild.TopOpeBRepBuild_Area1dBuilder(*args)

Bases: OCC.TopOpeBRepBuild.TopOpeBRepBuild_AreaBuilder

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
  • LOL1
  • LOL2
  • s – default value is NULL
  • s1 – default value is NULL
  • s2 – default value is NULL
  • LOL1
  • LOL2
  • s – default value is NULL
  • s1 – default value is NULL
  • s2 – default value is NULL
  • LOL1
  • LOL2
  • s – default value is NULL
  • s1 – default value is NULL
  • s2 – default value is NULL
Return type:

void

Return type:

void

Return type:

void

Return type:

void

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

void

Return type:

void

static DumpList(*args)
Parameters:L (TopOpeBRepBuild_ListOfLoop &) –
Return type:void
InitAreaBuilder()
  • Sets a Area1dBuilder to find the areas of 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

  • Sets a Area1dBuilder to find the areas of 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

REM_Loop_FROM_LISTOFLoop()
Parameters:
  • ITLOL (TopOpeBRepBuild_ListIteratorOfListOfLoop &) –
  • LOL (TopOpeBRepBuild_ListOfLoop &) –
  • s (Standard_Address) – default value is NULL
  • ITLOL
  • LOL
  • s – default value is NULL
Return type:

void

Return type:

void

thisown

The membership flag

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

Bases: OCC.TopOpeBRepBuild.TopOpeBRepBuild_AreaBuilder

InitAreaBuilder()
  • Sets a Area1dBuilder to find the areas of 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

  • Sets a Area1dBuilder to find the areas of 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

thisown

The membership flag

class OCC.TopOpeBRepBuild.TopOpeBRepBuild_Area3dBuilder(*args)

Bases: OCC.TopOpeBRepBuild.TopOpeBRepBuild_AreaBuilder

InitAreaBuilder()
  • Sets a Area1dBuilder to find the areas of 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

  • Sets a Area1dBuilder to find the areas of 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

thisown

The membership flag

class OCC.TopOpeBRepBuild.TopOpeBRepBuild_AreaBuilder(*args)

Bases: object

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
  • LOL1
  • LOL2
  • s – default value is NULL
  • s1 – default value is NULL
  • s2 – default value is NULL
  • LOL1
  • LOL2
  • s – default value is NULL
  • s1 – default value is NULL
  • s2 – default value is NULL
  • LOL1
  • LOL2
  • s – default value is NULL
  • s1 – default value is NULL
  • s2 – default value is NULL
Return type:

void

Return type:

void

Return type:

void

Return type:

void

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

void

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

  • 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
  • ITLOL
  • LOL
  • s – default value is NULL
Return type:

void

Return type:

void

thisown

The membership flag

class OCC.TopOpeBRepBuild.TopOpeBRepBuild_BlockBuilder(*args)

Bases: object

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 (Standard_Integer) –
  • S (TopoDS_Shape &) –
Return type:

TopoDS_Shape

Return type:

TopoDS_Shape

Return type:

int

ElementIsValid()
Parameters:
  • BI (TopOpeBRepBuild_BlockIterator &) –
  • I (Standard_Integer) –
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 (Standard_Integer) –
  • isvalid
Return type:

None

Return type:

None

thisown

The membership flag

class OCC.TopOpeBRepBuild.TopOpeBRepBuild_BlockIterator(*args)

Bases: object

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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_Builder1(*args)

Bases: object

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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_BuilderON(*args)

Bases: object

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 OCC.TopOpeBRepBuild.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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_CorrectFace2d(*args)

Bases: object

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

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

void

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

void

class OCC.TopOpeBRepBuild.TopOpeBRepBuild_DataMapIteratorOfDataMapOfShapeListOfShapeListOfShape(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

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

The membership flag

class OCC.TopOpeBRepBuild.TopOpeBRepBuild_DataMapNodeOfDataMapOfShapeListOfShapeListOfShape(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

TopOpeBRepBuild_DataMapNodeOfDataMapOfShapeListOfShapeListOfShape_GetHandle(TopOpeBRepBuild_DataMapNodeOfDataMapOfShapeListOfShapeListOfShape self) -> Handle_TopOpeBRepBuild_DataMapNodeOfDataMapOfShapeListOfShapeListOfShape

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

The membership flag

class OCC.TopOpeBRepBuild.TopOpeBRepBuild_DataMapOfShapeListOfShapeListOfShape(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

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 (Standard_Integer) –
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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_EdgeBuilder(*args)

Bases: OCC.TopOpeBRepBuild.TopOpeBRepBuild_Area1dBuilder

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

None

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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_FaceAreaBuilder(*args)

Bases: OCC.TopOpeBRepBuild.TopOpeBRepBuild_Area2dBuilder

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

None

Return type:

None

thisown

The membership flag

class OCC.TopOpeBRepBuild.TopOpeBRepBuild_FaceBuilder(*args)

Bases: object

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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_FuseFace(*args)

Bases: object

ClearEdge()
Return type:None
ClearVertex()
Return type:None
Init()
Parameters:
  • LIF (TopTools_ListOfShape &) –
  • LRF (TopTools_ListOfShape &) –
  • CXM (Standard_Integer) –
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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_GIter(*args)

Bases: object

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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_GTool(*args, **kwargs)

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

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

TopOpeBRepBuild_GTopo

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

TopOpeBRepBuild_GTopo

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

TopOpeBRepBuild_GTopo

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

TopOpeBRepBuild_GTopo

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

TopOpeBRepBuild_GTopo

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

TopOpeBRepBuild_GTopo

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

TopOpeBRepBuild_GTopo

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

TopOpeBRepBuild_GTopo

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

TopOpeBRepBuild_GTopo

class OCC.TopOpeBRepBuild.TopOpeBRepBuild_GTopo(*args)

Bases: object

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 (Standard_Integer) –
  • i2 (Standard_Integer) –
  • 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
  • OS
  • s – default value is NULL
Return type:

void

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 (Standard_Integer) –
Return type:TopAbs_State
Index()
Parameters:
  • II (Standard_Integer) –
  • i1 (Standard_Integer &) –
  • i2 (Standard_Integer &) –
Return type:

None

IsToReverse1()
Return type:bool
IsToReverse2()
Return type:bool
Reset()
Return type:None
Reverse()
Return type:bool
Set()
Parameters:
  • II (bool) –
  • IN (bool) –
  • IO (bool) –
  • NI (bool) –
  • NN (bool) –
  • NO (bool) –
  • OI (bool) –
  • ON (bool) –
  • OO (bool) –
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 (Standard_Integer) –
  • I2 (Standard_Integer) –
  • II (Standard_Integer) –
Return type:

bool

Return type:

bool

Return type:

bool

thisown

The membership flag

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

void

class OCC.TopOpeBRepBuild.TopOpeBRepBuild_HBuilder(*args)

Bases: OCC.MMgt.MMgt_TShared

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 (Standard_Integer) –
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 (Standard_Integer &) –
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 (Standard_Integer) –
Return type:

int

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

int

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

TColStd_ListOfInteger

GetDSPointFromNewVertex()
Parameters:NewVert (TopoDS_Shape &) –
Return type:int
GetHandle()

TopOpeBRepBuild_HBuilder_GetHandle(TopOpeBRepBuild_HBuilder self) -> Handle_TopOpeBRepBuild_HBuilder

InitExtendedSectionDS()
Parameters:
  • k (Standard_Integer) – default value is 3
  • k – default value is 3
Return type:

None

Return type:

None

InitSection()
Parameters:
  • k (Standard_Integer) – default value is 3
  • k – default value is 3
Return type:

None

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 (Standard_Integer) –
Return type:TopTools_ListOfShape
NewFaces()
  • Returns the faces created on surface <I>.
Parameters:I (Standard_Integer) –
Return type:TopTools_ListOfShape
NewVertex()
  • Returns the vertex created on point <I>.
Parameters:I (Standard_Integer) –
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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_IndexedDataMapNodeOfIndexedDataMapOfShapeVertexInfo(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

TopOpeBRepBuild_IndexedDataMapNodeOfIndexedDataMapOfShapeVertexInfo_GetHandle(TopOpeBRepBuild_IndexedDataMapNodeOfIndexedDataMapOfShapeVertexInfo self) -> Handle_TopOpeBRepBuild_IndexedDataMapNodeOfIndexedDataMapOfShapeVertexInfo

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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_IndexedDataMapOfShapeVertexInfo(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Add()
Parameters:
  • K (TopoDS_Shape &) –
  • I (TopOpeBRepBuild_VertexInfo &) –
Return type:

int

Assign()
Parameters:Other (TopOpeBRepBuild_IndexedDataMapOfShapeVertexInfo &) –
Return type:TopOpeBRepBuild_IndexedDataMapOfShapeVertexInfo
ChangeFromIndex()
Parameters:I (Standard_Integer) –
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 (Standard_Integer) –
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 (Standard_Integer) –
Return type:TopoDS_Shape
ReSize()
Parameters:NbBuckets (Standard_Integer) –
Return type:None
RemoveLast()
Return type:None
Set()
Parameters:Other (TopOpeBRepBuild_IndexedDataMapOfShapeVertexInfo &) –
Return type:TopOpeBRepBuild_IndexedDataMapOfShapeVertexInfo
Substitute()
Parameters:
  • I (Standard_Integer) –
  • K (TopoDS_Shape &) –
  • T (TopOpeBRepBuild_VertexInfo &) –
Return type:

None

thisown

The membership flag

class OCC.TopOpeBRepBuild.TopOpeBRepBuild_ListIteratorOfListOfListOfLoop(*args)

Bases: object

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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_ListIteratorOfListOfLoop(*args)

Bases: object

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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_ListIteratorOfListOfPave(*args)

Bases: object

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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_ListIteratorOfListOfShapeListOfShape(*args)

Bases: object

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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_ListNodeOfListOfListOfLoop(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

TopOpeBRepBuild_ListNodeOfListOfListOfLoop_GetHandle(TopOpeBRepBuild_ListNodeOfListOfListOfLoop self) -> Handle_TopOpeBRepBuild_ListNodeOfListOfListOfLoop

Value()
Return type:TopOpeBRepBuild_ListOfLoop
thisown

The membership flag

class OCC.TopOpeBRepBuild.TopOpeBRepBuild_ListNodeOfListOfLoop(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

TopOpeBRepBuild_ListNodeOfListOfLoop_GetHandle(TopOpeBRepBuild_ListNodeOfListOfLoop self) -> Handle_TopOpeBRepBuild_ListNodeOfListOfLoop

Value()
Return type:Handle_TopOpeBRepBuild_Loop
thisown

The membership flag

class OCC.TopOpeBRepBuild.TopOpeBRepBuild_ListNodeOfListOfPave(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

TopOpeBRepBuild_ListNodeOfListOfPave_GetHandle(TopOpeBRepBuild_ListNodeOfListOfPave self) -> Handle_TopOpeBRepBuild_ListNodeOfListOfPave

Value()
Return type:Handle_TopOpeBRepBuild_Pave
thisown

The membership flag

class OCC.TopOpeBRepBuild.TopOpeBRepBuild_ListNodeOfListOfShapeListOfShape(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

TopOpeBRepBuild_ListNodeOfListOfShapeListOfShape_GetHandle(TopOpeBRepBuild_ListNodeOfListOfShapeListOfShape self) -> Handle_TopOpeBRepBuild_ListNodeOfListOfShapeListOfShape

Value()
Return type:TopOpeBRepBuild_ShapeListOfShape
thisown

The membership flag

class OCC.TopOpeBRepBuild.TopOpeBRepBuild_ListOfListOfLoop

Bases: object

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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_ListOfLoop

Bases: object

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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_ListOfPave

Bases: object

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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_ListOfShapeListOfShape

Bases: object

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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_Loop(*args)

Bases: OCC.MMgt.MMgt_TShared

BlockIterator()
Return type:TopOpeBRepBuild_BlockIterator
Dump()
Return type:void
GetHandle()

TopOpeBRepBuild_Loop_GetHandle(TopOpeBRepBuild_Loop self) -> Handle_TopOpeBRepBuild_Loop

IsShape()
Return type:bool
Shape()
Return type:TopoDS_Shape
thisown

The membership flag

class OCC.TopOpeBRepBuild.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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_LoopSet

Bases: object

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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_Pave(*args)

Bases: OCC.TopOpeBRepBuild.TopOpeBRepBuild_Loop

ChangeVertex()
Return type:TopoDS_Shape
GetHandle()

TopOpeBRepBuild_Pave_GetHandle(TopOpeBRepBuild_Pave self) -> Handle_TopOpeBRepBuild_Pave

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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_PaveClassifier(*args)

Bases: OCC.TopOpeBRepBuild.TopOpeBRepBuild_LoopClassifier

static AdjustCase(*args)
Parameters:
  • p1 (float) –
  • o (TopAbs_Orientation) –
  • first (float) –
  • period (float) –
  • tol (float) –
  • cas (Standard_Integer &) –
Return type:

float

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

The membership flag

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

float

class OCC.TopOpeBRepBuild.TopOpeBRepBuild_PaveSet(*args)

Bases: OCC.TopOpeBRepBuild.TopOpeBRepBuild_LoopSet

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
RemovePV()
Parameters:B (bool) –
Return type:None
static SortPave(*args)
Parameters:
  • Lin (TopOpeBRepBuild_ListOfPave &) –
  • Lout (TopOpeBRepBuild_ListOfPave &) –
Return type:

void

thisown

The membership flag

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

void

class OCC.TopOpeBRepBuild.TopOpeBRepBuild_ShapeListOfShape(*args)

Bases: object

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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_ShapeSet(*args)

Bases: object

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
  • S
  • checkgeom – default value is Standard_False
Return type:

None

Return type:

bool

Return type:

bool

Return type:

bool

DEBName()
Parameters:N (TCollection_AsciiString &) –
Return type:None
Return type:TCollection_AsciiString
DEBNumber()
Parameters:I (Standard_Integer) –
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
  • S
  • sb – default value is
  • sa – default value is
  • S
  • sb – default value is
  • sa – default value is
  • S
  • sb – default value is
  • sa – default value is
  • S
  • sb – default value is
  • sa – default value is
Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

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
  • S
  • sb – default value is
  • sa – default value is
  • S
  • sb – default value is
  • sa – default value is
  • S
  • sb – default value is
  • sa – default value is
  • S
  • sb – default value is
  • sa – default value is
Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_ShellFaceClassifier(*args)

Bases: OCC.TopOpeBRepBuild.TopOpeBRepBuild_CompositeClassifier

Clear()
Return type:None
thisown

The membership flag

class OCC.TopOpeBRepBuild.TopOpeBRepBuild_ShellFaceSet(*args)

Bases: OCC.TopOpeBRepBuild.TopOpeBRepBuild_ShapeSet

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
  • S
  • sb – default value is
  • sa – default value is
  • S
  • sb – default value is
  • sa – default value is
  • S
  • sb – default value is
  • sa – default value is
  • S
  • sb – default value is
  • sa – default value is
Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

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
  • S
  • sb – default value is
  • sa – default value is
  • S
  • sb – default value is
  • sa – default value is
  • S
  • sb – default value is
  • sa – default value is
  • S
  • sb – default value is
  • sa – default value is
Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

Solid()
Return type:TopoDS_Solid
thisown

The membership flag

class OCC.TopOpeBRepBuild.TopOpeBRepBuild_ShellToSolid

Bases: object

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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_SolidAreaBuilder(*args)

Bases: OCC.TopOpeBRepBuild.TopOpeBRepBuild_Area3dBuilder

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

None

Return type:

None

thisown

The membership flag

class OCC.TopOpeBRepBuild.TopOpeBRepBuild_SolidBuilder(*args)

Bases: object

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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_Tools(*args, **kwargs)

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
  • aS
  • aTolMax – default value is 0.0001
Return type:

void

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
  • aS
  • aTolMax – default value is 0.0001
Return type:

void

Return type:

void

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

void

Return type:

void

static DumpMapOfShapeWithState(*args)
Parameters:
  • iP (Standard_Integer) –
  • 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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_Tools2d(*args, **kwargs)

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

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

void

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

void

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

void

Return type:

void

OCC.TopOpeBRepBuild.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

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

void

Return type:

void

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

void

Return type:

void

OCC.TopOpeBRepBuild.TopOpeBRepBuild_Tools_DumpMapOfShapeWithState(*args)
Parameters:
  • iP (Standard_Integer) –
  • aMapOfShapeWithState (TopOpeBRepDS_IndexedDataMapOfShapeWithState &) –
Return type:

void

OCC.TopOpeBRepBuild.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

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

void

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

void

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

TopAbs_State

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

bool

OCC.TopOpeBRepBuild.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

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

void

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

bool

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

bool

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

bool

OCC.TopOpeBRepBuild.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

OCC.TopOpeBRepBuild.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

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

void

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

void

OCC.TopOpeBRepBuild.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

OCC.TopOpeBRepBuild.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

OCC.TopOpeBRepBuild.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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_VertexInfo

Bases: object

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 OCC.TopOpeBRepBuild.TopOpeBRepBuild_WireEdgeClassifier(*args)

Bases: OCC.TopOpeBRepBuild.TopOpeBRepBuild_CompositeClassifier

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

The membership flag

class OCC.TopOpeBRepBuild.TopOpeBRepBuild_WireEdgeSet(*args)

Bases: OCC.TopOpeBRepBuild.TopOpeBRepBuild_ShapeSet

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
  • S
  • sb – default value is
  • sa – default value is
  • S
  • sb – default value is
  • sa – default value is
  • S
  • sb – default value is
  • sa – default value is
  • S
  • sb – default value is
  • sa – default value is
Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

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
  • S
  • sb – default value is
  • sa – default value is
  • S
  • sb – default value is
  • sa – default value is
  • S
  • sb – default value is
  • sa – default value is
  • S
  • sb – default value is
  • sa – default value is
Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

Return type:

TCollection_AsciiString

thisown

The membership flag

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

void

class OCC.TopOpeBRepBuild.TopOpeBRepBuild_WireToFace

Bases: object

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