OCC.Core.TopOpeBRepBuild module

TopOpeBRepBuild module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_topopebrepbuild.html

class SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()
class TopOpeBRepBuild_Area1dBuilder(*args)

Bases: OCC.Core.TopOpeBRepBuild.TopOpeBRepBuild_AreaBuilder

Return type

None* Creates a Area1dBuilder to find the areas of the shapes described by <LS> using the classifier <LC>. :param LS: :type LS: TopOpeBRepBuild_PaveSet :param LC: :type LC: TopOpeBRepBuild_PaveClassifier :param ForceClass: default value is Standard_False :type ForceClass: bool :rtype: None

static DumpList()
Parameters

L

type L

TopOpeBRepBuild_ListOfLoop

rtype

void

property thisown

The membership flag

class TopOpeBRepBuild_Area2dBuilder(*args)

Bases: OCC.Core.TopOpeBRepBuild.TopOpeBRepBuild_AreaBuilder

Return type

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

property thisown

The membership flag

class TopOpeBRepBuild_Area3dBuilder(*args)

Bases: OCC.Core.TopOpeBRepBuild.TopOpeBRepBuild_AreaBuilder

Return type

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

property 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>. :param LS: :type LS: TopOpeBRepBuild_LoopSet :param LC: :type LC: TopOpeBRepBuild_LoopClassifier :param ForceClass: default value is Standard_False :type ForceClass: bool :rtype: None

ADD_LISTOFLoop_TO_LISTOFLoop()
Parameters

LOL1

type LOL1

TopOpeBRepBuild_ListOfLoop

param LOL2

type LOL2

TopOpeBRepBuild_ListOfLoop

param s

default value is NULL

type s

Standard_Address

param s1

default value is NULL

type s1

Standard_Address

param s2

default value is NULL

type s2

Standard_Address

rtype

void

ADD_Loop_TO_LISTOFLoop()
Parameters

L

type L

TopOpeBRepBuild_Loop

param LOL

type LOL

TopOpeBRepBuild_ListOfLoop

param s

default value is NULL

type s

Standard_Address

rtype

void

InitArea()
  • Initialize iteration on areas.
    rtype

    int

InitAreaBuilder()
  • Sets a AreaBuilder to find the areas on the shapes described by <LS> using the classifier <LC>.
    param LS

    type LS

    TopOpeBRepBuild_LoopSet

    param LC

    type LC

    TopOpeBRepBuild_LoopClassifier

    param ForceClass

    default value is Standard_False

    type ForceClass

    bool

    rtype

    void

InitLoop()
  • Initialize iteration on loops of current Area.
    rtype

    int

Loop()
  • Returns the current Loop in the current area.
    rtype

    opencascade::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

type ITLOL

TopOpeBRepBuild_ListIteratorOfListOfLoop

param LOL

type LOL

TopOpeBRepBuild_ListOfLoop

param s

default value is NULL

type s

Standard_Address

rtype

void

property thisown

The membership flag

class TopOpeBRepBuild_BlockBuilder(*args)

Bases: object

Return type

None:param SS: :type SS: TopOpeBRepBuild_ShapeSet :rtype: None

AddElement()
Parameters

S

type S

TopoDS_Shape

rtype

int

BlockIterator()
Return type

TopOpeBRepBuild_BlockIterator

CurrentBlockIsRegular()
Return type

bool

Element()
  • Returns the current element of <BI>.
    param BI

    type BI

    TopOpeBRepBuild_BlockIterator

    rtype

    TopoDS_Shape:param I:

    type I

    int

    rtype

    TopoDS_Shape:param S:

    type S

    TopoDS_Shape

    rtype

    int

ElementIsValid()
Parameters

BI

type BI

TopOpeBRepBuild_BlockIterator

rtype

bool:param I:

type I

int

rtype

bool

InitBlock()
Return type

None

MakeBlock()
Parameters

SS

type SS

TopOpeBRepBuild_ShapeSet

rtype

None

MoreBlock()
Return type

bool

NextBlock()
Return type

None

SetValid()
Parameters

BI

type BI

TopOpeBRepBuild_BlockIterator

param isvalid

type isvalid

bool

rtype

None:param I:

type I

int

param isvalid

type isvalid

bool

rtype

None

property thisown

The membership flag

class TopOpeBRepBuild_BlockIterator(*args)

Bases: object

Return type

None:param Lower: :type Lower: int :param Upper: :type Upper: int :rtype: None

Extent()
Return type

int

Initialize()
Return type

None

More()
Return type

bool

Next()
Return type

None

Value()
Return type

int

property thisown

The membership flag

class TopOpeBRepBuild_Builder(*args)

Bases: object

Parameters

BT

type BT

TopOpeBRepDS_BuildTool

rtype

None

AddONPatchesSFS()
Parameters

G

type G

TopOpeBRepBuild_GTopo

param SFS

type SFS

TopOpeBRepBuild_ShellFaceSet

rtype

None

BuildEdges()
  • update the DS by creating new geometries. create shapes from the new geometries.
    param DS

    type DS

    TopOpeBRepDS_HDataStructure

    rtype

    None

BuildTool()
Return type

TopOpeBRepDS_BuildTool

BuildVertices()
  • update the DS by creating new geometries. create vertices on DS points.
    param DS

    type DS

    TopOpeBRepDS_HDataStructure

    rtype

    None

ChangeBuildTool()
Return type

TopOpeBRepDS_BuildTool

ChangeClassify()
Parameters

B

type B

bool

rtype

None

ChangeMSplit()
Parameters

s

type s

TopAbs_State

rtype

TopOpeBRepDS_DataMapOfShapeListOfShapeOn1State

ChangeSplit()
  • Returns a ref.on the list of shapes connected to <S> as <TB> split parts of <S>. Mark <S> as split in <TB> parts.
    param S

    type S

    TopoDS_Shape

    param TB

    type TB

    TopAbs_State

    rtype

    TopTools_ListOfShape

Classify()
Return type

bool

Clear()
  • Removes all splits and merges already performed. Does NOT clear the handled DS.
    rtype

    void

ClearMaps()
Return type

None

static Contains()
Parameters

S

type S

TopoDS_Shape

param L

type L

TopTools_ListOfShape

rtype

bool

DataStructure()
  • returns the DS handled by this builder
    rtype

    opencascade::handle<TopOpeBRepDS_HDataStructure>

End()
Return type

None

FillOnPatches()
Parameters

anEdgesON

type anEdgesON

TopTools_ListOfShape

param aBaseFace

type aBaseFace

TopoDS_Shape

param avoidMap

type avoidMap

TopTools_IndexedMapOfOrientedShape

rtype

None

FillSecEdgeAncestorMap()
  • Fills anAncMap with pairs (edge,ancestor edge) for each split from the map aMapON for the shape object identified by ShapeRank
    param aShapeRank

    type aShapeRank

    int

    param aMapON

    type aMapON

    TopTools_MapOfShape

    param anAncMap

    type anAncMap

    TopTools_DataMapOfShapeShape

    rtype

    None

FindFacesTouchingEdge()
Parameters

aFace

type aFace

TopoDS_Shape

param anEdge

type anEdge

TopoDS_Shape

param aShRank

type aShRank

int

param aFaces

type aFaces

TopTools_ListOfShape

rtype

None

FindIsKPart()
Return type

int

FindSameDomain()
Parameters

L1

type L1

TopTools_ListOfShape

param L2

type L2

TopTools_ListOfShape

rtype

None

FindSameDomainSameOrientation()
Parameters

LSO

type LSO

TopTools_ListOfShape

param LDO

type LDO

TopTools_ListOfShape

rtype

None

FindSameRank()
Parameters

L1

type L1

TopTools_ListOfShape

param R

type R

int

param L2

type L2

TopTools_ListOfShape

rtype

None

GClearMaps()
Return type

None

static GContains()
Parameters

S

type S

TopoDS_Shape

param L

type L

TopTools_ListOfShape

rtype

bool

static GCopyList()
Parameters

Lin

type Lin

TopTools_ListOfShape

param i1

type i1

int

param i2

type i2

int

param Lou

type Lou

TopTools_ListOfShape

rtype

void:param Lin:

type Lin

TopTools_ListOfShape

param Lou

type Lou

TopTools_ListOfShape

rtype

void

GEDBUMakeEdges()
Parameters

EF

type EF

TopoDS_Shape

param EDBU

type EDBU

TopOpeBRepBuild_EdgeBuilder

param LOE

type LOE

TopTools_ListOfShape

rtype

None

GFABUMakeFaces()
Parameters

FF

type FF

TopoDS_Shape

param FABU

type FABU

TopOpeBRepBuild_FaceBuilder

param LOF

type LOF

TopTools_ListOfShape

param MWisOld

type MWisOld

TopTools_DataMapOfShapeInteger

rtype

None

GFillCurveTopologyWES()
Parameters

F

type F

TopoDS_Shape

param G

type G

TopOpeBRepBuild_GTopo

param WES

type WES

TopOpeBRepBuild_WireEdgeSet

rtype

None:param IT:

type IT

TopOpeBRepDS_CurveIterator

param G

type G

TopOpeBRepBuild_GTopo

param WES

type WES

TopOpeBRepBuild_WireEdgeSet

rtype

None

GFillEdgePVS()
Parameters

E

type E

TopoDS_Shape

param LE2

type LE2

TopTools_ListOfShape

param G

type G

TopOpeBRepBuild_GTopo

param PVS

type PVS

TopOpeBRepBuild_PaveSet

rtype

None

GFillEdgeWES()
Parameters

E

type E

TopoDS_Shape

param LF2

type LF2

TopTools_ListOfShape

param G

type G

TopOpeBRepBuild_GTopo

param WES

type WES

TopOpeBRepBuild_WireEdgeSet

rtype

None

GFillEdgesPVS()
Parameters

LE1

type LE1

TopTools_ListOfShape

param LE2

type LE2

TopTools_ListOfShape

param G

type G

TopOpeBRepBuild_GTopo

param PVS

type PVS

TopOpeBRepBuild_PaveSet

rtype

None

GFillFaceSFS()
Parameters

F1

type F1

TopoDS_Shape

param LSO2

type LSO2

TopTools_ListOfShape

param G

type G

TopOpeBRepBuild_GTopo

param SFS

type SFS

TopOpeBRepBuild_ShellFaceSet

rtype

None

GFillFaceWES()
Parameters

F

type F

TopoDS_Shape

param LF2

type LF2

TopTools_ListOfShape

param G

type G

TopOpeBRepBuild_GTopo

param WES

type WES

TopOpeBRepBuild_WireEdgeSet

rtype

None

GFillFacesWES()
Parameters

LF1

type LF1

TopTools_ListOfShape

param LF2

type LF2

TopTools_ListOfShape

param G

type G

TopOpeBRepBuild_GTopo

param WES

type WES

TopOpeBRepBuild_WireEdgeSet

rtype

None

GFillFacesWESK()
Parameters

LF1

type LF1

TopTools_ListOfShape

param LF2

type LF2

TopTools_ListOfShape

param G

type G

TopOpeBRepBuild_GTopo

param WES

type WES

TopOpeBRepBuild_WireEdgeSet

param K

type K

int

rtype

None

GFillFacesWESMakeFaces()
Parameters

LF1

type LF1

TopTools_ListOfShape

param LF2

type LF2

TopTools_ListOfShape

param LSO

type LSO

TopTools_ListOfShape

param G

type G

TopOpeBRepBuild_GTopo

rtype

None

GFillONPartsWES()
Parameters

F

type F

TopoDS_Shape

param G

type G

TopOpeBRepBuild_GTopo

param LSclass

type LSclass

TopTools_ListOfShape

param WES

type WES

TopOpeBRepBuild_WireEdgeSet

rtype

None

GFillPointTopologyPVS()
Parameters

E

type E

TopoDS_Shape

param G

type G

TopOpeBRepBuild_GTopo

param PVS

type PVS

TopOpeBRepBuild_PaveSet

rtype

None:param E:

type E

TopoDS_Shape

param IT

type IT

TopOpeBRepDS_PointIterator

param G

type G

TopOpeBRepBuild_GTopo

param PVS

type PVS

TopOpeBRepBuild_PaveSet

rtype

None

GFillShellSFS()
Parameters

SH1

type SH1

TopoDS_Shape

param LSO2

type LSO2

TopTools_ListOfShape

param G

type G

TopOpeBRepBuild_GTopo

param SFS

type SFS

TopOpeBRepBuild_ShellFaceSet

rtype

void

GFillSolidSFS()
Parameters

SO1

type SO1

TopoDS_Shape

param LSO2

type LSO2

TopTools_ListOfShape

param G

type G

TopOpeBRepBuild_GTopo

param SFS

type SFS

TopOpeBRepBuild_ShellFaceSet

rtype

void

GFillSolidsSFS()
Parameters

LSO1

type LSO1

TopTools_ListOfShape

param LSO2

type LSO2

TopTools_ListOfShape

param G

type G

TopOpeBRepBuild_GTopo

param SFS

type SFS

TopOpeBRepBuild_ShellFaceSet

rtype

None

GFillSurfaceTopologySFS()
Parameters

SO1

type SO1

TopoDS_Shape

param G

type G

TopOpeBRepBuild_GTopo

param SFS

type SFS

TopOpeBRepBuild_ShellFaceSet

rtype

None:param IT:

type IT

TopOpeBRepDS_SurfaceIterator

param G

type G

TopOpeBRepBuild_GTopo

param SFS

type SFS

TopOpeBRepBuild_ShellFaceSet

rtype

None

GFillWireWES()
Parameters

W

type W

TopoDS_Shape

param LF2

type LF2

TopTools_ListOfShape

param G

type G

TopOpeBRepBuild_GTopo

param WES

type WES

TopOpeBRepBuild_WireEdgeSet

rtype

None

GFindSamDom()
Parameters

S

type S

TopoDS_Shape

param L1

type L1

TopTools_ListOfShape

param L2

type L2

TopTools_ListOfShape

rtype

None:param L1:

type L1

TopTools_ListOfShape

param L2

type L2

TopTools_ListOfShape

rtype

None

GFindSamDomSODO()
Parameters

S

type S

TopoDS_Shape

param LSO

type LSO

TopTools_ListOfShape

param LDO

type LDO

TopTools_ListOfShape

rtype

None:param LSO:

type LSO

TopTools_ListOfShape

param LDO

type LDO

TopTools_ListOfShape

rtype

None

GFindSameRank()
Parameters

L1

type L1

TopTools_ListOfShape

param R

type R

int

param L2

type L2

TopTools_ListOfShape

rtype

None

GIsShapeOf()
Parameters

S

type S

TopoDS_Shape

param I12

type I12

int

rtype

bool

GKeepShape()
Parameters

S

type S

TopoDS_Shape

param Lref

type Lref

TopTools_ListOfShape

param T

type T

TopAbs_State

rtype

bool

GKeepShape1()
  • return True if S is classified <T> / Lref shapes
    param S

    type S

    TopoDS_Shape

    param Lref

    type Lref

    TopTools_ListOfShape

    param T

    type T

    TopAbs_State

    param pos

    type pos

    TopAbs_State

    rtype

    bool

GKeepShapes()
  • add to Lou the shapes of Lin classified <T> / Lref shapes. Lou is not cleared. (S is a dummy trace argument)
    param S

    type S

    TopoDS_Shape

    param Lref

    type Lref

    TopTools_ListOfShape

    param T

    type T

    TopAbs_State

    param Lin

    type Lin

    TopTools_ListOfShape

    param Lou

    type Lou

    TopTools_ListOfShape

    rtype

    None

GMapShapes()
Parameters

S1

type S1

TopoDS_Shape

param S2

type S2

TopoDS_Shape

rtype

None

GMergeEdgeWES()
Parameters

E

type E

TopoDS_Shape

param G

type G

TopOpeBRepBuild_GTopo

param WES

type WES

TopOpeBRepBuild_WireEdgeSet

rtype

None

GMergeEdges()
Parameters

LE1

type LE1

TopTools_ListOfShape

param LE2

type LE2

TopTools_ListOfShape

param G

type G

TopOpeBRepBuild_GTopo

rtype

None

GMergeFaceSFS()
Parameters

F

type F

TopoDS_Shape

param G

type G

TopOpeBRepBuild_GTopo

param SFS

type SFS

TopOpeBRepBuild_ShellFaceSet

rtype

None

GMergeFaces()
Parameters

LF1

type LF1

TopTools_ListOfShape

param LF2

type LF2

TopTools_ListOfShape

param G

type G

TopOpeBRepBuild_GTopo

rtype

None

GMergeSolids()
Parameters

LSO1

type LSO1

TopTools_ListOfShape

param LSO2

type LSO2

TopTools_ListOfShape

param G

type G

TopOpeBRepBuild_GTopo

rtype

None

GPVSMakeEdges()
Parameters

EF

type EF

TopoDS_Shape

param PVS

type PVS

TopOpeBRepBuild_PaveSet

param LOE

type LOE

TopTools_ListOfShape

rtype

None

GParamOnReference()
Parameters

V

type V

TopoDS_Vertex

param E

type E

TopoDS_Edge

param P

type P

float

rtype

bool

GSFSMakeSolids()
Parameters

SOF

type SOF

TopoDS_Shape

param SFS

type SFS

TopOpeBRepBuild_ShellFaceSet

param LOSO

type LOSO

TopTools_ListOfShape

rtype

None

GSOBUMakeSolids()
Parameters

SOF

type SOF

TopoDS_Shape

param SOBU

type SOBU

TopOpeBRepBuild_SolidBuilder

param LOSO

type LOSO

TopTools_ListOfShape

rtype

None

GShapeRank()
Parameters

S

type S

TopoDS_Shape

rtype

int

GSplitEdge()
Parameters

E

type E

TopoDS_Shape

param G

type G

TopOpeBRepBuild_GTopo

param LSclass

type LSclass

TopTools_ListOfShape

rtype

None

GSplitEdgeWES()
Parameters

E

type E

TopoDS_Shape

param LF2

type LF2

TopTools_ListOfShape

param G

type G

TopOpeBRepBuild_GTopo

param WES

type WES

TopOpeBRepBuild_WireEdgeSet

rtype

None

GSplitFace()
Parameters

F

type F

TopoDS_Shape

param G

type G

TopOpeBRepBuild_GTopo

param LSclass

type LSclass

TopTools_ListOfShape

rtype

None

GSplitFaceSFS()
Parameters

F1

type F1

TopoDS_Shape

param LSclass

type LSclass

TopTools_ListOfShape

param G

type G

TopOpeBRepBuild_GTopo

param SFS

type SFS

TopOpeBRepBuild_ShellFaceSet

rtype

None

static GTakeCommonOfDiff()
Parameters

G

type G

TopOpeBRepBuild_GTopo

rtype

bool

static GTakeCommonOfSame()
Parameters

G

type G

TopOpeBRepBuild_GTopo

rtype

bool

GToMerge()
Parameters

S

type S

TopoDS_Shape

rtype

bool

GToSplit()
Parameters

S

type S

TopoDS_Shape

param TB

type TB

TopAbs_State

rtype

bool

GWESMakeFaces()
Parameters

FF

type FF

TopoDS_Shape

param WES

type WES

TopOpeBRepBuild_WireEdgeSet

param LOF

type LOF

TopTools_ListOfShape

rtype

void

static GcheckNBOUNDS()
Parameters

E

type E

TopoDS_Shape

rtype

bool

GdumpEDBU()
Parameters

EB

type EB

TopOpeBRepBuild_EdgeBuilder

rtype

None

GdumpEDG()
Parameters

S

type S

TopoDS_Shape

param str

default value is NULL

type str

Standard_Address

rtype

None

GdumpEDGVER()
Parameters

E

type E

TopoDS_Shape

param V

type V

TopoDS_Shape

param str

default value is NULL

type str

Standard_Address

rtype

None

GdumpEXP()
Parameters

E

type E

TopOpeBRepTool_ShapeExplorer

rtype

None

GdumpFABU()
Parameters

FB

type FB

TopOpeBRepBuild_FaceBuilder

rtype

None

GdumpLS()
Parameters

L

type L

TopTools_ListOfShape

rtype

None

static GdumpORIPARPNT()
Parameters

o

type o

TopAbs_Orientation

param p

type p

float

param Pnt

type Pnt

gp_Pnt

rtype

void

static GdumpPNT()
Parameters

P

type P

gp_Pnt

rtype

void

GdumpSAMDOM()
Parameters

L

type L

TopTools_ListOfShape

param str

default value is NULL

type str

Standard_Address

rtype

None

GdumpSHA()
Parameters

S

type S

TopoDS_Shape

param str

default value is NULL

type str

Standard_Address

rtype

None

GdumpSHAORI()
Parameters

S

type S

TopoDS_Shape

param str

default value is NULL

type str

Standard_Address

rtype

None

GdumpSHAORIGEO()
Parameters

S

type S

TopoDS_Shape

param str

default value is NULL

type str

Standard_Address

rtype

None

GdumpSHASETindex()
Return type

int

GdumpSHASETreset()
Return type

None

GdumpSHASTA()
Parameters

iS

type iS

int

param T

type T

TopAbs_State

param a

default value is

type a

TCollection_AsciiString

param b

default value is

type b

TCollection_AsciiString

rtype

None:param S:

type S

TopoDS_Shape

param T

type T

TopAbs_State

param a

default value is

type a

TCollection_AsciiString

param b

default value is

type b

TCollection_AsciiString

rtype

None:param iS:

type iS

int

param T

type T

TopAbs_State

param SS

type SS

TopOpeBRepBuild_ShapeSet

param a

default value is

type a

TCollection_AsciiString

param b

default value is

type b

TCollection_AsciiString

param c

default value is ‘

type c

TCollection_AsciiString

rtype

None

GdumpSOBU()
Parameters

SB

type SB

TopOpeBRepBuild_SolidBuilder

rtype

None

GtraceSPS()
Parameters

iS

type iS

int

rtype

bool:param iS:

type iS

int

param jS

type jS

int

rtype

bool:param S:

type S

TopoDS_Shape

rtype

bool:param S:

type S

TopoDS_Shape

param IS

type IS

int

rtype

bool

InitSection()
Return type

None

IsKPart()
Return type

int

IsMerged()
  • Returns True if the shape <S> has been merged.
    param S

    type S

    TopoDS_Shape

    param TB

    type TB

    TopAbs_State

    rtype

    bool

IsShapeOf()
Parameters

S

type S

TopoDS_Shape

param I12

type I12

int

rtype

bool

IsSplit()
  • Returns True if the shape <S> has been split.
    param S

    type S

    TopoDS_Shape

    param TB

    type TB

    TopAbs_State

    rtype

    bool

KPClearMaps()
Return type

None

static KPContains()
Parameters

S

type S

TopoDS_Shape

param L

type L

TopTools_ListOfShape

rtype

bool

KPSameDomain()
Parameters

L1

type L1

TopTools_ListOfShape

param L2

type L2

TopTools_ListOfShape

rtype

None

KPclasSS()
Parameters

S1

type S1

TopoDS_Shape

param exceptLS1

type exceptLS1

TopTools_ListOfShape

param S2

type S2

TopoDS_Shape

rtype

TopAbs_State:param S1:

type S1

TopoDS_Shape

param exceptS1

type exceptS1

TopoDS_Shape

param S2

type S2

TopoDS_Shape

rtype

TopAbs_State:param S1:

type S1

TopoDS_Shape

param S2

type S2

TopoDS_Shape

rtype

TopAbs_State

KPclassF()
Parameters

F1

type F1

TopoDS_Shape

param F2

type F2

TopoDS_Shape

rtype

TopAbs_State

KPclassFF()
Parameters

F1

type F1

TopoDS_Shape

param F2

type F2

TopoDS_Shape

param T1

type T1

TopAbs_State

param T2

type T2

TopAbs_State

rtype

None

KPisdisj()
Return type

int

KPisdisjanalyse()
Parameters

ST1

type ST1

TopAbs_State

param ST2

type ST2

TopAbs_State

param I

type I

int

param IC1

type IC1

int

param IC2

type IC2

int

rtype

None

KPisdisjsh()
Parameters

S

type S

TopoDS_Shape

rtype

int

KPisfafa()
Return type

int

KPisfafash()
Parameters

S

type S

TopoDS_Shape

rtype

int

KPiskole()
Return type

int

KPiskoleFF()
Parameters

F1

type F1

TopoDS_Shape

param F2

type F2

TopoDS_Shape

param T1

type T1

TopAbs_State

param T2

type T2

TopAbs_State

rtype

bool

KPiskoleanalyse()
Parameters

FT1

type FT1

TopAbs_State

param FT2

type FT2

TopAbs_State

param ST1

type ST1

TopAbs_State

param ST2

type ST2

TopAbs_State

param I

type I

int

param I1

type I1

int

param I2

type I2

int

rtype

None

KPiskolesh()
Parameters

S

type S

TopoDS_Shape

param LS

type LS

TopTools_ListOfShape

param LF

type LF

TopTools_ListOfShape

rtype

bool

KPiskoletge()
Return type

int

KPiskoletgeanalyse()
Parameters

Conf

type Conf

TopOpeBRepDS_Config

param ST1

type ST1

TopAbs_State

param ST2

type ST2

TopAbs_State

param I

type I

int

rtype

None

KPiskoletgesh()
Parameters

S

type S

TopoDS_Shape

param LS

type LS

TopTools_ListOfShape

param LF

type LF

TopTools_ListOfShape

rtype

bool

KPissoso()
Return type

int

KPissososh()
Parameters

S

type S

TopoDS_Shape

rtype

int

KPlhg()
Parameters

S

type S

TopoDS_Shape

param T

type T

TopAbs_ShapeEnum

param L

type L

TopTools_ListOfShape

rtype

int:param S:

type S

TopoDS_Shape

param T

type T

TopAbs_ShapeEnum

rtype

int

KPlhsd()
Parameters

S

type S

TopoDS_Shape

param T

type T

TopAbs_ShapeEnum

param L

type L

TopTools_ListOfShape

rtype

int:param S:

type S

TopoDS_Shape

param T

type T

TopAbs_ShapeEnum

rtype

int

static KPls()
Parameters

S

type S

TopoDS_Shape

param T

type T

TopAbs_ShapeEnum

param L

type L

TopTools_ListOfShape

rtype

int:param S:

type S

TopoDS_Shape

param T

type T

TopAbs_ShapeEnum

rtype

int

KPmakeface()
Parameters

F1

type F1

TopoDS_Shape

param LF2

type LF2

TopTools_ListOfShape

param T1

type T1

TopAbs_State

param T2

type T2

TopAbs_State

param R1

type R1

bool

param R2

type R2

bool

rtype

TopoDS_Shape

static KPreturn()
Parameters

KP

type KP

int

rtype

int

KeepShape()
Parameters

S

type S

TopoDS_Shape

param LS

type LS

TopTools_ListOfShape

param T

type T

TopAbs_State

rtype

bool

MSplit()
Parameters

s

type s

TopAbs_State

rtype

TopOpeBRepDS_DataMapOfShapeListOfShapeOn1State

MakeEdges()
Parameters

E

type E

TopoDS_Shape

param B

type B

TopOpeBRepBuild_EdgeBuilder

param L

type L

TopTools_ListOfShape

rtype

None

MakeFaces()
Parameters

F

type F

TopoDS_Shape

param B

type B

TopOpeBRepBuild_FaceBuilder

param L

type L

TopTools_ListOfShape

rtype

None

MakeShells()
Parameters

B

type B

TopOpeBRepBuild_SolidBuilder

param L

type L

TopTools_ListOfShape

rtype

None

MakeSolids()
Parameters

B

type B

TopOpeBRepBuild_SolidBuilder

param L

type L

TopTools_ListOfShape

rtype

None

MapShapes()
Parameters

S1

type S1

TopoDS_Shape

param S2

type S2

TopoDS_Shape

rtype

None

MergeEdges()
  • Merges the two edges <S1> and <S2> keeping the parts in each edge of states <TB1> and <TB2>. Booleans onA, onB, onAB indicate wheter parts of edges found as state ON respectively on first, second, and both shapes must be (or not) built.
    param L1

    type L1

    TopTools_ListOfShape

    param TB1

    type TB1

    TopAbs_State

    param L2

    type L2

    TopTools_ListOfShape

    param TB2

    type TB2

    TopAbs_State

    param onA

    default value is Standard_False

    type onA

    bool

    param onB

    default value is Standard_False

    type onB

    bool

    param onAB

    default value is Standard_False

    type onAB

    bool

    rtype

    None

MergeFaces()
  • Merges the two faces <S1> and <S2> keeping the parts in each face of states <TB1> and <TB2>.
    param S1

    type S1

    TopTools_ListOfShape

    param TB1

    type TB1

    TopAbs_State

    param S2

    type S2

    TopTools_ListOfShape

    param TB2

    type TB2

    TopAbs_State

    param onA

    default value is Standard_False

    type onA

    bool

    param onB

    default value is Standard_False

    type onB

    bool

    param onAB

    default value is Standard_False

    type onAB

    bool

    rtype

    None

MergeKPart()
Return type

void:param TB1: :type TB1: TopAbs_State :param TB2: :type TB2: TopAbs_State :rtype: void

MergeKPartisdisj()
Return type

None

MergeKPartisfafa()
Return type

None

MergeKPartiskole()
Return type

None

MergeKPartiskoletge()
Return type

None

MergeKPartissoso()
Return type

None

MergeShapes()
  • Merges the two shapes <S1> and <S2> keeping the parts of states <TB1>,<TB2> in <S1>,<S2>.
    param S1

    type S1

    TopoDS_Shape

    param TB1

    type TB1

    TopAbs_State

    param S2

    type S2

    TopoDS_Shape

    param TB2

    type TB2

    TopAbs_State

    rtype

    None

MergeSolid()
  • Merges the solid <S> keeping the parts of state <TB>.
    param S

    type S

    TopoDS_Shape

    param TB

    type TB

    TopAbs_State

    rtype

    None

MergeSolids()
  • Merges the two solids <S1> and <S2> keeping the parts in each solid of states <TB1> and <TB2>.
    param S1

    type S1

    TopoDS_Shape

    param TB1

    type TB1

    TopAbs_State

    param S2

    type S2

    TopoDS_Shape

    param TB2

    type TB2

    TopAbs_State

    rtype

    None

Merged()
  • Returns the merged parts <TB> of shape <S>.
    param S

    type S

    TopoDS_Shape

    param TB

    type TB

    TopAbs_State

    rtype

    TopTools_ListOfShape

NewEdges()
  • Returns the edges created on curve <I>.
    param I

    type I

    int

    rtype

    TopTools_ListOfShape

NewFaces()
  • Returns the faces created on surface <I>.
    param I

    type I

    int

    rtype

    TopTools_ListOfShape

NewVertex()
  • Returns the vertex created on point <I>.
    param I

    type I

    int

    rtype

    TopoDS_Shape

Opec12()
Return type

bool

Opec21()
Return type

bool

Opecom()
Return type

bool

Opefus()
Return type

bool

static Orient()
Parameters

O

type O

TopAbs_Orientation

param R

type R

bool

rtype

TopAbs_Orientation

Perform()
  • Stores the data structure <HDS>, Create shapes from the new geometries.
    param HDS

    type HDS

    TopOpeBRepDS_HDataStructure

    rtype

    void* Stores the data structure <HDS>, Create shapes from the new geometries, Evaluates if an operation performed on shapes S1,S2 is a particular case.

    param HDS

    type HDS

    TopOpeBRepDS_HDataStructure

    param S1

    type S1

    TopoDS_Shape

    param S2

    type S2

    TopoDS_Shape

    rtype

    void

static PrintCur()
Parameters

E

type E

TopoDS_Edge

rtype

void

static PrintGeo()
Parameters

S

type S

TopoDS_Shape

rtype

void

static PrintOri()
Parameters

S

type S

TopoDS_Shape

rtype

void

static PrintPnt()
Parameters

V

type V

TopoDS_Vertex

rtype

void

static PrintSur()
Parameters

F

type F

TopoDS_Face

rtype

void

RegularizeFace()
Parameters

FF

type FF

TopoDS_Shape

param newFace

type newFace

TopoDS_Shape

param LOF

type LOF

TopTools_ListOfShape

rtype

None

RegularizeFaces()
Parameters

FF

type FF

TopoDS_Shape

param lnewFace

type lnewFace

TopTools_ListOfShape

param LOF

type LOF

TopTools_ListOfShape

rtype

None

RegularizeSolid()
Parameters

SS

type SS

TopoDS_Shape

param newSolid

type newSolid

TopoDS_Shape

param LOS

type LOS

TopTools_ListOfShape

rtype

None

RegularizeSolids()
Parameters

SS

type SS

TopoDS_Shape

param lnewSolid

type lnewSolid

TopTools_ListOfShape

param LOS

type LOS

TopTools_ListOfShape

rtype

None

static Reverse()
Parameters

T1

type T1

TopAbs_State

param T2

type T2

TopAbs_State

rtype

bool

Section()
  • return all section edges.
    param L

    type L

    TopTools_ListOfShape

    rtype

    None:rtype: TopTools_ListOfShape

SectionCurves()
  • return the section edges built on new curves.
    param L

    type L

    TopTools_ListOfShape

    rtype

    None

SectionEdges()
  • return the parts of edges found ON the boundary of the two arguments S1,S2 of Perform()
    param L

    type L

    TopTools_ListOfShape

    rtype

    None

ShapePosition()
Parameters

S

type S

TopoDS_Shape

param LS

type LS

TopTools_ListOfShape

rtype

TopAbs_State

ShapeRank()
Parameters

S

type S

TopoDS_Shape

rtype

int

SplitEvisoONperiodicF()
Return type

None

SplitSectionEdge()
  • create parts ON solid of section edges
    param E

    type E

    TopoDS_Shape

    rtype

    void

SplitSectionEdges()
  • create parts ON solid of section edges
    rtype

    None

Splits()
  • Returns the split parts <TB> of shape <S>.
    param S

    type S

    TopoDS_Shape

    param TB

    type TB

    TopAbs_State

    rtype

    TopTools_ListOfShape

static StringState()
Parameters

S

type S

TopAbs_State

rtype

TCollection_AsciiString

static TopType()
Parameters

S

type S

TopoDS_Shape

rtype

TopAbs_ShapeEnum

property thisown

The membership flag

class TopOpeBRepBuild_Builder1(*args)

Bases: OCC.Core.TopOpeBRepBuild.TopOpeBRepBuild_Builder

Parameters

BT

type BT

TopOpeBRepDS_BuildTool

rtype

None

CorrectResult2d()
Parameters

aResult

type aResult

TopoDS_Shape

rtype

int

GFillEdgeNotSameDomWES()
Parameters

E1

type E1

TopoDS_Shape

param LSO2

type LSO2

TopTools_ListOfShape

param G

type G

TopOpeBRepBuild_GTopo

param WES

type WES

TopOpeBRepBuild_WireEdgeSet

rtype

None

GFillEdgeSameDomWES()
Parameters

E1

type E1

TopoDS_Shape

param LSO2

type LSO2

TopTools_ListOfShape

param G

type G

TopOpeBRepBuild_GTopo

param WES

type WES

TopOpeBRepBuild_WireEdgeSet

rtype

None

GFillFaceNotSameDomSFS()
Parameters

F1

type F1

TopoDS_Shape

param LSO2

type LSO2

TopTools_ListOfShape

param G

type G

TopOpeBRepBuild_GTopo

param SFS

type SFS

TopOpeBRepBuild_ShellFaceSet

rtype

None

GFillFaceNotSameDomWES()
Parameters

F1

type F1

TopoDS_Shape

param LSO2

type LSO2

TopTools_ListOfShape

param G

type G

TopOpeBRepBuild_GTopo

param WES

type WES

TopOpeBRepBuild_WireEdgeSet

rtype

None

GFillFaceSameDomSFS()
Parameters

F1

type F1

TopoDS_Shape

param LSO2

type LSO2

TopTools_ListOfShape

param G

type G

TopOpeBRepBuild_GTopo

param SFS

type SFS

TopOpeBRepBuild_ShellFaceSet

rtype

None

GFillFaceSameDomWES()
Parameters

F1

type F1

TopoDS_Shape

param LSO2

type LSO2

TopTools_ListOfShape

param G

type G

TopOpeBRepBuild_GTopo

param WES

type WES

TopOpeBRepBuild_WireEdgeSet

rtype

None

GFillWireNotSameDomWES()
Parameters

W1

type W1

TopoDS_Shape

param LSO2

type LSO2

TopTools_ListOfShape

param G

type G

TopOpeBRepBuild_GTopo

param WES

type WES

TopOpeBRepBuild_WireEdgeSet

rtype

None

GFillWireSameDomWES()
Parameters

W1

type W1

TopoDS_Shape

param LSO2

type LSO2

TopTools_ListOfShape

param G

type G

TopOpeBRepBuild_GTopo

param WES

type WES

TopOpeBRepBuild_WireEdgeSet

rtype

None

MergeKPart()
Return type

void:param TB1: :type TB1: TopAbs_State :param TB2: :type TB2: TopAbs_State :rtype: void

Perform()
Parameters

HDS

type HDS

TopOpeBRepDS_HDataStructure

rtype

void:param HDS:

type HDS

TopOpeBRepDS_HDataStructure

param S1

type S1

TopoDS_Shape

param S2

type S2

TopoDS_Shape

rtype

void

PerformONParts()
Parameters

F

type F

TopoDS_Shape

param SDfaces

type SDfaces

TopTools_IndexedMapOfShape

param G

type G

TopOpeBRepBuild_GTopo

param WES

type WES

TopOpeBRepBuild_WireEdgeSet

rtype

None

PerformPieceIn2D()
Parameters

aPieceToPerform

type aPieceToPerform

TopoDS_Edge

param aOriginalEdge

type aOriginalEdge

TopoDS_Edge

param edgeFace

type edgeFace

TopoDS_Face

param toFace

type toFace

TopoDS_Face

param G

type G

TopOpeBRepBuild_GTopo

param keep

type keep

bool

rtype

None

PerformPieceOn2D()
Parameters

aPieceObj

type aPieceObj

TopoDS_Shape

param aFaceObj

type aFaceObj

TopoDS_Shape

param aEdgeObj

type aEdgeObj

TopoDS_Shape

param aListOfPieces

type aListOfPieces

TopTools_ListOfShape

param aListOfFaces

type aListOfFaces

TopTools_ListOfShape

param aListOfPiecesOut2d

type aListOfPiecesOut2d

TopTools_ListOfShape

rtype

int

TwoPiecesON()
Parameters

aSeq

type aSeq

TopTools_SequenceOfShape

param aListOfPieces

type aListOfPieces

TopTools_ListOfShape

param aListOfFaces

type aListOfFaces

TopTools_ListOfShape

param aListOfPiecesOut2d

type aListOfPiecesOut2d

TopTools_ListOfShape

rtype

int

property thisown

The membership flag

class TopOpeBRepBuild_BuilderON(*args)

Bases: object

Return type

None:param PB: :type PB: TopOpeBRepBuild_PBuilder :param F: :type F: TopoDS_Shape :param PG: :type PG: TopOpeBRepBuild_PGTopo :param PLSclass: :type PLSclass: TopOpeBRepTool_Plos :param PWES: :type PWES: TopOpeBRepBuild_PWireEdgeSet :rtype: None

GFillONCheckI()
Parameters

I

type I

TopOpeBRepDS_Interference

rtype

bool

GFillONParts2dWES2()
Parameters

I

type I

TopOpeBRepDS_Interference

param EspON

type EspON

TopoDS_Shape

rtype

None

GFillONPartsWES1()
Parameters

I

type I

TopOpeBRepDS_Interference

rtype

None

GFillONPartsWES2()
Parameters

I

type I

TopOpeBRepDS_Interference

param EspON

type EspON

TopoDS_Shape

rtype

None

Perform()
Parameters

PB

type PB

TopOpeBRepBuild_PBuilder

param F

type F

TopoDS_Shape

param PG

type PG

TopOpeBRepBuild_PGTopo

param PLSclass

type PLSclass

TopOpeBRepTool_Plos

param PWES

type PWES

TopOpeBRepBuild_PWireEdgeSet

rtype

None

Perform2d()
Parameters

PB

type PB

TopOpeBRepBuild_PBuilder

param F

type F

TopoDS_Shape

param PG

type PG

TopOpeBRepBuild_PGTopo

param PLSclass

type PLSclass

TopOpeBRepTool_Plos

param PWES

type PWES

TopOpeBRepBuild_PWireEdgeSet

rtype

None

property thisown

The membership flag

class TopOpeBRepBuild_CompositeClassifier(*args, **kwargs)

Bases: OCC.Core.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.
    param E

    type E

    TopoDS_Shape

    rtype

    bool

CompareElementToShape()
  • classify element <E> with shape <B>
    param E

    type E

    TopoDS_Shape

    param B

    type B

    TopoDS_Shape

    rtype

    TopAbs_State

CompareShapes()
  • classify shape <B1> with shape <B2>
    param B1

    type B1

    TopoDS_Shape

    param B2

    type B2

    TopoDS_Shape

    rtype

    TopAbs_State

ResetElement()
  • prepare classification involving element <E>.
    param E

    type E

    TopoDS_Shape

    rtype

    void

ResetShape()
  • prepare classification involving shape <B> calls ResetElement on first element of <B>
    param B

    type B

    TopoDS_Shape

    rtype

    void

State()
  • Returns state of classification of 2D point, defined by ResetElement, with the current set of elements, defined by Compare.
    rtype

    TopAbs_State

property thisown

The membership flag

class TopOpeBRepBuild_CorrectFace2d(*args)

Bases: object

Return type

None:param aFace: :type aFace: TopoDS_Face :param anAvoidMap: :type anAvoidMap: TopTools_IndexedMapOfOrientedShape :param aMap: :type aMap: TopTools_IndexedDataMapOfShapeShape :rtype: None

static CheckList()
Parameters

aFace

type aFace

TopoDS_Face

param aHeadList

type aHeadList

TopTools_ListOfShape

rtype

void

CorrectedFace()
Return type

TopoDS_Face

ErrorStatus()
Return type

int

Face()
Return type

TopoDS_Face

static GetP2dFL()
Parameters

aFace

type aFace

TopoDS_Face

param anEdge

type anEdge

TopoDS_Edge

param P2dF

type P2dF

gp_Pnt2d

param P2dL

type P2dL

gp_Pnt2d

rtype

void

IsDone()
Return type

bool

MapOfTrans2dInfo()
Return type

TopTools_IndexedDataMapOfShapeShape

Perform()
Return type

None

SetMapOfTrans2dInfo()
Parameters

aMap

type aMap

TopTools_IndexedDataMapOfShapeShape

rtype

None

property thisown

The membership flag

class TopOpeBRepBuild_DataMapOfShapeListOfShapeListOfShape(*args)

Bases: object

Assign()
Bind()
Bound()
ChangeFind()
ChangeSeek()
Clear()
Exchange()
Find()
IsBound()
ReSize()
Seek()
Set()
Size()
UnBind()
begin()
cbegin()
cend()
end()
property thisown

The membership flag

class TopOpeBRepBuild_EdgeBuilder(*args)

Bases: OCC.Core.TopOpeBRepBuild.TopOpeBRepBuild_Area1dBuilder

Return type

None* Creates a EdgeBuilder to find the areas of the shapes described by <LS> using the classifier <LC>. :param LS: :type LS: TopOpeBRepBuild_PaveSet :param LC: :type LC: TopOpeBRepBuild_PaveClassifier :param ForceClass: default value is Standard_False :type ForceClass: bool :rtype: None

InitEdge()
Return type

None

InitEdgeBuilder()
Parameters

LS

type LS

TopOpeBRepBuild_LoopSet

param LC

type LC

TopOpeBRepBuild_LoopClassifier

param ForceClass

default value is Standard_False

type ForceClass

bool

rtype

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

property thisown

The membership flag

class TopOpeBRepBuild_FaceAreaBuilder(*args)

Bases: OCC.Core.TopOpeBRepBuild.TopOpeBRepBuild_Area2dBuilder

Return type

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

InitFaceAreaBuilder()
Parameters

LS

type LS

TopOpeBRepBuild_LoopSet

param LC

type LC

TopOpeBRepBuild_LoopClassifier

param ForceClass

default value is Standard_False

type ForceClass

bool

rtype

None

property 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>. :param ES: :type ES: TopOpeBRepBuild_WireEdgeSet :param F: :type F: TopoDS_Shape :param ForceClass: default value is Standard_False :type ForceClass: bool :rtype: None

AddEdgeWire()
Parameters

E

type E

TopoDS_Shape

param W

type W

TopoDS_Shape

rtype

int

CorrectGclosedWire()
  • Using the given maps, change the topology of the 3d-closed wires, in order to get closed wires.
    param mapVVref

    type mapVVref

    TopTools_IndexedDataMapOfShapeShape

    param mapVon1Edge

    type mapVon1Edge

    TopTools_IndexedDataMapOfShapeShape

    rtype

    None

DetectPseudoInternalEdge()
  • Removes edges appearing twice (FORWARD,REVERSED) with a bounding vertex not connected to any other edge. mapE contains edges found. modifies myBlockBuilder.
    param mapE

    type mapE

    TopTools_IndexedMapOfShape

    rtype

    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
    param mapVVsameG

    type mapVVsameG

    TopTools_IndexedDataMapOfShapeShape

    param mapVon1Edge

    type mapVon1Edge

    TopTools_IndexedDataMapOfShapeShape

    rtype

    None

Edge()
  • Returns current new edge of current new wire.
    rtype

    TopoDS_Shape

EdgeConnexity()
Parameters

E

type E

TopoDS_Shape

rtype

int

Face()
  • return myFace
    rtype

    TopoDS_Shape

FindNextValidElement()
  • Iterates on myBlockIterator until finding a valid element
    rtype

    None

InitEdge()
Return type

int

InitFace()
Return type

int

InitFaceBuilder()
Parameters

ES

type ES

TopOpeBRepBuild_WireEdgeSet

param F

type F

TopoDS_Shape

param ForceClass

type ForceClass

bool

rtype

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.
    rtype

    TopoDS_Shape

property thisown

The membership flag

class TopOpeBRepBuild_FuseFace(*args)

Bases: object

Return type

None:param LIF: :type LIF: TopTools_ListOfShape :param LRF: :type LRF: TopTools_ListOfShape :param CXM: :type CXM: int :rtype: None

ClearEdge()
Return type

None

ClearVertex()
Return type

None

Init()
Parameters

LIF

type LIF

TopTools_ListOfShape

param LRF

type LRF

TopTools_ListOfShape

param CXM

type CXM

int

rtype

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

property thisown

The membership flag

class TopOpeBRepBuild_GIter(*args)

Bases: object

Return type

None:param G: :type G: TopOpeBRepBuild_GTopo :rtype: None

Current()
Parameters

s1

type s1

TopAbs_State

param s2

type s2

TopAbs_State

rtype

None

DumpToString(TopOpeBRepBuild_GIter self) → std::string
Init()
Return type

None:param G: :type G: TopOpeBRepBuild_GTopo :rtype: None

More()
Return type

bool

Next()
Return type

None

property thisown

The membership flag

class TopOpeBRepBuild_GTool(TopOpeBRepBuild_GTool self) → TopOpeBRepBuild_GTool

Bases: object

DumpToString(TopOpeBRepBuild_GTool self) → std::string
static GComDiff()
Parameters

s1

type s1

TopAbs_ShapeEnum

param s2

type s2

TopAbs_ShapeEnum

rtype

TopOpeBRepBuild_GTopo

static GComSame()
Parameters

s1

type s1

TopAbs_ShapeEnum

param s2

type s2

TopAbs_ShapeEnum

rtype

TopOpeBRepBuild_GTopo

static GComUnsh()
Parameters

s1

type s1

TopAbs_ShapeEnum

param s2

type s2

TopAbs_ShapeEnum

rtype

TopOpeBRepBuild_GTopo

static GCutDiff()
Parameters

s1

type s1

TopAbs_ShapeEnum

param s2

type s2

TopAbs_ShapeEnum

rtype

TopOpeBRepBuild_GTopo

static GCutSame()
Parameters

s1

type s1

TopAbs_ShapeEnum

param s2

type s2

TopAbs_ShapeEnum

rtype

TopOpeBRepBuild_GTopo

static GCutUnsh()
Parameters

s1

type s1

TopAbs_ShapeEnum

param s2

type s2

TopAbs_ShapeEnum

rtype

TopOpeBRepBuild_GTopo

static GFusDiff()
Parameters

s1

type s1

TopAbs_ShapeEnum

param s2

type s2

TopAbs_ShapeEnum

rtype

TopOpeBRepBuild_GTopo

static GFusSame()
Parameters

s1

type s1

TopAbs_ShapeEnum

param s2

type s2

TopAbs_ShapeEnum

rtype

TopOpeBRepBuild_GTopo

static GFusUnsh()
Parameters

s1

type s1

TopAbs_ShapeEnum

param s2

type s2

TopAbs_ShapeEnum

rtype

TopOpeBRepBuild_GTopo

property thisown

The membership flag

class TopOpeBRepBuild_GTopo(*args)

Bases: object

Return type

None:param II: :type II: bool :param IN: :type IN: bool :param IO: :type IO: bool :param NI: :type NI: bool :param NN: :type NN: bool :param NO: :type NO: bool :param OI: :type OI: bool :param ON: :type ON: bool :param OO: :type OO: bool :param t1: :type t1: TopAbs_ShapeEnum :param t2: :type t2: TopAbs_ShapeEnum :param C1: :type C1: TopOpeBRepDS_Config :param C2: :type C2: TopOpeBRepDS_Config :rtype: None

ChangeConfig()
Parameters

C1

type C1

TopOpeBRepDS_Config

param C2

type C2

TopOpeBRepDS_Config

rtype

None

ChangeType()
Parameters

t1

type t1

TopAbs_ShapeEnum

param t2

type t2

TopAbs_ShapeEnum

rtype

None

ChangeValue()
Parameters

i1

type i1

int

param i2

type i2

int

param b

type b

bool

rtype

None:param s1:

type s1

TopAbs_State

param s2

type s2

TopAbs_State

param b

type b

bool

rtype

None

Config1()
Return type

TopOpeBRepDS_Config

Config2()
Return type

TopOpeBRepDS_Config

CopyPermuted()
Return type

TopOpeBRepBuild_GTopo

Dump()
Parameters

OS

type OS

Standard_OStream

param s

default value is NULL

type s

Standard_Address

rtype

void

static DumpSSB()
Parameters

OS

type OS

Standard_OStream

param s1

type s1

TopAbs_State

param s2

type s2

TopAbs_State

param b

type b

bool

rtype

void

DumpTypeToString(TopOpeBRepBuild_GTopo self) → std::string
DumpVal()
Parameters

OS

type OS

Standard_OStream

param s1

type s1

TopAbs_State

param s2

type s2

TopAbs_State

rtype

None

GIndex()
Parameters

S

type S

TopAbs_State

rtype

int

GState()
Parameters

I

type I

int

rtype

TopAbs_State

Index()
Parameters

II

type II

int

param i1

type i1

int

param i2

type i2

int

rtype

None

IsToReverse1()
Return type

bool

IsToReverse2()
Return type

bool

Reset()
Return type

None

Reverse()
Return type

bool

Set()
Parameters

II

type II

bool

param IN

type IN

bool

param IO

type IO

bool

param NI

type NI

bool

param NN

type NN

bool

param NO

type NO

bool

param OI

type OI

bool

param ON

type ON

bool

param OO

type OO

bool

rtype

None

SetReverse()
Parameters

rev

type rev

bool

rtype

None

StatesON()
Parameters

s1

type s1

TopAbs_State

param s2

type s2

TopAbs_State

rtype

None

Type()
Parameters

t1

type t1

TopAbs_ShapeEnum

param t2

type t2

TopAbs_ShapeEnum

rtype

None

Value()
Parameters

s1

type s1

TopAbs_State

param s2

type s2

TopAbs_State

rtype

bool:param I1:

type I1

int

param I2

type I2

int

rtype

bool:param II:

type II

int

rtype

bool

property thisown

The membership flag

class TopOpeBRepBuild_HBuilder(*args)

Bases: OCC.Core.Standard.Standard_Transient

Parameters

BT

type BT

TopOpeBRepDS_BuildTool

rtype

None

BuildTool()
Return type

TopOpeBRepDS_BuildTool

ChangeBuildTool()
Return type

TopOpeBRepDS_BuildTool

ChangeBuilder()
Return type

TopOpeBRepBuild_Builder

ChangeNewEdges()
  • Returns the edges created on curve <I>.
    param I

    type I

    int

    rtype

    TopTools_ListOfShape

Clear()
  • Removes all split and merge already performed. Does NOT clear the handled DS.
    rtype

    None

CurrentSection()
Return type

TopoDS_Shape

DataStructure()
  • returns the DS handled by this builder
    rtype

    opencascade::handle<TopOpeBRepDS_HDataStructure>

static DownCast(t)
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.
    param E

    type E

    TopoDS_Shape

    param F1

    type F1

    TopoDS_Shape

    param F2

    type F2

    TopoDS_Shape

    param IC

    type IC

    int

    rtype

    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.
    param E

    type E

    TopoDS_Shape

    param LF1

    type LF1

    TopTools_ListOfShape

    param LF2

    type LF2

    TopTools_ListOfShape

    param LE1

    type LE1

    TopTools_ListOfShape

    param LE2

    type LE2

    TopTools_ListOfShape

    rtype

    bool

GetDSCurveFromSectEdge()
Parameters

SectEdge

type SectEdge

TopoDS_Shape

rtype

int

GetDSEdgeFromSectEdge()
Parameters

E

type E

TopoDS_Shape

param rank

type rank

int

rtype

int

GetDSFaceFromDSCurve()
Parameters

indexCur

type indexCur

int

param rank

type rank

int

rtype

int

GetDSFaceFromDSEdge()
Parameters

indexEdg

type indexEdg

int

param rank

type rank

int

rtype

TColStd_ListOfInteger

GetDSPointFromNewVertex()
Parameters

NewVert

type NewVert

TopoDS_Shape

rtype

int

InitExtendedSectionDS()
Parameters

k – default value is 3 :type k: int :rtype: None

InitSection()
Parameters

k – default value is 3 :type k: int :rtype: None

IsKPart()
  • Returns 0 is standard operation, != 0 if particular case
    rtype

    int

IsMerged()
  • Returns True if the shape <S> has been merged.
    param S

    type S

    TopoDS_Shape

    param ToBuild

    type ToBuild

    TopAbs_State

    rtype

    bool

IsSplit()
  • Returns True if the shape <S> has been split.
    param S

    type S

    TopoDS_Shape

    param ToBuild

    type ToBuild

    TopAbs_State

    rtype

    bool

MergeKPart()
Parameters

TB1

type TB1

TopAbs_State

param TB2

type TB2

TopAbs_State

rtype

None

MergeShapes()
  • Merges the two shapes <S1> and <S2> keeping the parts of states <TB1>,<TB2> in <S1>,<S2>.
    param S1

    type S1

    TopoDS_Shape

    param TB1

    type TB1

    TopAbs_State

    param S2

    type S2

    TopoDS_Shape

    param TB2

    type TB2

    TopAbs_State

    rtype

    None

MergeSolid()
  • Merges the solid <S> keeping the parts of state <TB>.
    param S

    type S

    TopoDS_Shape

    param TB

    type TB

    TopAbs_State

    rtype

    None

MergeSolids()
  • Merges the two solids <S1> and <S2> keeping the parts in each solid of states <TB1> and <TB2>.
    param S1

    type S1

    TopoDS_Shape

    param TB1

    type TB1

    TopAbs_State

    param S2

    type S2

    TopoDS_Shape

    param TB2

    type TB2

    TopAbs_State

    rtype

    None

Merged()
  • Returns the merged parts <ToBuild> of shape <S>.
    param S

    type S

    TopoDS_Shape

    param ToBuild

    type ToBuild

    TopAbs_State

    rtype

    TopTools_ListOfShape

MoreSection()
Return type

bool

NewEdges()
  • Returns the edges created on curve <I>.
    param I

    type I

    int

    rtype

    TopTools_ListOfShape

NewFaces()
  • Returns the faces created on surface <I>.
    param I

    type I

    int

    rtype

    TopTools_ListOfShape

NewVertex()
  • Returns the vertex created on point <I>.
    param I

    type I

    int

    rtype

    TopoDS_Shape

NextSection()
Return type

None

Perform()
  • Stores the data structure <HDS>, Create shapes from the new geometries described in <HDS>.
    param HDS

    type HDS

    TopOpeBRepDS_HDataStructure

    rtype

    None* Same as previous + evaluates if an operation performed on shapes S1,S2 is a particular case.

    param HDS

    type HDS

    TopOpeBRepDS_HDataStructure

    param S1

    type S1

    TopoDS_Shape

    param S2

    type S2

    TopoDS_Shape

    rtype

    None

Section()
Return type

TopTools_ListOfShape

Splits()
  • Returns the split parts <ToBuild> of shape <S>.
    param S

    type S

    TopoDS_Shape

    param ToBuild

    type ToBuild

    TopAbs_State

    rtype

    TopTools_ListOfShape

property thisown

The membership flag

class TopOpeBRepBuild_IndexedDataMapOfShapeVertexInfo(*args)

Bases: object

Add()
Assign()
ChangeFromIndex()
ChangeFromKey()
ChangeSeek()
Clear()
Contains()
Exchange()
FindFromIndex()
FindFromKey()
FindIndex()
FindKey()
ReSize()
RemoveFromIndex()
RemoveKey()
RemoveLast()
Seek()
Set()
Size()
Substitute()
Swap()
begin()
cbegin()
cend()
end()
property thisown

The membership flag

class TopOpeBRepBuild_ListIteratorOfListOfListOfLoop(*args)

Bases: object

ChangeValue()
More()
Next()
Value()
property thisown

The membership flag

class TopOpeBRepBuild_ListIteratorOfListOfLoop(*args)

Bases: object

ChangeValue()
More()
Next()
Value()
property thisown

The membership flag

class TopOpeBRepBuild_ListIteratorOfListOfPave(*args)

Bases: object

ChangeValue()
More()
Next()
Value()
property thisown

The membership flag

class TopOpeBRepBuild_ListIteratorOfListOfShapeListOfShape(*args)

Bases: object

ChangeValue()
More()
Next()
Value()
property thisown

The membership flag

class TopOpeBRepBuild_ListOfListOfLoop(*args)

Bases: object

Append()
Assign()
Clear()
First()
InsertAfter()
InsertBefore()
Last()
Prepend()
Remove()
RemoveFirst()
Reverse()
Set()
Size()
begin()
cbegin()
cend()
end()
property thisown

The membership flag

class TopOpeBRepBuild_ListOfLoop(*args)

Bases: object

Append()
Assign()
Clear()
First()
InsertAfter()
InsertBefore()
Last()
Prepend()
Remove()
RemoveFirst()
Reverse()
Set()
Size()
begin()
cbegin()
cend()
end()
property thisown

The membership flag

class TopOpeBRepBuild_ListOfPave(*args)

Bases: object

Append()
Assign()
Clear()
First()
InsertAfter()
InsertBefore()
Last()
Prepend()
Remove()
RemoveFirst()
Reverse()
Set()
Size()
begin()
cbegin()
cend()
end()
property thisown

The membership flag

class TopOpeBRepBuild_ListOfShapeListOfShape(*args)

Bases: object

Append()
Assign()
Clear()
First()
InsertAfter()
InsertBefore()
Last()
Prepend()
Remove()
RemoveFirst()
Reverse()
Set()
Size()
begin()
cbegin()
cend()
end()
property thisown

The membership flag

class TopOpeBRepBuild_Loop(*args)

Bases: OCC.Core.Standard.Standard_Transient

Parameters

S

type S

TopoDS_Shape

rtype

None:param BI:

type BI

TopOpeBRepBuild_BlockIterator

rtype

None

BlockIterator()
Return type

TopOpeBRepBuild_BlockIterator

static DownCast(t)
Dump()
Return type

void

IsShape()
Return type

bool

Shape()
Return type

TopoDS_Shape

property thisown

The membership flag

class TopOpeBRepBuild_LoopClassifier(*args, **kwargs)

Bases: object

Compare()
  • Returns the state of loop <L1> compared with loop <L2>.
    param L1

    type L1

    TopOpeBRepBuild_Loop

    param L2

    type L2

    TopOpeBRepBuild_Loop

    rtype

    TopAbs_State

property thisown

The membership flag

class TopOpeBRepBuild_LoopSet(*args)

Bases: object

Return type

None

ChangeListOfLoop()
Return type

TopOpeBRepBuild_ListOfLoop

InitLoop()
Return type

void

Loop()
Return type

opencascade::handle<TopOpeBRepBuild_Loop>

MoreLoop()
Return type

bool

NextLoop()
Return type

void

property thisown

The membership flag

class TopOpeBRepBuild_Pave(*args)

Bases: OCC.Core.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
    param V

    type V

    TopoDS_Shape

    param P

    type P

    float

    param bound

    type bound

    bool

    rtype

    None

ChangeVertex()
Return type

TopoDS_Shape

static DownCast(t)
HasSameDomain()
Parameters

b

type b

bool

rtype

None:rtype: bool

InterferenceType()
Return type

TopOpeBRepDS_Kind

Parameter()
Return type

float:param Par: :type Par: float :rtype: None

SameDomain()
Parameters

VSD

type VSD

TopoDS_Shape

rtype

None:rtype: TopoDS_Shape

Vertex()
Return type

TopoDS_Shape

property thisown

The membership flag

class TopOpeBRepBuild_PaveClassifier(*args)

Bases: OCC.Core.TopOpeBRepBuild.TopOpeBRepBuild_LoopClassifier

  • Create a Pave classifier to compare vertices on edge <E>.
    param E

    type E

    TopoDS_Shape

    rtype

    None

static AdjustCase()
Parameters

p1

type p1

float

param o

type o

TopAbs_Orientation

param first

type first

float

param period

type period

float

param tol

type tol

float

param cas

type cas

int

rtype

float

ClosedVertices()
Parameters

B

type B

bool

rtype

None

SetFirstParameter()
Parameters

P

type P

float

rtype

None

property thisown

The membership flag

class TopOpeBRepBuild_PaveSet(*args)

Bases: OCC.Core.TopOpeBRepBuild.TopOpeBRepBuild_LoopSet

  • Create a Pave set on edge <E>. It contains <E> vertices.
    param E

    type E

    TopoDS_Shape

    rtype

    None

Append()
  • Add <PV> in the Pave set.
    param PV

    type PV

    TopOpeBRepBuild_Pave

    rtype

    None

ClosedVertices()
Return type

bool

Edge()
Return type

TopoDS_Edge

EqualParameters()
Return type

float

HasEqualParameters()
Return type

bool

RemovePV()
Parameters

B

type B

bool

rtype

None

static SortPave()
Parameters

Lin

type Lin

TopOpeBRepBuild_ListOfPave

param Lout

type Lout

TopOpeBRepBuild_ListOfPave

rtype

void

property thisown

The membership flag

class TopOpeBRepBuild_ShapeListOfShape(*args)

Bases: object

Return type

None:param S: :type S: TopoDS_Shape :rtype: None:param S: :type S: TopoDS_Shape :param L: :type L: TopTools_ListOfShape :rtype: None

ChangeList()
Return type

TopTools_ListOfShape

ChangeShape()
Return type

TopoDS_Shape

List()
Return type

TopTools_ListOfShape

Shape()
Return type

TopoDS_Shape

property 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.
    param SubShapeType

    type SubShapeType

    TopAbs_ShapeEnum

    param checkshape

    default value is Standard_True

    type checkshape

    bool

    rtype

    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.
    param S

    type S

    TopoDS_Shape

    rtype

    void

AddShape()
  • Adds <S> to the list of shapes. (wires or shells).
    param S

    type S

    TopoDS_Shape

    rtype

    void

AddStartElement()
  • (S is a face or edge) Add S to the list of starting shapes used for reconstructions. apply AddElement(S).
    param S

    type S

    TopoDS_Shape

    rtype

    void

ChangeStartShapes()
Return type

TopTools_ListOfShape

CheckShape()
Parameters

checkshape

type checkshape

bool

rtype

None:rtype: bool:param S:

type S

TopoDS_Shape

param checkgeom

default value is Standard_False

type checkgeom

bool

rtype

bool

DEBName()
Parameters

N

type N

TCollection_AsciiString

rtype

None:rtype: TCollection_AsciiString

DEBNumber()
Parameters

I

type I

int

rtype

None:rtype: int

DumpBB()
Return type

void

DumpCheck()
Parameters

OS

type OS

Standard_OStream

param str

type str

TCollection_AsciiString

param S

type S

TopoDS_Shape

param chk

type chk

bool

rtype

None

DumpName()
Parameters

OS

type OS

Standard_OStream

param str

type str

TCollection_AsciiString

rtype

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.
    rtype

    void

InitNeighbours()
Parameters

S

type S

TopoDS_Shape

rtype

void

InitShapes()
Return type

None

InitStartElements()
Return type

None

MakeNeighboursList()
Parameters

E

type E

TopoDS_Shape

param V

type V

TopoDS_Shape

rtype

TopTools_ListOfShape

MaxNumberSubShape()
Parameters

Shape

type Shape

TopoDS_Shape

rtype

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

type S

TopoDS_Shape

param sb

default value is

type sb

TCollection_AsciiString

param sa

default value is

type sa

TCollection_AsciiString

rtype

TCollection_AsciiString:param S:

type S

TopTools_ListOfShape

param sb

default value is

type sb

TCollection_AsciiString

param sa

default value is

type sa

TCollection_AsciiString

rtype

TCollection_AsciiString

SNameori()
Parameters

S

type S

TopoDS_Shape

param sb

default value is

type sb

TCollection_AsciiString

param sa

default value is

type sa

TCollection_AsciiString

rtype

TCollection_AsciiString:param S:

type S

TopTools_ListOfShape

param sb

default value is

type sb

TCollection_AsciiString

param sa

default value is

type sa

TCollection_AsciiString

rtype

TCollection_AsciiString

Shape()
Return type

TopoDS_Shape

StartElement()
Return type

TopoDS_Shape

StartElements()
  • return a reference on myStartShapes
    rtype

    TopTools_ListOfShape

property thisown

The membership flag

class TopOpeBRepBuild_ShellFaceClassifier(*args)

Bases: OCC.Core.TopOpeBRepBuild.TopOpeBRepBuild_CompositeClassifier

  • Creates a classifier in 3D space, to comparea face with a set of faces a shell with a set of faces a shell with a shell
    param BB

    type BB

    TopOpeBRepBuild_BlockBuilder

    rtype

    None

Clear()
Return type

None

property thisown

The membership flag

class TopOpeBRepBuild_ShellFaceSet(*args)

Bases: OCC.Core.TopOpeBRepBuild.TopOpeBRepBuild_ShapeSet

  • Creates a ShellFaceSet to build blocks of faces connected by edges.
    rtype

    None* Creates a ShellFaceSet to build blocks of faces connected by edges.

    param S

    type S

    TopoDS_Shape

    param Addr

    default value is NULL

    type Addr

    Standard_Address

    rtype

    None

SName()
Parameters

S

type S

TopoDS_Shape

param sb

default value is

type sb

TCollection_AsciiString

param sa

default value is

type sa

TCollection_AsciiString

rtype

TCollection_AsciiString:param S:

type S

TopTools_ListOfShape

param sb

default value is

type sb

TCollection_AsciiString

param sa

default value is

type sa

TCollection_AsciiString

rtype

TCollection_AsciiString

SNameori()
Parameters

S

type S

TopoDS_Shape

param sb

default value is

type sb

TCollection_AsciiString

param sa

default value is

type sa

TCollection_AsciiString

rtype

TCollection_AsciiString:param S:

type S

TopTools_ListOfShape

param sb

default value is

type sb

TCollection_AsciiString

param sa

default value is

type sa

TCollection_AsciiString

rtype

TCollection_AsciiString

Solid()
Return type

TopoDS_Solid

property thisown

The membership flag

class TopOpeBRepBuild_ShellToSolid(*args)

Bases: object

Return type

None

AddShell()
Parameters

Sh

type Sh

TopoDS_Shell

rtype

None

Init()
Return type

None

MakeSolids()
Parameters

So

type So

TopoDS_Solid

param LSo

type LSo

TopTools_ListOfShape

rtype

None

property thisown

The membership flag

class TopOpeBRepBuild_SolidAreaBuilder(*args)

Bases: OCC.Core.TopOpeBRepBuild.TopOpeBRepBuild_Area3dBuilder

Return type

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

InitSolidAreaBuilder()
Parameters

LS

type LS

TopOpeBRepBuild_LoopSet

param LC

type LC

TopOpeBRepBuild_LoopClassifier

param ForceClass

default value is Standard_False

type ForceClass

bool

rtype

None

property 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>. :param FS: :type FS: TopOpeBRepBuild_ShellFaceSet :param ForceClass: default value is Standard_False :type ForceClass: bool :rtype: None

Face()
  • Returns current new face of current new shell.
    rtype

    TopoDS_Shape

InitFace()
Return type

int

InitShell()
Return type

int

InitSolid()
Return type

int

InitSolidBuilder()
Parameters

FS

type FS

TopOpeBRepBuild_ShellFaceSet

param ForceClass

type ForceClass

bool

rtype

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.
    rtype

    TopoDS_Shape

property thisown

The membership flag

class TopOpeBRepBuild_Tools

Bases: object

static CheckFaceClosed2d()
  • Checks if <theFace> has the properly closed in 2D boundary(ies)
    param theFace

    type theFace

    TopoDS_Face

    rtype

    bool

static CorrectCurveOnSurface()
Parameters

aS

type aS

TopoDS_Shape

param aTolMax

default value is 0.0001

type aTolMax

float

rtype

void

static CorrectFace2d()
  • 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). NOTEParameter corrFace doesn’t mean anything. If you want to use this method , rebuild resulting face after by yourself using corrected edges.
    param oldFace

    type oldFace

    TopoDS_Shape

    param corrFace

    type corrFace

    TopoDS_Shape

    param aSourceShapes

    type aSourceShapes

    TopTools_IndexedMapOfOrientedShape

    param aMapOfCorrect2dEdges

    type aMapOfCorrect2dEdges

    TopTools_IndexedDataMapOfShapeShape

    rtype

    void

static CorrectPointOnCurve()
Parameters

aS

type aS

TopoDS_Shape

param aTolMax

default value is 0.0001

type aTolMax

float

rtype

void

static CorrectTolerances()
Parameters

aS

type aS

TopoDS_Shape

param aTolMax

default value is 0.0001

type aTolMax

float

rtype

void

static FindState()
Parameters

aVertex

type aVertex

TopoDS_Shape

param aState

type aState

TopAbs_State

param aShapeEnum

type aShapeEnum

TopAbs_ShapeEnum

param aMapVertexEdges

type aMapVertexEdges

TopTools_IndexedDataMapOfShapeListOfShape

param aMapProcessedVertices

type aMapProcessedVertices

TopTools_MapOfShape

param aMapVs

type aMapVs

TopOpeBRepDS_DataMapOfShapeState

rtype

void

static FindState1()
Parameters

anEdge

type anEdge

TopoDS_Shape

param aState

type aState

TopAbs_State

param aMapEdgesFaces

type aMapEdgesFaces

TopTools_IndexedDataMapOfShapeListOfShape

param aMapProcessedVertices

type aMapProcessedVertices

TopTools_MapOfShape

param aMapVs

type aMapVs

TopOpeBRepDS_DataMapOfShapeState

rtype

void

static FindState2()
Parameters

anEdge

type anEdge

TopoDS_Shape

param aState

type aState

TopAbs_State

param aMapEdgesFaces

type aMapEdgesFaces

TopTools_IndexedDataMapOfShapeListOfShape

param aMapProcessedEdges

type aMapProcessedEdges

TopTools_MapOfShape

param aMapVs

type aMapVs

TopOpeBRepDS_DataMapOfShapeState

rtype

void

static FindStateThroughVertex()
Parameters

aShape

type aShape

TopoDS_Shape

param aShapeClassifier

type aShapeClassifier

TopOpeBRepTool_ShapeClassifier

param aMapOfShapeWithState

type aMapOfShapeWithState

TopOpeBRepDS_IndexedDataMapOfShapeWithState

param anAvoidSubshMap

type anAvoidSubshMap

TopTools_MapOfShape

rtype

TopAbs_State

static GetAdjacentFace()
Parameters

aFaceObj

type aFaceObj

TopoDS_Shape

param anEObj

type anEObj

TopoDS_Shape

param anEdgeFaceMap

type anEdgeFaceMap

TopTools_IndexedDataMapOfShapeListOfShape

param anAdjFaceObj

type anAdjFaceObj

TopoDS_Shape

rtype

bool

static GetNormalInNearestPoint()
  • 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).
    param aFace

    type aFace

    TopoDS_Face

    param anEdge

    type anEdge

    TopoDS_Edge

    param aNormal

    type aNormal

    gp_Vec

    rtype

    void

static GetNormalToFaceOnEdge()
Parameters

aFObj

type aFObj

TopoDS_Face

param anEdgeObj

type anEdgeObj

TopoDS_Edge

param aDirNormal

type aDirNormal

gp_Vec

rtype

void

static GetTangentToEdge()
Parameters

anEdgeObj

type anEdgeObj

TopoDS_Edge

param aTangent

type aTangent

gp_Vec

rtype

bool

static GetTangentToEdgeEdge()
Parameters

aFObj

type aFObj

TopoDS_Face

param anEdgeObj

type anEdgeObj

TopoDS_Edge

param aOriEObj

type aOriEObj

TopoDS_Edge

param aTangent

type aTangent

gp_Vec

rtype

bool

static IsDegEdgesTheSame()
Parameters

anE1

type anE1

TopoDS_Shape

param anE2

type anE2

TopoDS_Shape

rtype

bool

static NormalizeFace()
  • 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>
    param oldFace

    type oldFace

    TopoDS_Shape

    param corrFace

    type corrFace

    TopoDS_Shape

    rtype

    void

static PropagateState()
Parameters

aSplEdgesState

type aSplEdgesState

TopOpeBRepDS_DataMapOfShapeState

param anEdgesToRestMap

type anEdgesToRestMap

TopTools_IndexedMapOfShape

param aShapeEnum1

type aShapeEnum1

TopAbs_ShapeEnum

param aShapeEnum2

type aShapeEnum2

TopAbs_ShapeEnum

param aShapeClassifier

type aShapeClassifier

TopOpeBRepTool_ShapeClassifier

param aMapOfShapeWithState

type aMapOfShapeWithState

TopOpeBRepDS_IndexedDataMapOfShapeWithState

param anUnkStateShapes

type anUnkStateShapes

TopTools_MapOfShape

rtype

void

static PropagateStateForWires()
Parameters

aFacesToRestMap

type aFacesToRestMap

TopTools_IndexedMapOfShape

param aMapOfShapeWithState

type aMapOfShapeWithState

TopOpeBRepDS_IndexedDataMapOfShapeWithState

rtype

void

static SpreadStateToChild()
Parameters

aShape

type aShape

TopoDS_Shape

param aState

type aState

TopAbs_State

param aMapOfShapeWithState

type aMapOfShapeWithState

TopOpeBRepDS_IndexedDataMapOfShapeWithState

rtype

void

static UpdateEdgeOnFace()
  • recompute PCurve of the edge on the NewFace
    param aEdgeToUpdate

    type aEdgeToUpdate

    TopoDS_Edge

    param OldFace

    type OldFace

    TopoDS_Face

    param NewFace

    type NewFace

    TopoDS_Face

    rtype

    void

static UpdateEdgeOnPeriodicalFace()
  • recompute PCurves of the closing (SIM , with 2 PCurves) edge on the NewFace
    param aEdgeToUpdate

    type aEdgeToUpdate

    TopoDS_Edge

    param OldFace

    type OldFace

    TopoDS_Face

    param NewFace

    type NewFace

    TopoDS_Face

    rtype

    void

static UpdatePCurves()
  • Recompute PCurves of the all edges from the wire on the <toFace>
    param aWire

    type aWire

    TopoDS_Wire

    param fromFace

    type fromFace

    TopoDS_Face

    param toFace

    type toFace

    TopoDS_Face

    rtype

    void

property thisown

The membership flag

class TopOpeBRepBuild_Tools2d

Bases: object

static DumpMapOfShapeVertexInfo()
Parameters

aMap

type aMap

TopOpeBRepBuild_IndexedDataMapOfShapeVertexInfo

rtype

void

static MakeMapOfShapeVertexInfo()
Parameters

aWire

type aWire

TopoDS_Wire

param aMap

type aMap

TopOpeBRepBuild_IndexedDataMapOfShapeVertexInfo

rtype

void

static Path()
Parameters

aWire

type aWire

TopoDS_Wire

param aResList

type aResList

TopTools_ListOfShape

rtype

void

property thisown

The membership flag

class TopOpeBRepBuild_VertexInfo(*args)

Bases: object

Return type

None

AddIn()
Parameters

anE

type anE

TopoDS_Edge

rtype

None

AddOut()
Parameters

anE

type anE

TopoDS_Edge

rtype

None

AppendPassed()
Parameters

anE

type anE

TopoDS_Edge

rtype

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

type aL

TopTools_ListOfShape

rtype

None

RemovePassed()
Return type

None

SetCurrentIn()
Parameters

anE

type anE

TopoDS_Edge

rtype

None

SetSmart()
Parameters

aFlag

type aFlag

bool

rtype

None

SetVertex()
Parameters

aV

type aV

TopoDS_Vertex

rtype

None

Smart()
Return type

bool

Vertex()
Return type

TopoDS_Vertex

property thisown

The membership flag

class TopOpeBRepBuild_WireEdgeClassifier(*args)

Bases: OCC.Core.TopOpeBRepBuild.TopOpeBRepBuild_CompositeClassifier

  • Creates a classifier on edge <F>. Used to compare edges and wires on the edge <F>.
    param F

    type F

    TopoDS_Shape

    param BB

    type BB

    TopOpeBRepBuild_BlockBuilder

    rtype

    None

LoopToShape()
Parameters

L

type L

TopOpeBRepBuild_Loop

rtype

TopoDS_Shape

property thisown

The membership flag

class TopOpeBRepBuild_WireEdgeSet(*args)

Bases: OCC.Core.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.
    param F

    type F

    TopoDS_Shape

    param Addr

    default value is NULL

    type Addr

    Standard_Address

    rtype

    None

Face()
  • value of field myFace
    rtype

    TopoDS_Face

static IsUVISO()
Parameters

E

type E

TopoDS_Edge

param F

type F

TopoDS_Face

param uiso

type uiso

bool

param viso

type viso

bool

rtype

void

SName()
Parameters

S

type S

TopoDS_Shape

param sb

default value is

type sb

TCollection_AsciiString

param sa

default value is

type sa

TCollection_AsciiString

rtype

TCollection_AsciiString:param S:

type S

TopTools_ListOfShape

param sb

default value is

type sb

TCollection_AsciiString

param sa

default value is

type sa

TCollection_AsciiString

rtype

TCollection_AsciiString

SNameori()
Parameters

S

type S

TopoDS_Shape

param sb

default value is

type sb

TCollection_AsciiString

param sa

default value is

type sa

TCollection_AsciiString

rtype

TCollection_AsciiString:param S:

type S

TopTools_ListOfShape

param sb

default value is

type sb

TCollection_AsciiString

param sa

default value is

type sa

TCollection_AsciiString

rtype

TCollection_AsciiString

property thisown

The membership flag

class TopOpeBRepBuild_WireToFace(*args)

Bases: object

Return type

None

AddWire()
Parameters

W

type W

TopoDS_Wire

rtype

None

Init()
Return type

None

MakeFaces()
Parameters

F

type F

TopoDS_Face

param LF

type LF

TopTools_ListOfShape

rtype

None

property thisown

The membership flag