OCC.BRepAdaptor module

class OCC.BRepAdaptor.BRepAdaptor_Array1OfCurve(*args)

Bases: object

Assign()
Parameters:Other (BRepAdaptor_Array1OfCurve &) –
Return type:BRepAdaptor_Array1OfCurve
ChangeValue()
Parameters:Index (Standard_Integer) –
Return type:BRepAdaptor_Curve
Destroy()
Return type:None
Init()
Parameters:V (BRepAdaptor_Curve &) –
Return type:None
IsAllocated()
Return type:bool
Length()
Return type:int
Lower()
Return type:int
Set()
Parameters:Other (BRepAdaptor_Array1OfCurve &) –
Return type:BRepAdaptor_Array1OfCurve
SetValue()
Parameters:
  • Index (Standard_Integer) –
  • Value (BRepAdaptor_Curve &) –
Return type:

None

Upper()
Return type:int
Value()
Parameters:Index (Standard_Integer) –
Return type:BRepAdaptor_Curve
thisown

The membership flag

class OCC.BRepAdaptor.BRepAdaptor_CompCurve(*args)

Bases: OCC.Adaptor3d.Adaptor3d_Curve

Edge()
  • returns an edge and one parameter on them corresponding to the parameter U.
Parameters:
  • U (float) –
  • E (TopoDS_Edge &) –
  • UonE (float &) –
Return type:

None

Initialize()
  • Sets the wire <W>.
Parameters:
  • W (TopoDS_Wire &) –
  • KnotByCurvilinearAbcissa (bool) –
Return type:

None

  • Sets wire <W> and trimmed parameter.
Parameters:
  • W (TopoDS_Wire &) –
  • KnotByCurvilinearAbcissa (bool) –
  • First (float) –
  • Last (float) –
  • Tol (float) –
Return type:

None

SetPeriodic()
  • Set the flag Periodic. Warning: This method has no effect if the wire is not closed
Parameters:Periodic (bool) –
Return type:None
Wire()
  • Returns the wire.
Return type:TopoDS_Wire
thisown

The membership flag

class OCC.BRepAdaptor.BRepAdaptor_Curve(*args)

Bases: OCC.Adaptor3d.Adaptor3d_Curve

Curve()
  • Returns the Curve of the edge.
Return type:GeomAdaptor_Curve
CurveOnSurface()
  • Returns the CurveOnSurface of the edge.
Return type:Adaptor3d_CurveOnSurface
Edge()
  • Returns the edge.
Return type:TopoDS_Edge
Initialize()
  • Sets the Curve <self> to acces to the geometry of edge <E>.
Parameters:E (TopoDS_Edge &) –
Return type: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.
Parameters:
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
Return type:

None

Is3DCurve()
  • Returns True if the edge geometry is computed from a 3D curve.
Return type:bool
IsCurveOnSurface()
  • Returns True if the edge geometry is computed from a pcurve on a surface.
Return type:bool
Tolerance()
  • Returns the edge tolerance.
Return type:float
Trsf()
  • Returns the coordinate system of the curve.
Return type:gp_Trsf
thisown

The membership flag

class OCC.BRepAdaptor.BRepAdaptor_Curve2d(*args)

Bases: OCC.Geom2dAdaptor.Geom2dAdaptor_Curve

Edge()
  • Returns the Edge.
Return type:TopoDS_Edge
Face()
  • Returns the Face.
Return type:TopoDS_Face
Initialize()
  • Initialize with the pcurve of <E> on <F>.
Parameters:
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
Return type:

None

thisown

The membership flag

class OCC.BRepAdaptor.BRepAdaptor_HArray1OfCurve(*args)

Bases: OCC.MMgt.MMgt_TShared

Array1()
Return type:BRepAdaptor_Array1OfCurve
ChangeArray1()
Return type:BRepAdaptor_Array1OfCurve
ChangeValue()
Parameters:Index (Standard_Integer) –
Return type:BRepAdaptor_Curve
GetHandle()

BRepAdaptor_HArray1OfCurve_GetHandle(BRepAdaptor_HArray1OfCurve self) -> Handle_BRepAdaptor_HArray1OfCurve

Init()
Parameters:V (BRepAdaptor_Curve &) –
Return type:None
Length()
Return type:int
Lower()
Return type:int
SetValue()
Parameters:
  • Index (Standard_Integer) –
  • Value (BRepAdaptor_Curve &) –
Return type:

None

Upper()
Return type:int
Value()
Parameters:Index (Standard_Integer) –
Return type:BRepAdaptor_Curve
thisown

The membership flag

class OCC.BRepAdaptor.BRepAdaptor_HCompCurve(*args)

Bases: OCC.Adaptor3d.Adaptor3d_HCurve

ChangeCurve()
Return type:BRepAdaptor_CompCurve
GetHandle()

BRepAdaptor_HCompCurve_GetHandle(BRepAdaptor_HCompCurve self) -> Handle_BRepAdaptor_HCompCurve

Set()
Parameters:C (BRepAdaptor_CompCurve &) –
Return type:None
thisown

The membership flag

class OCC.BRepAdaptor.BRepAdaptor_HCurve(*args)

Bases: OCC.Adaptor3d.Adaptor3d_HCurve

ChangeCurve()
Return type:BRepAdaptor_Curve
GetHandle()

BRepAdaptor_HCurve_GetHandle(BRepAdaptor_HCurve self) -> Handle_BRepAdaptor_HCurve

Set()
Parameters:C (BRepAdaptor_Curve &) –
Return type:None
thisown

The membership flag

class OCC.BRepAdaptor.BRepAdaptor_HCurve2d(*args)

Bases: OCC.Adaptor2d.Adaptor2d_HCurve2d

ChangeCurve2d()
Return type:BRepAdaptor_Curve2d
GetHandle()

BRepAdaptor_HCurve2d_GetHandle(BRepAdaptor_HCurve2d self) -> Handle_BRepAdaptor_HCurve2d

Set()
Parameters:C (BRepAdaptor_Curve2d &) –
Return type:None
thisown

The membership flag

class OCC.BRepAdaptor.BRepAdaptor_HSurface(*args)

Bases: OCC.Adaptor3d.Adaptor3d_HSurface

ChangeSurface()
Return type:BRepAdaptor_Surface
GetHandle()

BRepAdaptor_HSurface_GetHandle(BRepAdaptor_HSurface self) -> Handle_BRepAdaptor_HSurface

Set()
Parameters:S (BRepAdaptor_Surface &) –
Return type:None
thisown

The membership flag

class OCC.BRepAdaptor.BRepAdaptor_Surface(*args)

Bases: OCC.Adaptor3d.Adaptor3d_Surface

ChangeSurface()
  • Returns the surface.
Return type:GeomAdaptor_Surface
Face()
  • Returns the face.
Return type:TopoDS_Face
Initialize()
  • Sets the surface to the geometry of <F>.
Parameters:
  • F (TopoDS_Face &) –
  • Restriction (bool) – default value is Standard_True
Return type:

None

  • Sets the surface to the geometry of <F>.
Parameters:
  • F (TopoDS_Face &) –
  • Restriction (bool) – default value is Standard_True
Return type:

None

Surface()
  • Returns the surface.
Return type:GeomAdaptor_Surface
Tolerance()
  • Returns the face tolerance.
Return type:float
Trsf()
  • Returns the surface coordinate system.
Return type:gp_Trsf
thisown

The membership flag

class OCC.BRepAdaptor.Handle_BRepAdaptor_HArray1OfCurve(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class OCC.BRepAdaptor.Handle_BRepAdaptor_HCompCurve(*args)

Bases: OCC.Adaptor3d.Handle_Adaptor3d_HCurve

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class OCC.BRepAdaptor.Handle_BRepAdaptor_HCurve(*args)

Bases: OCC.Adaptor3d.Handle_Adaptor3d_HCurve

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class OCC.BRepAdaptor.Handle_BRepAdaptor_HCurve2d(*args)

Bases: OCC.Adaptor2d.Handle_Adaptor2d_HCurve2d

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class OCC.BRepAdaptor.Handle_BRepAdaptor_HSurface(*args)

Bases: OCC.Adaptor3d.Handle_Adaptor3d_HSurface

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class OCC.BRepAdaptor.SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()