OpenCascade.js
API ReferenceDataExchangeTKDEIGES

BRepToIGES

OCCT package BRepToIGES: BRepToIGES_BREntity, BRepToIGES_BRShell, BRepToIGES_BRSolid, BRepToIGES_BRWire.

BRepToIGES_BREntity

provides methods to transfer BRep entity from CASCADE to IGES.

Constructors(1)

Instance methods(19)

BRepToIGES_BRShell

This class implements the transfer of Shape Entities from Geom To IGES. These can be: . Vertex . Edge . Wire.

Constructors(2)

Instance methods(3)

BRepToIGES_BRSolid

This class implements the transfer of Shape Entities from Geom To IGES. These can be: . Vertex . Edge . Wire.

Constructors(2)

Instance methods(4)

BRepToIGES_BRWire

This class implements the transfer of Shape Entities from Geom To IGES. These can be: . Vertex . Edge . Wire.

Constructors(2)

Instance methods(10)

  • Transfer a Shape entity from TopoDS to IGES this entity must be a Vertex or an Edge or a Wire. If this Entity could not be converted, this member returns a NullEntity.

    Parameters (1)
    • start
  • Transfer a Wire entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity.

    Parameters (1)
    • mywire
  • TransferWire(theWire: TopoDS_Wire, theFace: TopoDS_Face, theOriginMap: NCollection_DataMap_TopoDS_Shape_TopoDS_Shape_TopTools_ShapeMapHasher, theLength: number): { returnValue: IGESData_IGESEntity; theCurve2d: IGESData_IGESEntity; [Symbol.dispose](): void }

    Transfer a Wire entity from TopoDS to IGES.

    Parameters (4)
    • theWire
      input wire
    • theFace
      input face
    • theOriginMap
      shapemap contains the original shapes. Should be empty if face is not reversed
    • theLength
      input surface length
    Returns

    A result object with fields:

    • returnValue: Iges entity (the curve associated to mywire in the parametric space of myface) or null if could not be converted
    • theCurve2d: input curve 2d, owned by the returned envelope.
      Dispose the returned envelope to release owned Handle fields.
  • Transfer a Vertex entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity.

    Parameters (1)
    • myvertex
  • TransferVertex(myvertex: TopoDS_Vertex, myedge: TopoDS_Edge, parameter: number): { returnValue: IGESData_IGESEntity; parameter: number; [Symbol.dispose](): void }

    Transfer a Vertex entity on an Edge from TopoDS to IGES Returns the parameter of myvertex on myedge. If this Entity could not be converted, this member returns a NullEntity.

    Parameters (3)
    • myvertex
    • myedge
    • parameter
    Returns

    A result object with fields:

    • returnValue: the C++ return value
    • parameter: updated value from the call.
      Dispose the returned envelope to release owned Handle fields.
  • Transfer a Vertex entity on a Face from TopoDS to IGES Returns the parameters of myvertex on myface If this Entity could not be converted, this member returns a NullEntity.

    Parameters (3)
    • myvertex
    • myface
    • mypoint
      Mutated in place; read the updated value from this argument after the call.
  • TransferVertex(myvertex: TopoDS_Vertex, myedge: TopoDS_Edge, myface: TopoDS_Face, parameter: number): { returnValue: IGESData_IGESEntity; parameter: number; [Symbol.dispose](): void }

    Transfer a Vertex entity of an edge on a Face from TopoDS to IGES Returns the parameter of myvertex on the pcurve of myedge on myface If this Entity could not be converted, this member returns a NullEntity.

    Parameters (4)
    • myvertex
    • myedge
    • myface
    • parameter
    Returns

    A result object with fields:

    • returnValue: the C++ return value
    • parameter: updated value from the call.
      Dispose the returned envelope to release owned Handle fields.
  • TransferVertex(myvertex: TopoDS_Vertex, myedge: TopoDS_Edge, mysurface: Geom_Surface, myloc: TopLoc_Location, parameter: number): { returnValue: IGESData_IGESEntity; parameter: number; [Symbol.dispose](): void }

    Transfer a Vertex entity of an edge on a Surface from TopoDS to IGES Returns the parameter of myvertex on the pcurve of myedge on mysurface If this Entity could not be converted, this member returns a NullEntity.

    Parameters (5)
    • myvertex
    • myedge
    • mysurface
    • myloc
    • parameter
    Returns

    A result object with fields:

    • returnValue: the C++ return value
    • parameter: updated value from the call.
      Dispose the returned envelope to release owned Handle fields.
  • Transfer an Edge 3d entity from TopoDS to IGES If edge is REVERSED and isBRepMode is False 3D edge curve is reversed.

    Parameters (3)
    • theEdge
      input edge to transfer
    • theOriginMap
      shapemap contains the original shapes. Should be empty if face is not reversed
    • theIsBRepMode
      indicates if write mode is BRep
    Returns

    Iges entity or null if could not be converted

  • TransferEdge(theEdge: TopoDS_Edge, theFace: TopoDS_Face, theOriginMap: NCollection_DataMap_TopoDS_Shape_TopoDS_Shape_TopTools_ShapeMapHasher, theLength: number, theIsBRepMode: boolean): IGESData_IGESEntity

    Transfer an Edge 2d entity on a Face from TopoDS to IGES.

    Parameters (5)
    • theEdge
      input edge to transfer
    • theFace
      input face to get the surface and UV coordinates from it
    • theOriginMap
      shapemap contains the original shapes. Should be empty if face is not reversed
    • theLength
      input surface length
    • theIsBRepMode
      indicates if write mode is BRep
    Returns

    Iges entity or null if could not be converted