OCC.Core.BRepAdaptor module

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

class BRepAdaptor_Array1OfCurve(*args)

Bases: object

Assign()
ChangeFirst()
ChangeLast()
ChangeValue()
First()
Init()
IsAllocated()
IsDeletable()
IsEmpty()
Last()
Length()
Lower()
Move()
Resize()
Set()
SetValue()
Size()
Upper()
Value()
begin()
cbegin()
cend()
end()
next()
property thisown

The membership flag

class BRepAdaptor_CompCurve(*args)

Bases: OCC.Core.Adaptor3d.Adaptor3d_Curve

  • Creates an undefined Curve with no Wire loaded.
    rtype

    None:param W:

    type W

    TopoDS_Wire

    param KnotByCurvilinearAbcissa

    default value is Standard_False

    type KnotByCurvilinearAbcissa

    bool

    rtype

    None* Creates a Curve to acces to the geometry of edge <W>.

    param W

    type W

    TopoDS_Wire

    param KnotByCurvilinearAbcissa

    type KnotByCurvilinearAbcissa

    bool

    param First

    type First

    float

    param Last

    type Last

    float

    param Tol

    type Tol

    float

    rtype

    None

Edge()
  • returns an edge and one parameter on them corresponding to the parameter U.
    param U

    type U

    float

    param E

    type E

    TopoDS_Edge

    param UonE

    type UonE

    float

    rtype

    None

Initialize()
  • Sets the wire <W>.
    param W

    type W

    TopoDS_Wire

    param KnotByCurvilinearAbcissa

    type KnotByCurvilinearAbcissa

    bool

    rtype

    None* Sets wire <W> and trimmed parameter.

    param W

    type W

    TopoDS_Wire

    param KnotByCurvilinearAbcissa

    type KnotByCurvilinearAbcissa

    bool

    param First

    type First

    float

    param Last

    type Last

    float

    param Tol

    type Tol

    float

    rtype

    None

Wire()
  • Returns the wire.
    rtype

    TopoDS_Wire

property thisown

The membership flag

class BRepAdaptor_Curve(*args)

Bases: OCC.Core.Adaptor3d.Adaptor3d_Curve

  • Creates an undefined Curve with no Edge loaded.
    rtype

    None* Creates a Curve to acces to the geometry of edge <E>.

    param E

    type E

    TopoDS_Edge

    rtype

    None* Creates a Curve to acces to the geometry of edge <E>. The geometry will be computed using the parametric curve of <E> on the face <F>. An Error is raised if the edge does not have a pcurve on the face.

    param E

    type E

    TopoDS_Edge

    param F

    type F

    TopoDS_Face

    rtype

    None

Curve()
  • Returns the Curve of the edge.
    rtype

    GeomAdaptor_Curve

CurveOnSurface()
  • Returns the CurveOnSurface of the edge.
    rtype

    Adaptor3d_CurveOnSurface

Edge()
  • Returns the edge.
    rtype

    TopoDS_Edge

Initialize()
  • Sets the Curve <self> to acces to the geometry of edge <E>.
    param E

    type E

    TopoDS_Edge

    rtype

    None* Sets the Curve <self> to acces to the geometry of edge <E>. The geometry will be computed using the parametric curve of <E> on the face <F>. An Error is raised if the edge does not have a pcurve on the face.

    param E

    type E

    TopoDS_Edge

    param F

    type F

    TopoDS_Face

    rtype

    None

Is3DCurve()
  • Returns True if the edge geometry is computed from a 3D curve.
    rtype

    bool

IsCurveOnSurface()
  • Returns True if the edge geometry is computed from a pcurve on a surface.
    rtype

    bool

Reset()
  • Reset currently loaded curve (undone Load()).
    rtype

    None

Tolerance()
  • Returns the edge tolerance.
    rtype

    float

Trsf()
  • Returns the coordinate system of the curve.
    rtype

    gp_Trsf

property thisown

The membership flag

class BRepAdaptor_Curve2d(*args)

Bases: OCC.Core.Geom2dAdaptor.Geom2dAdaptor_Curve

  • Creates an uninitialized curve2d.
    rtype

    None* Creates with the pcurve of <E> on <F>.

    param E

    type E

    TopoDS_Edge

    param F

    type F

    TopoDS_Face

    rtype

    None

Edge()
  • Returns the Edge.
    rtype

    TopoDS_Edge

Face()
  • Returns the Face.
    rtype

    TopoDS_Face

Initialize()
  • Initialize with the pcurve of <E> on <F>.
    param E

    type E

    TopoDS_Edge

    param F

    type F

    TopoDS_Face

    rtype

    None

property thisown

The membership flag

class BRepAdaptor_HArray1OfCurve(*args)

Bases: OCC.Core.BRepAdaptor.BRepAdaptor_Array1OfCurve, OCC.Core.Standard.Standard_Transient

  • Empty constructor

Return type

None* Copy constructor – does nothing

Parameters

& (Standard_Transient) –

Return type

None

Array1()
ChangeArray1()
static DownCast(t)
property thisown

The membership flag

class BRepAdaptor_HCompCurve(*args)

Bases: OCC.Core.Adaptor3d.Adaptor3d_HCurve

  • Creates an empty GenHCurve.
    rtype

    None* Creates a GenHCurve from a Curve

    param C

    type C

    BRepAdaptor_CompCurve

    rtype

    None

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

    BRepAdaptor_CompCurve

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

    type C

    BRepAdaptor_CompCurve

    rtype

    None

property thisown

The membership flag

class BRepAdaptor_HCurve(*args)

Bases: OCC.Core.Adaptor3d.Adaptor3d_HCurve

  • Creates an empty GenHCurve.
    rtype

    None* Creates a GenHCurve from a Curve

    param C

    type C

    BRepAdaptor_Curve

    rtype

    None

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

    BRepAdaptor_Curve

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

    type C

    BRepAdaptor_Curve

    rtype

    None

property thisown

The membership flag

class BRepAdaptor_HCurve2d(*args)

Bases: OCC.Core.Adaptor2d.Adaptor2d_HCurve2d

  • Creates an empty GenHCurve2d.
    rtype

    None* Creates a GenHCurve2d from a Curve

    param C

    type C

    BRepAdaptor_Curve2d

    rtype

    None

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

    BRepAdaptor_Curve2d

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

    type C

    BRepAdaptor_Curve2d

    rtype

    None

property thisown

The membership flag

class BRepAdaptor_HSurface(*args)

Bases: OCC.Core.Adaptor3d.Adaptor3d_HSurface

  • Creates an empty GenHSurface.
    rtype

    None* Creates a GenHSurface from a Surface.

    param S

    type S

    BRepAdaptor_Surface

    rtype

    None

ChangeSurface()
  • Returns the surface used to create the GenHSurface.
    rtype

    BRepAdaptor_Surface

static DownCast(t)
Set()
  • Sets the field of the GenHSurface.
    param S

    type S

    BRepAdaptor_Surface

    rtype

    None

property thisown

The membership flag

class BRepAdaptor_Surface(*args)

Bases: OCC.Core.Adaptor3d.Adaptor3d_Surface

  • Creates an undefined surface with no face loaded.
    rtype

    None* Creates a surface to access the geometry of <F>. If <Restriction> is true the parameter range is the parameter range in the UV space of the restriction.

    param F

    type F

    TopoDS_Face

    param R

    default value is Standard_True

    type R

    bool

    rtype

    None

ChangeSurface()
  • Returns the surface.
    rtype

    GeomAdaptor_Surface

Face()
  • Returns the face.
    rtype

    TopoDS_Face

Initialize()
  • Sets the surface to the geometry of <F>.
    param F

    type F

    TopoDS_Face

    param Restriction

    default value is Standard_True

    type Restriction

    bool

    rtype

    None

Surface()
  • Returns the surface.
    rtype

    GeomAdaptor_Surface

Tolerance()
  • Returns the face tolerance.
    rtype

    float

Trsf()
  • Returns the surface coordinate system.
    rtype

    gp_Trsf

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()