OCC.Core.TopoDSToStep module

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

class SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()
class TopoDSToStep_Builder(*args)

Bases: OCC.Core.TopoDSToStep.TopoDSToStep_Root

Return type

None:param S: :type S: TopoDS_Shape :param T: :type T: TopoDSToStep_Tool :param FP: :type FP: Transfer_FinderProcess :rtype: None

Error()
Return type

TopoDSToStep_BuilderError

Init()
Parameters

S

type S

TopoDS_Shape

param T

type T

TopoDSToStep_Tool

param FP

type FP

Transfer_FinderProcess

rtype

None

Value()
Return type

opencascade::handle<StepShape_TopologicalRepresentationItem>

property thisown

The membership flag

class TopoDSToStep_FacetedTool

Bases: object

static CheckTopoDSShape()
Parameters

SH

type SH

TopoDS_Shape

rtype

TopoDSToStep_FacetedError

property thisown

The membership flag

class TopoDSToStep_MakeBrepWithVoids(*args)

Bases: OCC.Core.TopoDSToStep.TopoDSToStep_Root

Parameters

S

type S

TopoDS_Solid

param FP

type FP

Transfer_FinderProcess

rtype

None

Value()
Return type

opencascade::handle<StepShape_BrepWithVoids>

property thisown

The membership flag

class TopoDSToStep_MakeFacetedBrep(*args)

Bases: OCC.Core.TopoDSToStep.TopoDSToStep_Root

Parameters

S

type S

TopoDS_Shell

param FP

type FP

Transfer_FinderProcess

rtype

None:param S:

type S

TopoDS_Solid

param FP

type FP

Transfer_FinderProcess

rtype

None

Value()
Return type

opencascade::handle<StepShape_FacetedBrep>

property thisown

The membership flag

class TopoDSToStep_MakeFacetedBrepAndBrepWithVoids(*args)

Bases: OCC.Core.TopoDSToStep.TopoDSToStep_Root

Parameters

S

type S

TopoDS_Solid

param FP

type FP

Transfer_FinderProcess

rtype

None

Value()
Return type

opencascade::handle<StepShape_FacetedBrepAndBrepWithVoids>

property thisown

The membership flag

class TopoDSToStep_MakeGeometricCurveSet(*args)

Bases: OCC.Core.TopoDSToStep.TopoDSToStep_Root

Parameters

SH

type SH

TopoDS_Shape

param FP

type FP

Transfer_FinderProcess

rtype

None

Value()
Return type

opencascade::handle<StepShape_GeometricCurveSet>

property thisown

The membership flag

class TopoDSToStep_MakeManifoldSolidBrep(*args)

Bases: OCC.Core.TopoDSToStep.TopoDSToStep_Root

Parameters

S

type S

TopoDS_Shell

param FP

type FP

Transfer_FinderProcess

rtype

None:param S:

type S

TopoDS_Solid

param FP

type FP

Transfer_FinderProcess

rtype

None

Value()
Return type

opencascade::handle<StepShape_ManifoldSolidBrep>

property thisown

The membership flag

class TopoDSToStep_MakeShellBasedSurfaceModel(*args)

Bases: OCC.Core.TopoDSToStep.TopoDSToStep_Root

Parameters

F

type F

TopoDS_Face

param FP

type FP

Transfer_FinderProcess

rtype

None:param S:

type S

TopoDS_Shell

param FP

type FP

Transfer_FinderProcess

rtype

None:param S:

type S

TopoDS_Solid

param FP

type FP

Transfer_FinderProcess

rtype

None

Value()
Return type

opencascade::handle<StepShape_ShellBasedSurfaceModel>

property thisown

The membership flag

class TopoDSToStep_MakeStepEdge(*args)

Bases: OCC.Core.TopoDSToStep.TopoDSToStep_Root

Return type

None:param E: :type E: TopoDS_Edge :param T: :type T: TopoDSToStep_Tool :param FP: :type FP: Transfer_FinderProcess :rtype: None

Error()
Return type

TopoDSToStep_MakeEdgeError

Init()
Parameters

E

type E

TopoDS_Edge

param T

type T

TopoDSToStep_Tool

param FP

type FP

Transfer_FinderProcess

rtype

None

Value()
Return type

opencascade::handle<StepShape_TopologicalRepresentationItem>

property thisown

The membership flag

class TopoDSToStep_MakeStepFace(*args)

Bases: OCC.Core.TopoDSToStep.TopoDSToStep_Root

Return type

None:param F: :type F: TopoDS_Face :param T: :type T: TopoDSToStep_Tool :param FP: :type FP: Transfer_FinderProcess :rtype: None

Error()
Return type

TopoDSToStep_MakeFaceError

Init()
Parameters

F

type F

TopoDS_Face

param T

type T

TopoDSToStep_Tool

param FP

type FP

Transfer_FinderProcess

rtype

None

Value()
Return type

opencascade::handle<StepShape_TopologicalRepresentationItem>

property thisown

The membership flag

class TopoDSToStep_MakeStepVertex(*args)

Bases: OCC.Core.TopoDSToStep.TopoDSToStep_Root

Return type

None:param V: :type V: TopoDS_Vertex :param T: :type T: TopoDSToStep_Tool :param FP: :type FP: Transfer_FinderProcess :rtype: None

Error()
Return type

TopoDSToStep_MakeVertexError

Init()
Parameters

V

type V

TopoDS_Vertex

param T

type T

TopoDSToStep_Tool

param FP

type FP

Transfer_FinderProcess

rtype

None

Value()
Return type

opencascade::handle<StepShape_TopologicalRepresentationItem>

property thisown

The membership flag

class TopoDSToStep_MakeStepWire(*args)

Bases: OCC.Core.TopoDSToStep.TopoDSToStep_Root

Return type

None:param W: :type W: TopoDS_Wire :param T: :type T: TopoDSToStep_Tool :param FP: :type FP: Transfer_FinderProcess :rtype: None

Error()
Return type

TopoDSToStep_MakeWireError

Init()
Parameters

W

type W

TopoDS_Wire

param T

type T

TopoDSToStep_Tool

param FP

type FP

Transfer_FinderProcess

rtype

None

Value()
Return type

opencascade::handle<StepShape_TopologicalRepresentationItem>

property thisown

The membership flag

class TopoDSToStep_Root(*args, **kwargs)

Bases: object

GetTolerance(TopoDSToStep_Root self) → Standard_Real
IsDone()
Return type

bool

SetTolerance(TopoDSToStep_Root self, Standard_Real value)
property thisown

The membership flag

class TopoDSToStep_Tool(*args)

Bases: object

Return type

None:param M: :type M: MoniTool_DataMapOfShapeTransient :param FacetedContext: :type FacetedContext: bool :rtype: None

Bind()
Parameters

S

type S

TopoDS_Shape

param T

type T

StepShape_TopologicalRepresentationItem

rtype

None

CurrentEdge()
Return type

TopoDS_Edge

CurrentFace()
Return type

TopoDS_Face

CurrentShell()
Return type

TopoDS_Shell

CurrentVertex()
Return type

TopoDS_Vertex

CurrentWire()
Return type

TopoDS_Wire

Faceted()
Return type

bool

Find()
Parameters

S

type S

TopoDS_Shape

rtype

opencascade::handle<StepShape_TopologicalRepresentationItem>

Init()
Parameters

M

type M

MoniTool_DataMapOfShapeTransient

param FacetedContext

type FacetedContext

bool

rtype

None

IsBound()
Parameters

S

type S

TopoDS_Shape

rtype

bool

Lowest3DTolerance()
Return type

float

Map()
Return type

MoniTool_DataMapOfShapeTransient

PCurveMode()
  • Returns mode for writing pcurves (initialized by parameter write.surfacecurve.mode)
    rtype

    int

SetCurrentEdge()
Parameters

E

type E

TopoDS_Edge

rtype

None

SetCurrentFace()
Parameters

F

type F

TopoDS_Face

rtype

None

SetCurrentShell()
Parameters

S

type S

TopoDS_Shell

rtype

None

SetCurrentVertex()
Parameters

V

type V

TopoDS_Vertex

rtype

None

SetCurrentWire()
Parameters

W

type W

TopoDS_Wire

rtype

None

SetSurfaceReversed()
Parameters

B

type B

bool

rtype

None

SurfaceReversed()
Return type

bool

property thisown

The membership flag

class TopoDSToStep_WireframeBuilder(*args)

Bases: OCC.Core.TopoDSToStep.TopoDSToStep_Root

Return type

None:param S: :type S: TopoDS_Shape :param T: :type T: TopoDSToStep_Tool :param FP: :type FP: Transfer_FinderProcess :rtype: None

Error()
Return type

TopoDSToStep_BuilderError

GetTrimmedCurveFromEdge()
  • Extraction of Trimmed Curves from TopoDS_Edge for the Creation of a GeometricallyBoundedWireframeRepresentation
    param E

    type E

    TopoDS_Edge

    param F

    type F

    TopoDS_Face

    param M

    type M

    MoniTool_DataMapOfShapeTransient

    param L

    type L

    TColStd_HSequenceOfTransient

    rtype

    bool

GetTrimmedCurveFromFace()
  • Extraction of Trimmed Curves from TopoDS_Face for the Creation of a GeometricallyBoundedWireframeRepresentation
    param F

    type F

    TopoDS_Face

    param M

    type M

    MoniTool_DataMapOfShapeTransient

    param L

    type L

    TColStd_HSequenceOfTransient

    rtype

    bool

GetTrimmedCurveFromShape()
  • Extraction of Trimmed Curves from any TopoDS_Shape for the Creation of a GeometricallyBoundedWireframeRepresentation
    param S

    type S

    TopoDS_Shape

    param M

    type M

    MoniTool_DataMapOfShapeTransient

    param L

    type L

    TColStd_HSequenceOfTransient

    rtype

    bool

Init()
Parameters

S

type S

TopoDS_Shape

param T

type T

TopoDSToStep_Tool

param FP

type FP

Transfer_FinderProcess

rtype

None

Value()
Return type

opencascade::handle<TColStd_HSequenceOfTransient>

property thisown

The membership flag

class topodstostep

Bases: object

static AddResult()
  • Adds an entity into the list of results (binders) for shape stored in FinderProcess
    param FP

    type FP

    Transfer_FinderProcess

    param Shape

    type Shape

    TopoDS_Shape

    param entity

    type entity

    Standard_Transient

    rtype

    void* Adds all entities recorded in Tool into the map of results (binders) stored in FinderProcess

    param FP

    type FP

    Transfer_FinderProcess

    param Tool

    type Tool

    TopoDSToStep_Tool

    rtype

    void

static DecodeBuilderError()
Parameters

E

type E

TopoDSToStep_BuilderError

rtype

opencascade::handle<TCollection_HAsciiString>

static DecodeEdgeError()
Parameters

E

type E

TopoDSToStep_MakeEdgeError

rtype

opencascade::handle<TCollection_HAsciiString>

static DecodeFaceError()
Parameters

E

type E

TopoDSToStep_MakeFaceError

rtype

opencascade::handle<TCollection_HAsciiString>

static DecodeVertexError()
  • Returns a new shape without undirect surfaces.
    param E

    type E

    TopoDSToStep_MakeVertexError

    rtype

    opencascade::handle<TCollection_HAsciiString>

static DecodeWireError()
Parameters

E

type E

TopoDSToStep_MakeWireError

rtype

opencascade::handle<TCollection_HAsciiString>

property thisown

The membership flag