OCC.Core.BiTgte module

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

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 :param S: :type S: TopoDS_Shape :param Radius: :type Radius: float :param Tol: :type Tol: float :param NUBS: :type NUBS: bool :rtype: None

CenterLines()
  • set in <LC> all the center lines
    param LC

    type LC

    TopTools_ListOfShape

    rtype

    None

Clear()
  • Clear all the Fields.
    rtype

    None

ComputeCenters()
  • Computes the center lines
    rtype

    None

ContactType()
  • returns the type of contact
    param Index

    type Index

    int

    rtype

    BiTgte_ContactType

CurveOnShape1()
  • gives the 3d curve of SurfaceFillet(Index) on SupportShape1(Index)
    param Index

    type Index

    int

    rtype

    opencascade::handle<Geom_Curve>

CurveOnShape2()
  • gives the 3d curve of SurfaceFillet(Index) on SupportShape2(Index)
    param Index

    type Index

    int

    rtype

    opencascade::handle<Geom_Curve>

Face()
  • returns the surface of range Index
    param Index

    type Index

    int

    rtype

    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.

    param CenterLine

    type CenterLine

    TopoDS_Shape

    rtype

    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)
    param Index

    type Index

    int

    param From

    type From

    int

    param To

    type To

    int

    rtype

    None

Init()
Parameters

S

type S

TopoDS_Shape

param Radius

type Radius

float

param Tol

type Tol

float

param NUBS

type NUBS

bool

rtype

None

IsDone()
Return type

bool

NbBranches()
Return type

int

NbSurfaces()
  • returns the Number of generated surfaces.
    rtype

    int

PCurve1OnFillet()
  • gives the PCurve associated to CurveOnShape1(Index) on the Fillet
    param Index

    type Index

    int

    rtype

    opencascade::handle<Geom2d_Curve>

PCurve2OnFillet()
  • gives the PCurve associated to CurveOnShape2(Index) on the fillet
    param Index

    type Index

    int

    rtype

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

    type Index

    int

    rtype

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

    type Index

    int

    rtype

    opencascade::handle<Geom2d_Curve>

Perform()
  • Compute the generated surfaces. If <BuildShape> is true, compute the resulting Shape. If false, only the blending surfaces are computed.
    param BuildShape

    default value is Standard_True

    type BuildShape

    bool

    rtype

    None

SetEdge()
  • Set an edge of <myShape> to be rounded.
    param Edge

    type Edge

    TopoDS_Edge

    rtype

    None

SetFaces()
  • Set two faces of <myShape> on which the Sphere must roll.
    param F1

    type F1

    TopoDS_Face

    param F2

    type F2

    TopoDS_Face

    rtype

    None

SetStoppingFace()
  • Set a face on which the fillet must stop.
    param Face

    type Face

    TopoDS_Face

    rtype

    None

Shape()
  • returns the result
    rtype

    TopoDS_Shape

SupportShape1()
  • gives the first support shape relative to SurfaceFillet(Index);
    param Index

    type Index

    int

    rtype

    TopoDS_Shape

SupportShape2()
  • gives the second support shape relative to SurfaceFillet(Index);
    param Index

    type Index

    int

    rtype

    TopoDS_Shape

Surface()
  • returns the surface of range Index
    param Index

    type Index

    int

    rtype

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

    param CenterLine

    type CenterLine

    TopoDS_Shape

    rtype

    opencascade::handle<Geom_Surface>

property thisown

The membership flag

class BiTgte_CurveOnEdge(*args)

Bases: OCC.Core.Adaptor3d.Adaptor3d_Curve

Return type

None:param EonF: :type EonF: TopoDS_Edge :param Edge: :type Edge: TopoDS_Edge :rtype: None

Init()
Parameters

EonF

type EonF

TopoDS_Edge

param Edge

type Edge

TopoDS_Edge

rtype

None

property thisown

The membership flag

class BiTgte_CurveOnVertex(*args)

Bases: OCC.Core.Adaptor3d.Adaptor3d_Curve

Return type

None:param EonF: :type EonF: TopoDS_Edge :param V: :type V: TopoDS_Vertex :rtype: None

Init()
Parameters

EonF

type EonF

TopoDS_Edge

param V

type V

TopoDS_Vertex

rtype

None

property thisown

The membership flag

class BiTgte_HCurveOnEdge(*args)

Bases: OCC.Core.Adaptor3d.Adaptor3d_HCurve

  • Creates an empty GenHCurve.
    rtype

    None* Creates a GenHCurve from a Curve

    param C

    type C

    BiTgte_CurveOnEdge

    rtype

    None

ChangeCurve()
  • Returns the curve used to create the GenHCurve.
    rtype

    BiTgte_CurveOnEdge

static DownCast(t)
Set()
  • Sets the field of the GenHCurve.
    param C

    type C

    BiTgte_CurveOnEdge

    rtype

    None

property thisown

The membership flag

class BiTgte_HCurveOnVertex(*args)

Bases: OCC.Core.Adaptor3d.Adaptor3d_HCurve

  • Creates an empty GenHCurve.
    rtype

    None* Creates a GenHCurve from a Curve

    param C

    type C

    BiTgte_CurveOnVertex

    rtype

    None

ChangeCurve()
  • Returns the curve used to create the GenHCurve.
    rtype

    BiTgte_CurveOnVertex

static DownCast(t)
Set()
  • Sets the field of the GenHCurve.
    param C

    type C

    BiTgte_CurveOnVertex

    rtype

    None

property thisown

The membership flag

class SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()