OCC.BiTgte module

class BiTgte_Blend(*args)

Bases: object

Return type:None
  • <S>: Shape to be rounded <Radius>: radius of the fillet <Tol>: Tol3d used in approximations <NUBS>: if true, generate only NUBS surfaces, if false, generate analytical surfaces if possible
Parameters:
  • S (TopoDS_Shape &) –
  • Radius (float) –
  • Tol (float) –
  • NUBS (bool) –
Return type:

None

CenterLines()
  • set in <LC> all the center lines
Parameters:LC (TopTools_ListOfShape &) –
Return type:None
Clear()
  • Clear all the Fields.
Return type:None
ComputeCenters()
  • Computes the center lines
Return type:None
ContactType()
  • returns the type of contact
Parameters:Index (int) –
Return type:BiTgte_ContactType
CurveOnShape1()
  • gives the 3d curve of SurfaceFillet(Index) on SupportShape1(Index)
Parameters:Index (int) –
Return type:Handle_Geom_Curve
CurveOnShape2()
  • gives the 3d curve of SurfaceFillet(Index) on SupportShape2(Index)
Parameters:Index (int) –
Return type:Handle_Geom_Curve
Face()
  • returns the surface of range Index
Parameters:Index (int) –
Return type:TopoDS_Face
  • returns the face generated by the centerline. <CenterLine> may be - an edge : generate a pipe. - a vertex : generate a sphere. Warning: returns a Null Shape if <CenterLine> generates no surface.
Parameters:CenterLine (TopoDS_Shape &) –
Return type:TopoDS_Face
IndicesOfBranche()
  • Set in <From>,<To> the indices of the faces of the branche <Index>. //! i.e: Branche<Index> = Face(From) + Face(From+1) + ..+ Face(To)
Parameters:
  • Index (int) –
  • From (int &) –
  • To (int &) –
Return type:

None

Init()
Parameters:
  • S (TopoDS_Shape &) –
  • Radius (float) –
  • Tol (float) –
  • NUBS (bool) –
Return type:

None

IsDone()
Return type:bool
NbBranches()
Return type:int
NbSurfaces()
  • returns the Number of generated surfaces.
Return type:int
PCurve1OnFillet()
  • gives the PCurve associated to CurveOnShape1(Index) on the Fillet
Parameters:Index (int) –
Return type:Handle_Geom2d_Curve
PCurve2OnFillet()
  • gives the PCurve associated to CurveOnShape2(Index) on the fillet
Parameters:Index (int) –
Return type:Handle_Geom2d_Curve
PCurveOnFace1()
  • gives the PCurve associated to CurvOnShape1(Index) on the support face Warning: returns a Null Handle if SupportShape1 is not a Face
Parameters:Index (int) –
Return type:Handle_Geom2d_Curve
PCurveOnFace2()
  • gives the PCurve associated to CurveOnShape2(Index) on the support face Warning: returns a Null Handle if SupportShape2 is not a Face
Parameters:Index (int) –
Return type:Handle_Geom2d_Curve
Perform()
  • Compute the generated surfaces. If <BuildShape> is true, compute the resulting Shape. If false, only the blending surfaces are computed.
Parameters:BuildShape (bool) – default value is Standard_True
Return type:None
SetEdge()
  • Set an edge of <myShape> to be rounded.
Parameters:Edge (TopoDS_Edge &) –
Return type:None
SetFaces()
  • Set two faces of <myShape> on which the Sphere must roll.
Parameters:
  • F1 (TopoDS_Face &) –
  • F2 (TopoDS_Face &) –
Return type:

None

SetStoppingFace()
  • Set a face on which the fillet must stop.
Parameters:Face (TopoDS_Face &) –
Return type:None
Shape()
  • returns the result
Return type:TopoDS_Shape
SupportShape1()
  • gives the first support shape relative to SurfaceFillet(Index);
Parameters:Index (int) –
Return type:TopoDS_Shape
SupportShape2()
  • gives the second support shape relative to SurfaceFillet(Index);
Parameters:Index (int) –
Return type:TopoDS_Shape
Surface()
  • returns the surface of range Index
Parameters:Index (int) –
Return type:Handle_Geom_Surface
  • returns the surface generated by the centerline. <CenterLine> may be - an edge : generate a pipe. - a vertex : generate a sphere. Warning: returns a Null Handle if <CenterLine> generates no surface.
Parameters:CenterLine (TopoDS_Shape &) –
Return type:Handle_Geom_Surface
thisown

The membership flag

class BiTgte_CurveOnEdge(*args)

Bases: OCC.Adaptor3d.Adaptor3d_Curve

Return type:

None

Parameters:
  • EonF (TopoDS_Edge &) –
  • Edge (TopoDS_Edge &) –
Return type:

None

Init()
Parameters:
  • EonF (TopoDS_Edge &) –
  • Edge (TopoDS_Edge &) –
Return type:

None

thisown

The membership flag

class BiTgte_CurveOnVertex(*args)

Bases: OCC.Adaptor3d.Adaptor3d_Curve

Return type:

None

Parameters:
  • EonF (TopoDS_Edge &) –
  • V (TopoDS_Vertex &) –
Return type:

None

Init()
Parameters:
  • EonF (TopoDS_Edge &) –
  • V (TopoDS_Vertex &) –
Return type:

None

thisown

The membership flag

class BiTgte_DataMapIteratorOfDataMapOfShapeBox(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (BiTgte_DataMapOfShapeBox &) –
Return type:None
Initialize()
Parameters:aMap (BiTgte_DataMapOfShapeBox &) –
Return type:None
Key()
Return type:TopoDS_Shape
Value()
Return type:Bnd_Box
thisown

The membership flag

class BiTgte_DataMapNodeOfDataMapOfShapeBox(*args)

Bases: OCC.TCollection.TCollection_MapNode

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

None

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

The membership flag

class BiTgte_DataMapOfShapeBox(*args)

Bases: OCC.TCollection.TCollection_BasicMap

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

bool

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

The membership flag

class BiTgte_HCurveOnEdge(*args)

Bases: OCC.Adaptor3d.Adaptor3d_HCurve

Return type:None
Parameters:C (BiTgte_CurveOnEdge &) –
Return type:None
ChangeCurve()
Return type:BiTgte_CurveOnEdge
GetHandle()
Set()
Parameters:C (BiTgte_CurveOnEdge &) –
Return type:None
thisown

The membership flag

class BiTgte_HCurveOnVertex(*args)

Bases: OCC.Adaptor3d.Adaptor3d_HCurve

Return type:None
Parameters:C (BiTgte_CurveOnVertex &) –
Return type:None
ChangeCurve()
Return type:BiTgte_CurveOnVertex
GetHandle()
Set()
Parameters:C (BiTgte_CurveOnVertex &) –
Return type:None
thisown

The membership flag

class Handle_BiTgte_DataMapNodeOfDataMapOfShapeBox(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class Handle_BiTgte_HCurveOnEdge(*args)

Bases: OCC.Adaptor3d.Handle_Adaptor3d_HCurve

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

The membership flag

class Handle_BiTgte_HCurveOnVertex(*args)

Bases: OCC.Adaptor3d.Handle_Adaptor3d_HCurve

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

The membership flag

class SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()
register_handle(handle, base_object)

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