OCC.BRepBlend module

class BRepBlend_AppFunc(*args)

Bases: OCC.BRepBlend.BRepBlend_AppFuncRoot

Parameters:
  • Line (Handle_BRepBlend_Line &) –
  • Func (Blend_Function &) –
  • Tol3d (float) –
  • Tol2d (float) –
Return type:

None

GetHandle()
thisown

The membership flag

class BRepBlend_AppFuncRoot(*args, **kwargs)

Bases: OCC.Approx.Approx_SweepFunction

GetHandle()
Point()
Parameters:
  • Func (Blend_AppFunction &) –
  • Param (float) –
  • Sol (math_Vector &) –
  • Pnt (Blend_Point &) –
Return type:

void

Vec()
Parameters:
  • Sol (math_Vector &) –
  • Pnt (Blend_Point &) –
Return type:

void

thisown

The membership flag

class BRepBlend_AppFuncRst(*args)

Bases: OCC.BRepBlend.BRepBlend_AppFuncRoot

Parameters:
  • Line (Handle_BRepBlend_Line &) –
  • Func (Blend_SurfRstFunction &) –
  • Tol3d (float) –
  • Tol2d (float) –
Return type:

None

GetHandle()
thisown

The membership flag

class BRepBlend_AppFuncRstRst(*args)

Bases: OCC.BRepBlend.BRepBlend_AppFuncRoot

Parameters:
  • Line (Handle_BRepBlend_Line &) –
  • Func (Blend_RstRstFunction &) –
  • Tol3d (float) –
  • Tol2d (float) –
Return type:

None

GetHandle()
thisown

The membership flag

class BRepBlend_AppSurf(*args)

Bases: OCC.AppBlend.AppBlend_Approx

Return type:

None

Parameters:
  • Degmin (int) –
  • Degmax (int) –
  • Tol3d (float) –
  • Tol2d (float) –
  • NbIt (int) –
  • KnownParameters (bool) – default value is Standard_False
Return type:

None

Continuity()
Return type:GeomAbs_Shape
CriteriumWeight()
Parameters:
  • W1 (float &) –
  • W2 (float &) –
  • W3 (float &) –
Return type:

None

Init()
Parameters:
  • Degmin (int) –
  • Degmax (int) –
  • Tol3d (float) –
  • Tol2d (float) –
  • NbIt (int) –
  • KnownParameters (bool) – default value is Standard_False
Return type:

None

ParType()
Return type:Approx_ParametrizationType
Perform()
Parameters:
  • Lin (Handle_BRepBlend_Line &) –
  • SecGen (Blend_AppFunction &) –
  • SpApprox (bool) – default value is Standard_False
  • Lin
  • SecGen
  • NbMaxP (int) –
Return type:

None

Return type:

None

PerformSmoothing()
Parameters:
  • Lin (Handle_BRepBlend_Line &) –
  • SecGen (Blend_AppFunction &) –
Return type:

None

SetContinuity()
Parameters:C (GeomAbs_Shape) –
Return type:None
SetCriteriumWeight()
Parameters:
Return type:

None

SetParType()
Parameters:ParType (Approx_ParametrizationType) –
Return type:None
thisown

The membership flag

class BRepBlend_AppSurface(*args)

Bases: OCC.AppBlend.AppBlend_Approx

  • Approximation of the new Surface (and eventually the 2d Curves on the support surfaces). Normaly the 2d curve are approximated with an tolerance given by the resolution on support surfaces, but if this tolerance is too large Tol2d is used.
Parameters:
  • Funct (Handle_Approx_SweepFunction &) –
  • First (float) –
  • Last (float) –
  • Tol3d (float) –
  • Tol2d (float) –
  • TolAngular (float) –
  • Continuity (GeomAbs_Shape) – default value is GeomAbs_C0
  • Degmax (int) – default value is 11
  • Segmax (int) – default value is 50
Return type:

None

DumpToString()

BRepBlend_AppSurface_DumpToString(BRepBlend_AppSurface self) -> std::string

Max2dError()
  • returns the maximum error in the <Index> 2d curve approximation.
Parameters:Index (int) –
Return type:float
MaxErrorOnSurf()
  • returns the maximum error in the suface approximation.
Return type:float
thisown

The membership flag

class BRepBlend_BlendTool

Bases: object

static Bounds()
  • Returns the parametric limits on the arc C. These limits must be finite : they are either the real limits of the arc, for a finite arc, or a bounding box for an infinite arc.
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Ufirst (float &) –
  • Ulast (float &) –
Return type:

void

static CurveOnSurf()
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • S (Handle_Adaptor3d_HSurface &) –
Return type:

Handle_Adaptor2d_HCurve2d

static Inters()
Parameters:
  • P1 (gp_Pnt2d) –
  • P2 (gp_Pnt2d) –
  • S (Handle_Adaptor3d_HSurface &) –
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Param (float &) –
  • Dist (float &) –
Return type:

bool

static NbSamplesU()
Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • u1 (float) –
  • u2 (float) –
Return type:

int

static NbSamplesV()
Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • v1 (float) –
  • v2 (float) –
Return type:

int

static Parameter()
  • Returns the parameter of the vertex V on the edge A.
Parameters:
  • V (Handle_Adaptor3d_HVertex &) –
  • A (Handle_Adaptor2d_HCurve2d &) –
Return type:

float

static Project()
  • Projects the point P on the arc C. If the methods returns Standard_True, the projection is successful, and Paramproj is the parameter on the arc of the projected point, Dist is the distance between P and the curve.. If the method returns Standard_False, Param proj and Dist are not significant.
Parameters:
  • P (gp_Pnt2d) –
  • S (Handle_Adaptor3d_HSurface &) –
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Paramproj (float &) –
  • Dist (float &) –
Return type:

bool

static SingularOnUMax()
Parameters:S (Handle_Adaptor3d_HSurface &) –
Return type:bool
static SingularOnUMin()
Parameters:S (Handle_Adaptor3d_HSurface &) –
Return type:bool
static SingularOnVMax()
Parameters:S (Handle_Adaptor3d_HSurface &) –
Return type:bool
static SingularOnVMin()
Parameters:S (Handle_Adaptor3d_HSurface &) –
Return type:bool
static Tolerance()
  • Returns the parametric tolerance on the arc A used to consider that the vertex and another point meet, i-e if Abs(Parameter(Vertex)-Parameter(OtherPnt))<= Tolerance, the points are ‘merged’.
Parameters:
  • V (Handle_Adaptor3d_HVertex &) –
  • A (Handle_Adaptor2d_HCurve2d &) –
Return type:

float

thisown

The membership flag

BRepBlend_BlendTool_Bounds()
  • Returns the parametric limits on the arc C. These limits must be finite : they are either the real limits of the arc, for a finite arc, or a bounding box for an infinite arc.
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Ufirst (float &) –
  • Ulast (float &) –
Return type:

void

BRepBlend_BlendTool_CurveOnSurf()
Parameters:
  • C (Handle_Adaptor2d_HCurve2d &) –
  • S (Handle_Adaptor3d_HSurface &) –
Return type:

Handle_Adaptor2d_HCurve2d

BRepBlend_BlendTool_Inters()
Parameters:
  • P1 (gp_Pnt2d) –
  • P2 (gp_Pnt2d) –
  • S (Handle_Adaptor3d_HSurface &) –
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Param (float &) –
  • Dist (float &) –
Return type:

bool

BRepBlend_BlendTool_NbSamplesU()
Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • u1 (float) –
  • u2 (float) –
Return type:

int

BRepBlend_BlendTool_NbSamplesV()
Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • v1 (float) –
  • v2 (float) –
Return type:

int

BRepBlend_BlendTool_Parameter()
  • Returns the parameter of the vertex V on the edge A.
Parameters:
  • V (Handle_Adaptor3d_HVertex &) –
  • A (Handle_Adaptor2d_HCurve2d &) –
Return type:

float

BRepBlend_BlendTool_Project()
  • Projects the point P on the arc C. If the methods returns Standard_True, the projection is successful, and Paramproj is the parameter on the arc of the projected point, Dist is the distance between P and the curve.. If the method returns Standard_False, Param proj and Dist are not significant.
Parameters:
  • P (gp_Pnt2d) –
  • S (Handle_Adaptor3d_HSurface &) –
  • C (Handle_Adaptor2d_HCurve2d &) –
  • Paramproj (float &) –
  • Dist (float &) –
Return type:

bool

BRepBlend_BlendTool_SingularOnUMax()
Parameters:S (Handle_Adaptor3d_HSurface &) –
Return type:bool
BRepBlend_BlendTool_SingularOnUMin()
Parameters:S (Handle_Adaptor3d_HSurface &) –
Return type:bool
BRepBlend_BlendTool_SingularOnVMax()
Parameters:S (Handle_Adaptor3d_HSurface &) –
Return type:bool
BRepBlend_BlendTool_SingularOnVMin()
Parameters:S (Handle_Adaptor3d_HSurface &) –
Return type:bool
BRepBlend_BlendTool_Tolerance()
  • Returns the parametric tolerance on the arc A used to consider that the vertex and another point meet, i-e if Abs(Parameter(Vertex)-Parameter(OtherPnt))<= Tolerance, the points are ‘merged’.
Parameters:
  • V (Handle_Adaptor3d_HVertex &) –
  • A (Handle_Adaptor2d_HCurve2d &) –
Return type:

float

class BRepBlend_CSWalking(*args)

Bases: object

Parameters:
  • Curv (Handle_Adaptor3d_HCurve &) –
  • Surf (Handle_Adaptor3d_HSurface &) –
  • Domain (Handle_Adaptor3d_TopolTool &) –
Return type:

None

Complete()
Parameters:
  • F (Blend_CSFunction &) –
  • Pmin (float) –
Return type:

bool

IsDone()
Return type:bool
Line()
Return type:Handle_BRepBlend_Line
Perform()
Parameters:
  • F (Blend_CSFunction &) –
  • Pdep (float) –
  • Pmax (float) –
  • MaxStep (float) –
  • TolGuide (float) –
  • Soldep (math_Vector &) –
  • Tolesp (float) –
  • Fleche (float) –
  • Appro (bool) – default value is Standard_False
Return type:

None

thisown

The membership flag

class BRepBlend_CurvPointRadInv(*args)

Bases: OCC.Blend.Blend_CurvPointFuncInv

Parameters:
  • C1 (Handle_Adaptor3d_HCurve &) –
  • C2 (Handle_Adaptor3d_HCurve &) –
Return type:

None

Set()
Parameters:Choix (int) –
Return type:None
  • Set the Point on which a solution has to be found.
Parameters:P (gp_Pnt) –
Return type:None
thisown

The membership flag

class BRepBlend_Extremity(*args)

Bases: object

Return type:None
  • Creates an extremity on a surface
Parameters:
Return type:

None

  • Creates an extremity on a surface. This extremity matches the vertex <Vtx>.
Parameters:
Return type:

None

  • Creates an extremity on a curve
Parameters:
Return type:

None

AddArc()
  • Sets the values of a point which is on the arc A, at parameter Param.
Parameters:
  • A (Handle_Adaptor2d_HCurve2d &) –
  • Param (float) –
  • TLine (IntSurf_Transition &) –
  • TArc (IntSurf_Transition &) –
Return type:

None

HasTangent()
  • Returns True if the Tangent is stored.
Return type:bool
IsVertex()
  • Returns Standard_True when the point coincide with an existing vertex.
Return type:bool
NbPointOnRst()
  • Returns the number of arc containing the extremity. If the method returns 0, the point is inside the surface. Otherwise, the extremity lies on at least 1 arc, and all the information (arc, parameter, transitions) are given by the point on restriction (PointOnRst) returned by the next method.
Return type:int
Parameter()
Return type:float
ParameterOnGuide()
Return type:float
Parameters()
  • This method returns the parameters of the point on the concerned surface.
Parameters:
  • U (float &) –
  • V (float &) –
Return type:

None

PointOnRst()
Parameters:Index (int) –
Return type:BRepBlend_PointOnRst
SetTangent()
  • Set the tangent vector for an extremity on a surface.
Parameters:Tangent (gp_Vec) –
Return type:None
SetValue()
  • Set the values for an extremity on a surface.
Parameters:
Return type:

None

  • Set the values for an extremity on a surface.This extremity matches the vertex <Vtx>.
Parameters:
Return type:

None

  • Set the values for an extremity on curve.
Parameters:
Return type:

None

SetVertex()
  • Set the values for an extremity on a curve.
Parameters:V (Handle_Adaptor3d_HVertex &) –
Return type:None
Tangent()
  • This method returns the value of tangent in 3d space.
Return type:gp_Vec
Tolerance()
  • This method returns the fuzziness on the point in 3d space.
Return type:float
Value()
  • This method returns the value of the point in 3d space.
Return type:gp_Pnt
Vertex()
  • Returns the vertex when IsVertex returns Standard_True.
Return type:Handle_Adaptor3d_HVertex
thisown

The membership flag

class BRepBlend_Line(*args)

Bases: OCC.MMgt.MMgt_TShared

Return type:None
Append()
  • Adds a point in the line.
Parameters:P (Blend_Point &) –
Return type:None
Clear()
  • Clears the content of the line.
Return type:None
EndPointOnFirst()
  • Returns the end point on S1.
Return type:BRepBlend_Extremity
EndPointOnSecond()
  • Returns the point on S2.
Return type:BRepBlend_Extremity
GetHandle()
InsertBefore()
  • Adds a point in the line at the first place.
Parameters:
  • Index (int) –
  • P (Blend_Point &) –
Return type:

None

NbPoints()
  • Returns the number of points in the line.
Return type:int
Point()
  • Returns the point of range Index.
Parameters:Index (int) –
Return type:Blend_Point
Prepend()
  • Adds a point in the line at the first place.
Parameters:P (Blend_Point &) –
Return type:None
Remove()
  • Removes from <self> all the items of positions between <FromIndex> and <ToIndex>. Raises an exception if the indices are out of bounds.
Parameters:
  • FromIndex (int) –
  • ToIndex (int) –
Return type:

None

Set()
  • Sets the value of the transition of the line on S1 and the line on S2.
Parameters:
  • TranS1 (IntSurf_TypeTrans) –
  • TranS2 (IntSurf_TypeTrans) –
Return type:

None

  • Sets the value of the transition of the line on a surface
Parameters:Trans (IntSurf_TypeTrans) –
Return type:None
SetEndPoints()
  • Sets tne values of the end points for the line.
Parameters:
  • EndPt1 (BRepBlend_Extremity &) –
  • EndPt2 (BRepBlend_Extremity &) –
Return type:

None

SetStartPoints()
  • Sets the values of the start points for the line.
Parameters:
  • StartPt1 (BRepBlend_Extremity &) –
  • StartPt2 (BRepBlend_Extremity &) –
Return type:

None

StartPointOnFirst()
  • Returns the start point on S1.
Return type:BRepBlend_Extremity
StartPointOnSecond()
  • Returns the start point on S2
Return type:BRepBlend_Extremity
TransitionOnS()
  • Returns the type of the transition of the line defined on the surface.
Return type:IntSurf_TypeTrans
TransitionOnS1()
  • Returns the type of the transition of the line defined on the first surface. The transition is ‘constant’ along the line. The transition is IN if the line is oriented in such a way that the system of vectors (N,DRac,T) is right-handed, where N is the normal to the first surface at a point P, DRac is a vector tangent to the blending patch, oriented towards the valid part of this patch, T is the tangent to the line on S1 at P. The transitioon is OUT when the system of vectors is left-handed.
Return type:IntSurf_TypeTrans
TransitionOnS2()
  • Returns the type of the transition of the line defined on the second surface. The transition is ‘constant’ along the line.
Return type:IntSurf_TypeTrans
thisown

The membership flag

class BRepBlend_PointOnRst(*args)

Bases: object

  • Empty constructor.
Return type:None
  • Creates the PointOnRst on the arc A, at parameter Param, with the transition TLine on the walking line, and TArc on the arc A.
Parameters:
  • A (Handle_Adaptor2d_HCurve2d &) –
  • Param (float) –
  • TLine (IntSurf_Transition &) –
  • TArc (IntSurf_Transition &) –
Return type:

None

Arc()
  • Returns the arc of restriction containing the vertex.
Return type:Handle_Adaptor2d_HCurve2d
ParameterOnArc()
  • Returns the parameter of the point on the arc returned by the method Arc().
Return type:float
SetArc()
  • Sets the values of a point which is on the arc A, at parameter Param.
Parameters:
  • A (Handle_Adaptor2d_HCurve2d &) –
  • Param (float) –
  • TLine (IntSurf_Transition &) –
  • TArc (IntSurf_Transition &) –
Return type:

None

TransitionOnArc()
  • Returns the transition of the point on the arc returned by Arc().
Return type:IntSurf_Transition
TransitionOnLine()
  • Returns the transition of the point on the line on surface.
Return type:IntSurf_Transition
thisown

The membership flag

class BRepBlend_RstRstConstRad(*args)

Bases: OCC.Blend.Blend_RstRstFunction

Parameters:
  • Surf1 (Handle_Adaptor3d_HSurface &) –
  • Rst1 (Handle_Adaptor2d_HCurve2d &) –
  • Surf2 (Handle_Adaptor3d_HSurface &) –
  • Rst2 (Handle_Adaptor2d_HCurve2d &) –
  • CGuide (Handle_Adaptor3d_HCurve &) –
Return type:

None

CenterCircleRst1Rst2()
  • Give the center of circle define by PtRst1, PtRst2 and radius ray.
Parameters:
Return type:

bool

GetTolerance()
Parameters:
  • Tolerance (math_Vector &) –
  • Tol (float) –
Return type:

None

  • Returns the tolerance to reach in approximation to respecte BoundTol error at the Boundary AngleTol tangent error at the Boundary SurfTol error inside the surface.
Parameters:
  • BoundTol (float) –
  • SurfTol (float) –
  • AngleTol (float) –
  • Tol3d (math_Vector &) –
  • Tol1D (math_Vector &) –
Return type:

None

Section()
Parameters:
Return type:

None

  • Used for the first and last section
Parameters:
Return type:

bool

Return type:

None

  • Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False.
Parameters:
Return type:

bool

Set()
Parameters:
  • SurfRef1 (Handle_Adaptor3d_HSurface &) –
  • RstRef1 (Handle_Adaptor2d_HCurve2d &) –
  • SurfRef2 (Handle_Adaptor3d_HSurface &) –
  • RstRef2 (Handle_Adaptor2d_HCurve2d &) –
  • Param (float) –
Return type:

None

Return type:

None

  • Sets the bounds of the parametric interval on the guide line. This determines the derivatives in these values if the function is not Cn.
Parameters:
Return type:

None

Return type:

None

  • Sets the type of section generation for the approximations.
Parameters:TypeSection (BlendFunc_SectionShape) –
Return type:None
thisown

The membership flag

class BRepBlend_RstRstEvolRad(*args)

Bases: OCC.Blend.Blend_RstRstFunction

Parameters:
  • Surf1 (Handle_Adaptor3d_HSurface &) –
  • Rst1 (Handle_Adaptor2d_HCurve2d &) –
  • Surf2 (Handle_Adaptor3d_HSurface &) –
  • Rst2 (Handle_Adaptor2d_HCurve2d &) –
  • CGuide (Handle_Adaptor3d_HCurve &) –
  • Evol (Handle_Law_Function &) –
Return type:

None

CenterCircleRst1Rst2()
  • Gives the center of circle defined by PtRst1, PtRst2 and radius ray.
Parameters:
Return type:

bool

GetTolerance()
Parameters:
  • Tolerance (math_Vector &) –
  • Tol (float) –
Return type:

None

  • Returns the tolerance to reach in approximation to respecte BoundTol error at the Boundary AngleTol tangent error at the Boundary SurfTol error inside the surface.
Parameters:
  • BoundTol (float) –
  • SurfTol (float) –
  • AngleTol (float) –
  • Tol3d (math_Vector &) –
  • Tol1D (math_Vector &) –
Return type:

None

Section()
Parameters:
Return type:

None

  • Used for the first and last section
Parameters:
Return type:

bool

Return type:

None

  • Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False.
Parameters:
Return type:

bool

Set()
Parameters:
  • SurfRef1 (Handle_Adaptor3d_HSurface &) –
  • RstRef1 (Handle_Adaptor2d_HCurve2d &) –
  • SurfRef2 (Handle_Adaptor3d_HSurface &) –
  • RstRef2 (Handle_Adaptor2d_HCurve2d &) –
  • Param (float) –
Return type:

None

Return type:

None

  • Sets the bounds of the parametric interval on the guide line. This determines the derivatives in these values if the function is not Cn.
Parameters:
Return type:

None

Return type:

None

  • Sets the type of section generation for the approximations.
Parameters:TypeSection (BlendFunc_SectionShape) –
Return type:None
thisown

The membership flag

class BRepBlend_RstRstLineBuilder(*args)

Bases: object

Parameters:
  • Surf1 (Handle_Adaptor3d_HSurface &) –
  • Rst1 (Handle_Adaptor2d_HCurve2d &) –
  • Domain1 (Handle_Adaptor3d_TopolTool &) –
  • Surf2 (Handle_Adaptor3d_HSurface &) –
  • Rst2 (Handle_Adaptor2d_HCurve2d &) –
  • Domain2 (Handle_Adaptor3d_TopolTool &) –
Return type:

None

Complete()
Parameters:
  • Func (Blend_RstRstFunction &) –
  • Finv1 (Blend_SurfCurvFuncInv &) –
  • FinvP1 (Blend_CurvPointFuncInv &) –
  • Finv2 (Blend_SurfCurvFuncInv &) –
  • FinvP2 (Blend_CurvPointFuncInv &) –
  • Pmin (float) –
Return type:

bool

Decroch1End()
Return type:bool
Decroch1Start()
Return type:bool
Decroch2End()
Return type:bool
Decroch2Start()
Return type:bool
IsDone()
Return type:bool
Line()
Return type:Handle_BRepBlend_Line
Perform()
Parameters:
  • Func (Blend_RstRstFunction &) –
  • Finv1 (Blend_SurfCurvFuncInv &) –
  • FinvP1 (Blend_CurvPointFuncInv &) –
  • Finv2 (Blend_SurfCurvFuncInv &) –
  • FinvP2 (Blend_CurvPointFuncInv &) –
  • Pdep (float) –
  • Pmax (float) –
  • MaxStep (float) –
  • TolGuide (float) –
  • Soldep (math_Vector &) –
  • Tolesp (float) –
  • Fleche (float) –
  • Appro (bool) – default value is Standard_False
Return type:

None

PerformFirstSection()
Parameters:
  • Func (Blend_RstRstFunction &) –
  • Finv1 (Blend_SurfCurvFuncInv &) –
  • FinvP1 (Blend_CurvPointFuncInv &) –
  • Finv2 (Blend_SurfCurvFuncInv &) –
  • FinvP2 (Blend_CurvPointFuncInv &) –
  • Pdep (float) –
  • Pmax (float) –
  • Soldep (math_Vector &) –
  • Tolesp (float) –
  • TolGuide (float) –
  • RecRst1 (bool) –
  • RecP1 (bool) –
  • RecRst2 (bool) –
  • RecP2 (bool) –
  • Psol (float &) –
  • ParSol (math_Vector &) –
Return type:

bool

thisown

The membership flag

class BRepBlend_SequenceNodeOfSequenceOfLine(*args)

Bases: OCC.TCollection.TCollection_SeqNode

Parameters:
  • I (Handle_BRepBlend_Line &) –
  • n (TCollection_SeqNodePtr &) –
  • p (TCollection_SeqNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:Handle_BRepBlend_Line
thisown

The membership flag

class BRepBlend_SequenceNodeOfSequenceOfPointOnRst(*args)

Bases: OCC.TCollection.TCollection_SeqNode

Parameters:
  • I (BRepBlend_PointOnRst &) –
  • n (TCollection_SeqNodePtr &) –
  • p (TCollection_SeqNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:BRepBlend_PointOnRst
thisown

The membership flag

class BRepBlend_SequenceOfLine(*args)

Bases: OCC.TCollection.TCollection_BaseSequence

Return type:None
Parameters:Other (BRepBlend_SequenceOfLine &) –
Return type:None
Append()
Parameters:
  • T (Handle_BRepBlend_Line &) –
  • S (BRepBlend_SequenceOfLine &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (BRepBlend_SequenceOfLine &) –
Return type:BRepBlend_SequenceOfLine
ChangeValue()
Parameters:Index (int) –
Return type:Handle_BRepBlend_Line
Clear()
Return type:None
First()
Return type:Handle_BRepBlend_Line
InsertAfter()
Parameters:
  • Index (int) –
  • T (Handle_BRepBlend_Line &) –
  • Index
  • S (BRepBlend_SequenceOfLine &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (int) –
  • T (Handle_BRepBlend_Line &) –
  • Index
  • S (BRepBlend_SequenceOfLine &) –
Return type:

None

Return type:

None

Last()
Return type:Handle_BRepBlend_Line
Prepend()
Parameters:
  • T (Handle_BRepBlend_Line &) –
  • S (BRepBlend_SequenceOfLine &) –
Return type:

None

Return type:

None

Remove()
Parameters:
  • Index (int) –
  • FromIndex (int) –
  • ToIndex (int) –
Return type:

None

Return type:

None

Set()
Parameters:Other (BRepBlend_SequenceOfLine &) –
Return type:BRepBlend_SequenceOfLine
SetValue()
Parameters:
  • Index (int) –
  • I (Handle_BRepBlend_Line &) –
Return type:

None

Split()
Parameters:
  • Index (int) –
  • Sub (BRepBlend_SequenceOfLine &) –
Return type:

None

Value()
Parameters:Index (int) –
Return type:Handle_BRepBlend_Line
thisown

The membership flag

class BRepBlend_SequenceOfPointOnRst(*args)

Bases: OCC.TCollection.TCollection_BaseSequence

Return type:None
Parameters:Other (BRepBlend_SequenceOfPointOnRst &) –
Return type:None
Append()
Parameters:
  • T (BRepBlend_PointOnRst &) –
  • S (BRepBlend_SequenceOfPointOnRst &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (BRepBlend_SequenceOfPointOnRst &) –
Return type:BRepBlend_SequenceOfPointOnRst
ChangeValue()
Parameters:Index (int) –
Return type:BRepBlend_PointOnRst
Clear()
Return type:None
First()
Return type:BRepBlend_PointOnRst
InsertAfter()
Parameters:
  • Index (int) –
  • T (BRepBlend_PointOnRst &) –
  • Index
  • S (BRepBlend_SequenceOfPointOnRst &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (int) –
  • T (BRepBlend_PointOnRst &) –
  • Index
  • S (BRepBlend_SequenceOfPointOnRst &) –
Return type:

None

Return type:

None

Last()
Return type:BRepBlend_PointOnRst
Prepend()
Parameters:
  • T (BRepBlend_PointOnRst &) –
  • S (BRepBlend_SequenceOfPointOnRst &) –
Return type:

None

Return type:

None

Remove()
Parameters:
  • Index (int) –
  • FromIndex (int) –
  • ToIndex (int) –
Return type:

None

Return type:

None

Set()
Parameters:Other (BRepBlend_SequenceOfPointOnRst &) –
Return type:BRepBlend_SequenceOfPointOnRst
SetValue()
Parameters:
  • Index (int) –
  • I (BRepBlend_PointOnRst &) –
Return type:

None

Split()
Parameters:
  • Index (int) –
  • Sub (BRepBlend_SequenceOfPointOnRst &) –
Return type:

None

Value()
Parameters:Index (int) –
Return type:BRepBlend_PointOnRst
thisown

The membership flag

class BRepBlend_SurfCurvConstRadInv(*args)

Bases: OCC.Blend.Blend_SurfCurvFuncInv

Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • C (Handle_Adaptor3d_HCurve &) –
  • Cg (Handle_Adaptor3d_HCurve &) –
Return type:

None

Set()
Parameters:
Return type:

None

  • Set the restriction on which a solution has to be found.
Parameters:Rst (Handle_Adaptor2d_HCurve2d &) –
Return type:None
thisown

The membership flag

class BRepBlend_SurfCurvEvolRadInv(*args)

Bases: OCC.Blend.Blend_SurfCurvFuncInv

Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • C (Handle_Adaptor3d_HCurve &) –
  • Cg (Handle_Adaptor3d_HCurve &) –
  • Evol (Handle_Law_Function &) –
Return type:

None

Set()
Parameters:Choix (int) –
Return type:None
  • Set the restriction on which a solution has to be found.
Parameters:Rst (Handle_Adaptor2d_HCurve2d &) –
Return type:None
thisown

The membership flag

class BRepBlend_SurfPointConstRadInv(*args)

Bases: OCC.Blend.Blend_SurfPointFuncInv

Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • C (Handle_Adaptor3d_HCurve &) –
Return type:

None

Set()
Parameters:
Return type:

None

  • Set the Point on which a solution has to be found.
Parameters:P (gp_Pnt) –
Return type:None
thisown

The membership flag

class BRepBlend_SurfPointEvolRadInv(*args)

Bases: OCC.Blend.Blend_SurfPointFuncInv

Parameters:
  • S (Handle_Adaptor3d_HSurface &) –
  • C (Handle_Adaptor3d_HCurve &) –
  • Evol (Handle_Law_Function &) –
Return type:

None

Set()
Parameters:Choix (int) –
Return type:None
  • Set the Point on which a solution has to be found.
Parameters:P (gp_Pnt) –
Return type:None
thisown

The membership flag

class BRepBlend_SurfRstConstRad(*args)

Bases: OCC.Blend.Blend_SurfRstFunction

Parameters:
  • Surf (Handle_Adaptor3d_HSurface &) –
  • SurfRst (Handle_Adaptor3d_HSurface &) –
  • Rst (Handle_Adaptor2d_HCurve2d &) –
  • CGuide (Handle_Adaptor3d_HCurve &) –
Return type:

None

GetTolerance()
Parameters:
  • Tolerance (math_Vector &) –
  • Tol (float) –
Return type:

None

  • Returns the tolerance to reach in approximation to respecte BoundTol error at the Boundary AngleTol tangent error at the Boundary SurfTol error inside the surface.
Parameters:
  • BoundTol (float) –
  • SurfTol (float) –
  • AngleTol (float) –
  • Tol3d (math_Vector &) –
  • Tol1D (math_Vector &) –
Return type:

None

Section()
Parameters:
Return type:

None

  • Used for the first and last section
Parameters:
Return type:

bool

  • Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False.
Parameters:
Return type:

bool

Return type:

None

Set()
Parameters:
  • SurfRef (Handle_Adaptor3d_HSurface &) –
  • RstRef (Handle_Adaptor2d_HCurve2d &) –
  • Param (float) –
Return type:

None

Return type:

None

  • Sets the bounds of the parametric interval on the guide line. This determines the derivatives in these values if the function is not Cn.
Parameters:
Return type:

None

Return type:

None

  • Sets the type of section generation for the approximations.
Parameters:TypeSection (BlendFunc_SectionShape) –
Return type:None
thisown

The membership flag

class BRepBlend_SurfRstEvolRad(*args)

Bases: OCC.Blend.Blend_SurfRstFunction

Parameters:
  • Surf (Handle_Adaptor3d_HSurface &) –
  • SurfRst (Handle_Adaptor3d_HSurface &) –
  • Rst (Handle_Adaptor2d_HCurve2d &) –
  • CGuide (Handle_Adaptor3d_HCurve &) –
  • Evol (Handle_Law_Function &) –
Return type:

None

GetTolerance()
Parameters:
  • Tolerance (math_Vector &) –
  • Tol (float) –
Return type:

None

  • Returns the tolerance to reach in approximation to respecte BoundTol error at the Boundary AngleTol tangent error at the Boundary SurfTol error inside the surface.
Parameters:
  • BoundTol (float) –
  • SurfTol (float) –
  • AngleTol (float) –
  • Tol3d (math_Vector &) –
  • Tol1D (math_Vector &) –
Return type:

None

Section()
Parameters:
Return type:

None

  • Used for the first and last section
Parameters:
Return type:

bool

  • Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False.
Parameters:
Return type:

bool

Return type:

None

Set()
Parameters:
  • SurfRef (Handle_Adaptor3d_HSurface &) –
  • RstRef (Handle_Adaptor2d_HCurve2d &) –
  • Param (float) –
Return type:

None

Return type:

None

  • Sets the bounds of the parametric interval on the guide line. This determines the derivatives in these values if the function is not Cn.
Parameters:
Return type:

None

Return type:

None

  • Sets the type of section generation for the approximations.
Parameters:TypeSection (BlendFunc_SectionShape) –
Return type:None
thisown

The membership flag

class BRepBlend_SurfRstLineBuilder(*args)

Bases: object

Parameters:
  • Surf1 (Handle_Adaptor3d_HSurface &) –
  • Domain1 (Handle_Adaptor3d_TopolTool &) –
  • Surf2 (Handle_Adaptor3d_HSurface &) –
  • Rst (Handle_Adaptor2d_HCurve2d &) –
  • Domain2 (Handle_Adaptor3d_TopolTool &) –
Return type:

None

ArcToRecadre()
Parameters:
  • Sol (math_Vector &) –
  • PrevIndex (int) –
  • pt2d (gp_Pnt2d) –
  • lastpt2d (gp_Pnt2d) –
  • ponarc (float &) –
Return type:

int

Complete()
Parameters:
  • Func (Blend_SurfRstFunction &) –
  • Finv (Blend_FuncInv &) –
  • FinvP (Blend_SurfPointFuncInv &) –
  • FinvC (Blend_SurfCurvFuncInv &) –
  • Pmin (float) –
Return type:

bool

DecrochEnd()
Return type:bool
DecrochStart()
Return type:bool
IsDone()
Return type:bool
Line()
Return type:Handle_BRepBlend_Line
Perform()
Parameters:
  • Func (Blend_SurfRstFunction &) –
  • Finv (Blend_FuncInv &) –
  • FinvP (Blend_SurfPointFuncInv &) –
  • FinvC (Blend_SurfCurvFuncInv &) –
  • Pdep (float) –
  • Pmax (float) –
  • MaxStep (float) –
  • TolGuide (float) –
  • Soldep (math_Vector &) –
  • Tolesp (float) –
  • Fleche (float) –
  • Appro (bool) – default value is Standard_False
Return type:

None

PerformFirstSection()
Parameters:
  • Func (Blend_SurfRstFunction &) –
  • Finv (Blend_FuncInv &) –
  • FinvP (Blend_SurfPointFuncInv &) –
  • FinvC (Blend_SurfCurvFuncInv &) –
  • Pdep (float) –
  • Pmax (float) –
  • Soldep (math_Vector &) –
  • Tolesp (float) –
  • TolGuide (float) –
  • RecRst (bool) –
  • RecP (bool) –
  • RecS (bool) –
  • Psol (float &) –
  • ParSol (math_Vector &) –
Return type:

bool

thisown

The membership flag

class BRepBlend_Walking(*args)

Bases: object

Parameters:
  • Surf1 (Handle_Adaptor3d_HSurface &) –
  • Surf2 (Handle_Adaptor3d_HSurface &) –
  • Domain1 (Handle_Adaptor3d_TopolTool &) –
  • Domain2 (Handle_Adaptor3d_TopolTool &) –
  • HGuide (Handle_ChFiDS_HElSpine &) –
Return type:

None

AddSingularPoint()
Parameters:P (Blend_Point &) –
Return type:None
Check()
Parameters:C (bool) –
Return type:None
Check2d()
Parameters:C (bool) –
Return type:None
ClassificationOnS1()
Parameters:C (bool) –
Return type:None
ClassificationOnS2()
Parameters:C (bool) –
Return type:None
Complete()
Parameters:
  • F (Blend_Function &) –
  • FInv (Blend_FuncInv &) –
  • Pmin (float) –
Return type:

bool

Continu()
Parameters:
  • F (Blend_Function &) –
  • FInv (Blend_FuncInv &) –
  • P (float) –
  • F
  • FInv
  • P
  • OnS1 (bool) –
Return type:

bool

Return type:

bool

IsDone()
Return type:bool
Line()
Return type:Handle_BRepBlend_Line
Perform()
Parameters:
  • F (Blend_Function &) –
  • FInv (Blend_FuncInv &) –
  • Pdep (float) –
  • Pmax (float) –
  • MaxStep (float) –
  • TolGuide (float) –
  • Soldep (math_Vector &) –
  • Tolesp (float) –
  • Fleche (float) –
  • Appro (bool) – default value is Standard_False
Return type:

None

PerformFirstSection()
Parameters:
  • F (Blend_Function &) –
  • Pdep (float) –
  • ParDep (math_Vector &) –
  • Tolesp (float) –
  • TolGuide (float) –
  • Pos1 (TopAbs_State &) –
  • Pos2 (TopAbs_State &) –
  • F
  • FInv (Blend_FuncInv &) –
  • Pdep
  • Pmax (float) –
  • ParDep
  • Tolesp
  • TolGuide
  • RecOnS1 (bool) –
  • RecOnS2 (bool) –
  • Psol (float &) –
  • ParSol (math_Vector &) –
Return type:

bool

Return type:

bool

SetDomainsToRecadre()
Parameters:
  • RecDomain1 (Handle_Adaptor3d_TopolTool &) –
  • RecDomain2 (Handle_Adaptor3d_TopolTool &) –
Return type:

None

TwistOnS1()
Return type:bool
TwistOnS2()
Return type:bool
thisown

The membership flag

class Handle_BRepBlend_AppFunc(*args)

Bases: OCC.BRepBlend.Handle_BRepBlend_AppFuncRoot

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

The membership flag

class Handle_BRepBlend_AppFuncRoot(*args)

Bases: OCC.Approx.Handle_Approx_SweepFunction

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

The membership flag

class Handle_BRepBlend_AppFuncRst(*args)

Bases: OCC.BRepBlend.Handle_BRepBlend_AppFuncRoot

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

The membership flag

class Handle_BRepBlend_AppFuncRstRst(*args)

Bases: OCC.BRepBlend.Handle_BRepBlend_AppFuncRoot

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

The membership flag

class Handle_BRepBlend_Line(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_BRepBlend_SequenceNodeOfSequenceOfLine(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class Handle_BRepBlend_SequenceNodeOfSequenceOfPointOnRst(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()
new_instancemethod(func, inst, cls)
register_handle(handle, base_object)

Inserts the handle into the base object to prevent memory corruption in certain cases