OpenCascade.js
API ReferenceModelingAlgorithmsTKOffset

BiTgte

OCCT package BiTgte: BiTgte_Blend, BiTgte_ContactType, BiTgte_CurveOnEdge, BiTgte_CurveOnVertex.

BiTgte_Blend

Root class.

Constructors(2)

  • constructor(S: TopoDS_Shape, Radius: number, Tol: number, NUBS: boolean): BiTgte_Blend

    : 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 (4)
    • S
    • Radius
    • Tol
    • NUBS

Instance methods(26)

  • Init(S: TopoDS_Shape, Radius: number, Tol: number, NUBS: boolean): void
    Parameters (4)
    • S
    • Radius
    • Tol
    • NUBS
  • Clear(): void

    Clear all the Fields.

  • Set two faces of <myShape> on which the Sphere must roll.

    Parameters (2)
    • F1
    • F2
  • SetEdge(Edge: TopoDS_Edge): void

    Set an edge of <myShape> to be rounded.

    Parameters (1)
    • Edge
  • Set a face on which the fillet must stop.

    Parameters (1)
    • Face
  • Perform(BuildShape?: boolean): void

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

    Parameters (1)
    • BuildShape
  • IsDone(): boolean
  • returns the result

  • NbSurfaces(): number

    returns the Number of generated surfaces.

  • Surface(Index: number): Geom_Surface

    returns the surface of range Index

    Parameters (1)
    • Index
  • 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 (1)
    • CenterLine
  • Face(Index: number): TopoDS_Face

    returns the surface of range Index

    Parameters (1)
    • Index
  • 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 (1)
    • CenterLine
  • set in <LC> all the center lines

    Parameters (1)
    • LC
      Mutated in place; read the updated value from this argument after the call.
  • returns the type of contact

    Parameters (1)
    • Index
  • SupportShape1(Index: number): TopoDS_Shape

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

    Parameters (1)
    • Index
  • SupportShape2(Index: number): TopoDS_Shape

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

    Parameters (1)
    • Index
  • CurveOnShape1(Index: number): Geom_Curve

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

    Parameters (1)
    • Index
  • CurveOnShape2(Index: number): Geom_Curve

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

    Parameters (1)
    • Index
  • PCurveOnFace1(Index: number): Geom2d_Curve

    gives the PCurve associated to CurvOnShape1(Index) on the support face Warning: returns a Null Handle if SupportShape1 is not a Face

    Parameters (1)
    • Index
  • gives the PCurve associated to CurveOnShape1(Index) on the Fillet

    Parameters (1)
    • Index
  • PCurveOnFace2(Index: number): Geom2d_Curve

    gives the PCurve associated to CurveOnShape2(Index) on the support face Warning: returns a Null Handle if SupportShape2 is not a Face

    Parameters (1)
    • Index
  • gives the PCurve associated to CurveOnShape2(Index) on the fillet

    Parameters (1)
    • Index
  • NbBranches(): number
  • IndicesOfBranche(Index: number, From: number, To: number): { From: number; To: number }

    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 (3)
    • Index
    • From
    • To
    Returns

    A result object with fields:

    • From: updated value from the call.
    • To: updated value from the call.
  • Computes the center lines.

BiTgte_CurveOnEdge

private class used to create a filler rolling on an edge.

Constructors(2)

Static methods(2)

Instance methods(30)

BiTgte_CurveOnVertex

private class used to create a filler rolling on an edge.

Constructors(2)

Static methods(2)

Instance methods(29)