OpenCascade.js
API ReferenceDataExchangeTKDESTEP

StepToTopoDS

OCCT package StepToTopoDS: StepToTopoDS, StepToTopoDS_Builder, StepToTopoDS_BuilderError, StepToTopoDS_GeometricTool, and 23 more bound classes.

StepToTopoDS

This package implements the mapping between AP214 Shape representation and CAS.CAD Shape Representation. The source schema is Part42 (which is included in AP214).

Constructors(1)

Static methods(8)

StepToTopoDS_Builder

Constructors(1)

Instance methods(14)

StepToTopoDS_GeometricTool

This class contains some algorithmic services specific to the mapping STEP to CAS.CADE.

Constructors(1)

Static methods(4)

StepToTopoDS_GeometricToolError

Properties(6)

StepToTopoDS_MakeTransformed

Produces instances by Transformation of a basic item.

Constructors(1)

Instance methods(5)

  • Computes a transformation to pass from an Origin placement to a Target placement. Returns True when done If not done, the transformation will by Identity.

    Parameters (3)
    • Origin
    • Target
    • theLocalFactors
  • Computes a transformation defined by an operator 3D.

    Parameters (2)
    • Operator
    • theLocalFactors
  • Returns the computed transformation (Identity if not yet or if failed).

  • Transform(shape: TopoDS_Shape): boolean

    Applies the computed transformation to a shape Returns False if the transformation is Identity.

    Parameters (1)
    • shape
      Mutated in place; read the updated value from this argument after the call.
  • Translates a MappedItem. More precisely A MappedItem has a MappingSource and a MappingTarget MappingSource has a MappedRepresentation and a MappingOrigin MappedRepresentation is the basic item to be instanced MappingOrigin is the starting placement MappingTarget is the final placement.
    Hence, the transformation from MappingOrigin and MappingTarget is computed, the MappedRepr. is converted to a Shape, then transformed as an instance of this Shape

    Parameters (4)
    • mapit
    • TP
    • theLocalFactors
    • theProgress

StepToTopoDS_NMTool

Provides data to process non-manifold topology when reading from STEP.

Constructors(2)

Instance methods(15)

StepToTopoDS_Root

This class implements the common services for all classes of StepToTopoDS which report error and sets and returns precision.

Instance methods(5)

  • IsDone(): boolean
  • Precision(): number

    Returns the value of "MyPrecision".

  • SetPrecision(preci: number): void

    Sets the value of "MyPrecision".

    Parameters (1)
    • preci
  • MaxTol(): number

    Returns the value of "MaxTol".

  • SetMaxTol(maxpreci: number): void

    Sets the value of MaxTol.

    Parameters (1)
    • maxpreci

StepToTopoDS_Tool

This Tool Class provides Information to build a Cas.Cad BRep from a ProSTEP Shape model.

Constructors(2)

Instance methods(27)

StepToTopoDS_TranslateCompositeCurve

Translate STEP entity composite_curve to TopoDS_Wire If surface is given, the curve is assumed to lie on that surface and in case if any segment of it is a curve_on_surface, the pcurve for that segment will be taken. Note: a segment of composite_curve may be itself composite_curve. Only one-level protection against cyclic references is implemented.

Constructors(3)

Instance methods(4)

StepToTopoDS_TranslateCurveBoundedSurface

Translate curve_bounded_surface into TopoDS_Face.

Constructors(2)

Instance methods(2)

StepToTopoDS_TranslateEdge

Constructors(2)

Instance methods(5)

StepToTopoDS_TranslateEdgeLoop

Constructors(2)

Instance methods(3)

StepToTopoDS_TranslatePolyLoop

Constructors(2)

Instance methods(3)

StepToTopoDS_TranslateShell

Constructors(1)

Instance methods(4)

StepToTopoDS_TranslateSolid

Constructors(1)

Instance methods(3)

StepToTopoDS_TranslateVertex

Constructors(2)

Instance methods(3)

StepToTopoDS_TranslateVertexLoop

Constructors(2)

Instance methods(3)