OCC.BiTgte module

class OCC.BiTgte.BiTgte_Blend(*args)

Bases: object

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 (Standard_Integer) –
Return type:BiTgte_ContactType
CurveOnShape1()
  • gives the 3d curve of SurfaceFillet(Index) on SupportShape1(Index)
Parameters:Index (Standard_Integer) –
Return type:Handle_Geom_Curve
CurveOnShape2()
  • gives the 3d curve of SurfaceFillet(Index) on SupportShape2(Index)
Parameters:Index (Standard_Integer) –
Return type:Handle_Geom_Curve
Face()
  • returns the surface of range Index
Parameters:Index (Standard_Integer) –
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 (Standard_Integer) –
  • From (Standard_Integer &) –
  • To (Standard_Integer &) –
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 (Standard_Integer) –
Return type:Handle_Geom2d_Curve
PCurve2OnFillet()
  • gives the PCurve associated to CurveOnShape2(Index) on the fillet
Parameters:Index (Standard_Integer) –
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 (Standard_Integer) –
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 (Standard_Integer) –
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
  • 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 (Standard_Integer) –
Return type:TopoDS_Shape
SupportShape2()
  • gives the second support shape relative to SurfaceFillet(Index);
Parameters:Index (Standard_Integer) –
Return type:TopoDS_Shape
Surface()
  • returns the surface of range Index
Parameters:Index (Standard_Integer) –
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 OCC.BiTgte.BiTgte_CurveOnEdge(*args)

Bases: OCC.Adaptor3d.Adaptor3d_Curve

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

None

thisown

The membership flag

class OCC.BiTgte.BiTgte_CurveOnVertex(*args)

Bases: OCC.Adaptor3d.Adaptor3d_Curve

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

None

thisown

The membership flag

class OCC.BiTgte.BiTgte_DataMapIteratorOfDataMapOfShapeBox(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

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

The membership flag

class OCC.BiTgte.BiTgte_DataMapNodeOfDataMapOfShapeBox(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

BiTgte_DataMapNodeOfDataMapOfShapeBox_GetHandle(BiTgte_DataMapNodeOfDataMapOfShapeBox self) -> Handle_BiTgte_DataMapNodeOfDataMapOfShapeBox

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

The membership flag

class OCC.BiTgte.BiTgte_DataMapOfShapeBox(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

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

Bases: OCC.Adaptor3d.Adaptor3d_HCurve

ChangeCurve()
Return type:BiTgte_CurveOnEdge
GetHandle()

BiTgte_HCurveOnEdge_GetHandle(BiTgte_HCurveOnEdge self) -> Handle_BiTgte_HCurveOnEdge

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

The membership flag

class OCC.BiTgte.BiTgte_HCurveOnVertex(*args)

Bases: OCC.Adaptor3d.Adaptor3d_HCurve

ChangeCurve()
Return type:BiTgte_CurveOnVertex
GetHandle()

BiTgte_HCurveOnVertex_GetHandle(BiTgte_HCurveOnVertex self) -> Handle_BiTgte_HCurveOnVertex

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

The membership flag

class OCC.BiTgte.Handle_BiTgte_DataMapNodeOfDataMapOfShapeBox(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.BiTgte.Handle_BiTgte_HCurveOnEdge(*args)

Bases: OCC.Adaptor3d.Handle_Adaptor3d_HCurve

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

The membership flag

class OCC.BiTgte.Handle_BiTgte_HCurveOnVertex(*args)

Bases: OCC.Adaptor3d.Handle_Adaptor3d_HCurve

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

The membership flag

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

Bases: object

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

The membership flag

value()