OCC.BRepAdaptor module¶
-
class
BRepAdaptor_Array1OfCurve(*args)¶ Bases:
objectParameters: Return type: Return type: -
Assign()¶ Parameters: Other (BRepAdaptor_Array1OfCurve &) – Return type: BRepAdaptor_Array1OfCurve
-
ChangeValue()¶ Parameters: Index (int) – Return type: BRepAdaptor_Curve
-
Set()¶ Parameters: Other (BRepAdaptor_Array1OfCurve &) – Return type: BRepAdaptor_Array1OfCurve
-
Value()¶ Parameters: Index (int) – Return type: BRepAdaptor_Curve
-
thisown¶ The membership flag
-
-
class
BRepAdaptor_CompCurve(*args)¶ Bases:
OCC.Adaptor3d.Adaptor3d_Curve- Creates an undefined Curve with no Wire loaded.
Return type: Parameters: - W (TopoDS_Wire &) –
- KnotByCurvilinearAbcissa (bool) – default value is Standard_False
Return type: - Creates a Curve to acces to the geometry of edge <W>.
Parameters: Return type: -
Edge()¶ - returns an edge and one parameter on them corresponding to the parameter U.
Parameters: - U (float) –
- E (TopoDS_Edge &) –
- UonE (float &) –
Return type:
-
Initialize()¶ - Sets the wire <W>.
Parameters: - W (TopoDS_Wire &) –
- KnotByCurvilinearAbcissa (bool) –
Return type: - Sets wire <W> and trimmed parameter.
Parameters: Return type:
-
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
BRepAdaptor_Curve(*args)¶ Bases:
OCC.Adaptor3d.Adaptor3d_Curve- Creates an undefined Curve with no Edge loaded.
Return type: None - Creates a Curve to acces to the geometry of edge <E>.
Parameters: E (TopoDS_Edge &) – Return type: 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.
Parameters: - E (TopoDS_Edge &) –
- F (TopoDS_Face &) –
Return type: -
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:
-
IsCurveOnSurface()¶ - Returns True if the edge geometry is computed from a pcurve on a surface.
Return type: bool
-
thisown¶ The membership flag
-
class
BRepAdaptor_Curve2d(*args)¶ Bases:
OCC.Geom2dAdaptor.Geom2dAdaptor_Curve- Creates an uninitialized curve2d.
Return type: None - Creates with the pcurve of <E> on <F>.
Parameters: - E (TopoDS_Edge &) –
- F (TopoDS_Face &) –
Return type: -
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:
-
thisown¶ The membership flag
-
class
BRepAdaptor_HArray1OfCurve(*args)¶ Bases:
OCC.MMgt.MMgt_TSharedParameters: Return type: Return type: -
Array1()¶ Return type: BRepAdaptor_Array1OfCurve
-
ChangeArray1()¶ Return type: BRepAdaptor_Array1OfCurve
-
ChangeValue()¶ Parameters: Index (int) – Return type: BRepAdaptor_Curve
-
GetHandle()¶
-
Value()¶ Parameters: Index (int) – Return type: BRepAdaptor_Curve
-
thisown¶ The membership flag
-
-
class
BRepAdaptor_HCompCurve(*args)¶ Bases:
OCC.Adaptor3d.Adaptor3d_HCurveReturn type: None Parameters: C (BRepAdaptor_CompCurve &) – Return type: None -
ChangeCurve()¶ Return type: BRepAdaptor_CompCurve
-
GetHandle()¶
-
thisown¶ The membership flag
-
-
class
BRepAdaptor_HCurve(*args)¶ Bases:
OCC.Adaptor3d.Adaptor3d_HCurveReturn type: None Parameters: C (BRepAdaptor_Curve &) – Return type: None -
ChangeCurve()¶ Return type: BRepAdaptor_Curve
-
GetHandle()¶
-
thisown¶ The membership flag
-
-
class
BRepAdaptor_HCurve2d(*args)¶ Bases:
OCC.Adaptor2d.Adaptor2d_HCurve2dReturn type: None Parameters: C (BRepAdaptor_Curve2d &) – Return type: None -
ChangeCurve2d()¶ Return type: BRepAdaptor_Curve2d
-
GetHandle()¶
-
thisown¶ The membership flag
-
-
class
BRepAdaptor_HSurface(*args)¶ Bases:
OCC.Adaptor3d.Adaptor3d_HSurfaceReturn type: None Parameters: S (BRepAdaptor_Surface &) – Return type: None -
ChangeSurface()¶ Return type: BRepAdaptor_Surface
-
GetHandle()¶
-
thisown¶ The membership flag
-
-
class
BRepAdaptor_Surface(*args)¶ Bases:
OCC.Adaptor3d.Adaptor3d_Surface- Creates an undefined surface with no face loaded.
Return type: 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.
Parameters: - F (TopoDS_Face &) –
- R (bool) – default value is Standard_True
Return type: -
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:
-
Surface()¶ - Returns the surface.
Return type: GeomAdaptor_Surface
-
thisown¶ The membership flag
-
class
Handle_BRepAdaptor_HArray1OfCurve(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared-
static
DownCast()¶
-
GetObject()¶
-
IsNull()¶
-
Nullify()¶
-
thisown¶ The membership flag
-
static
-
class
Handle_BRepAdaptor_HCompCurve(*args)¶ Bases:
OCC.Adaptor3d.Handle_Adaptor3d_HCurve-
static
DownCast()¶
-
GetObject()¶
-
IsNull()¶
-
Nullify()¶
-
thisown¶ The membership flag
-
static
-
class
Handle_BRepAdaptor_HCurve(*args)¶ Bases:
OCC.Adaptor3d.Handle_Adaptor3d_HCurve-
static
DownCast()¶
-
GetObject()¶
-
IsNull()¶
-
Nullify()¶
-
thisown¶ The membership flag
-
static
-
class
Handle_BRepAdaptor_HCurve2d(*args)¶ Bases:
OCC.Adaptor2d.Handle_Adaptor2d_HCurve2d-
static
DownCast()¶
-
GetObject()¶
-
IsNull()¶
-
Nullify()¶
-
thisown¶ The membership flag
-
static
-
class
Handle_BRepAdaptor_HSurface(*args)¶ Bases:
OCC.Adaptor3d.Handle_Adaptor3d_HSurface-
static
DownCast()¶
-
GetObject()¶
-
IsNull()¶
-
Nullify()¶
-
thisown¶ The membership flag
-
static
-
class
SwigPyIterator(*args, **kwargs)¶ Bases:
object-
advance()¶
-
copy()¶
-
decr()¶
-
distance()¶
-
equal()¶
-
incr()¶
-
next()¶
-
previous()¶
-
thisown¶ The membership flag
-
value()¶
-
-
register_handle(handle, base_object)¶ Inserts the handle into the base object to prevent memory corruption in certain cases