OCC.Core.Blend module

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

class Blend_AppFunction(*args, **kwargs)

Bases: OCC.Core.math.math_FunctionSetWithDerivatives

GetBounds()
  • Returns in the vector InfBound the lowest values allowed for each of the 4 variables. Returns in the vector SupBound the greatest values allowed for each of the 4 variables.
    param InfBound

    type InfBound

    math_Vector

    param SupBound

    type SupBound

    math_Vector

    rtype

    void

GetMinimalDistance()
  • Returns the minimal Distance beetween two extremitys of calculed sections.
    rtype

    float

GetMinimalWeight()
  • Compute the minimal value of weight for each poles of all sections.
    param Weigths

    type Weigths

    TColStd_Array1OfReal

    rtype

    void

GetSectionSize()
  • Returns the length of the maximum section
    rtype

    float

GetShape()
Parameters

NbPoles

type NbPoles

int

param NbKnots

type NbKnots

int

param Degree

type Degree

int

param NbPoles2d

type NbPoles2d

int

rtype

void

GetTolerance()
  • Returns in the vector Tolerance the parametric tolerance for each of the 4 variables; Tol is the tolerance used in 3d space.
    param Tolerance

    type Tolerance

    math_Vector

    param Tol

    type Tol

    float

    rtype

    void* 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.

    param BoundTol

    type BoundTol

    float

    param SurfTol

    type SurfTol

    float

    param AngleTol

    type AngleTol

    float

    param Tol3d

    type Tol3d

    math_Vector

    param Tol1D

    type Tol1D

    math_Vector

    rtype

    void

Intervals()
  • Stores in <T> the parameters bounding the intervals of continuity <S>. //! The array must provide enough room to accomodate for the parameters. i.e. T.Length() > NbIntervals() raises OutOfRange from Standard
    param T

    type T

    TColStd_Array1OfReal

    param S

    type S

    GeomAbs_Shape

    rtype

    void

IsRational()
  • Returns if the section is rationnal
    rtype

    bool

IsSolution()
  • Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space. The computation is made at the current value of the parameter on the guide line.
    param Sol

    type Sol

    math_Vector

    param Tol

    type Tol

    float

    rtype

    bool

Knots()
Parameters

TKnots

type TKnots

TColStd_Array1OfReal

rtype

void

Mults()
Parameters

TMults

type TMults

TColStd_Array1OfInteger

rtype

void

NbIntervals()
  • Returns the number of intervals for continuity <S>. May be one if Continuity(me) >= <S>
    param S

    type S

    GeomAbs_Shape

    rtype

    int

Parameter()
  • Returns the parameter of the point P. Used to impose the parameters in the approximation.
    param P

    type P

    Blend_Point

    rtype

    float

Pnt1()
  • Returns the point on the first support.
    rtype

    gp_Pnt

Pnt2()
  • Returns the point on the first support.
    rtype

    gp_Pnt

Resolution()
Parameters

IC2d

type IC2d

int

param Tol

type Tol

float

param TolU

type TolU

float

param TolV

type TolV

float

rtype

void

Section()
  • Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False.
    param P

    type P

    Blend_Point

    param Poles

    type Poles

    TColgp_Array1OfPnt

    param DPoles

    type DPoles

    TColgp_Array1OfVec

    param Poles2d

    type Poles2d

    TColgp_Array1OfPnt2d

    param DPoles2d

    type DPoles2d

    TColgp_Array1OfVec2d

    param Weigths

    type Weigths

    TColStd_Array1OfReal

    param DWeigths

    type DWeigths

    TColStd_Array1OfReal

    rtype

    bool:param P:

    type P

    Blend_Point

    param Poles

    type Poles

    TColgp_Array1OfPnt

    param Poles2d

    type Poles2d

    TColgp_Array1OfPnt2d

    param Weigths

    type Weigths

    TColStd_Array1OfReal

    rtype

    void* Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False.

    param P

    type P

    Blend_Point

    param Poles

    type Poles

    TColgp_Array1OfPnt

    param DPoles

    type DPoles

    TColgp_Array1OfVec

    param D2Poles

    type D2Poles

    TColgp_Array1OfVec

    param Poles2d

    type Poles2d

    TColgp_Array1OfPnt2d

    param DPoles2d

    type DPoles2d

    TColgp_Array1OfVec2d

    param D2Poles2d

    type D2Poles2d

    TColgp_Array1OfVec2d

    param Weigths

    type Weigths

    TColStd_Array1OfReal

    param DWeigths

    type DWeigths

    TColStd_Array1OfReal

    param D2Weigths

    type D2Weigths

    TColStd_Array1OfReal

    rtype

    bool

Set()
  • Sets the value of the parameter along the guide line. This determines the plane in which the solution has to be found.
    param Param

    type Param

    float

    rtype

    void* Sets the bounds of the parametric interval on the guide line. This determines the derivatives in these values if the function is not Cn.

    param First

    type First

    float

    param Last

    type Last

    float

    rtype

    void

property thisown

The membership flag

class Blend_CSFunction(*args, **kwargs)

Bases: OCC.Core.Blend.Blend_AppFunction

GetTolerance()
  • Returns in the vector Tolerance the parametric tolerance for each of the 3 variables; Tol is the tolerance used in 3d space.
    param Tolerance

    type Tolerance

    math_Vector

    param Tol

    type Tol

    float

    rtype

    void* 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.

    param BoundTol

    type BoundTol

    float

    param SurfTol

    type SurfTol

    float

    param AngleTol

    type AngleTol

    float

    param Tol3d

    type Tol3d

    math_Vector

    param Tol1D

    type Tol1D

    math_Vector

    rtype

    void

IsTangencyPoint()
  • Returns True when it is not possible to compute the tangent vectors at PointOnS and/or PointOnC.
    rtype

    bool

ParameterOnC()
  • Returns parameter of the point on the curve.
    rtype

    float

Pnt2d()
  • Returns U,V coordinates of the point on the surface.
    rtype

    gp_Pnt2d

PointOnC()
  • Returns the point on the curve.
    rtype

    gp_Pnt

PointOnS()
  • Returns the point on the surface.
    rtype

    gp_Pnt

Section()
  • Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False.
    param P

    type P

    Blend_Point

    param Poles

    type Poles

    TColgp_Array1OfPnt

    param DPoles

    type DPoles

    TColgp_Array1OfVec

    param Poles2d

    type Poles2d

    TColgp_Array1OfPnt2d

    param DPoles2d

    type DPoles2d

    TColgp_Array1OfVec2d

    param Weigths

    type Weigths

    TColStd_Array1OfReal

    param DWeigths

    type DWeigths

    TColStd_Array1OfReal

    rtype

    bool:param P:

    type P

    Blend_Point

    param Poles

    type Poles

    TColgp_Array1OfPnt

    param Poles2d

    type Poles2d

    TColgp_Array1OfPnt2d

    param Weigths

    type Weigths

    TColStd_Array1OfReal

    rtype

    void* Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False.

    param P

    type P

    Blend_Point

    param Poles

    type Poles

    TColgp_Array1OfPnt

    param DPoles

    type DPoles

    TColgp_Array1OfVec

    param D2Poles

    type D2Poles

    TColgp_Array1OfVec

    param Poles2d

    type Poles2d

    TColgp_Array1OfPnt2d

    param DPoles2d

    type DPoles2d

    TColgp_Array1OfVec2d

    param D2Poles2d

    type D2Poles2d

    TColgp_Array1OfVec2d

    param Weigths

    type Weigths

    TColStd_Array1OfReal

    param DWeigths

    type DWeigths

    TColStd_Array1OfReal

    param D2Weigths

    type D2Weigths

    TColStd_Array1OfReal

    rtype

    bool

Set()
  • Sets the value of the parameter along the guide line. This determines the plane in which the solution has to be found.
    param Param

    type Param

    float

    rtype

    void* Sets the bounds of the parametric interval on the guide line. This determines the derivatives in these values if the function is not Cn.

    param First

    type First

    float

    param Last

    type Last

    float

    rtype

    void

Tangent()
  • Returns the tangent vector at the section, at the beginning and the end of the section, and returns the normal (of the surfaces) at these points.
    param U

    type U

    float

    param V

    type V

    float

    param TgS

    type TgS

    gp_Vec

    param NormS

    type NormS

    gp_Vec

    rtype

    void

Tangent2d()
  • Returns the tangent vector at PointOnS, in the parametric space of the first surface.
    rtype

    gp_Vec2d

TangentOnC()
  • Returns the tangent vector at PointOnC, in 3d space.
    rtype

    gp_Vec

TangentOnS()
  • Returns the tangent vector at PointOnS, in 3d space.
    rtype

    gp_Vec

property thisown

The membership flag

class Blend_CurvPointFuncInv(*args, **kwargs)

Bases: OCC.Core.math.math_FunctionSetWithDerivatives

GetBounds()
  • Returns in the vector InfBound the lowest values allowed for each of the 3 variables. Returns in the vector SupBound the greatest values allowed for each of the 3 variables.
    param InfBound

    type InfBound

    math_Vector

    param SupBound

    type SupBound

    math_Vector

    rtype

    void

GetTolerance()
  • Returns in the vector Tolerance the parametric tolerance for each of the 3 variables; Tol is the tolerance used in 3d space.
    param Tolerance

    type Tolerance

    math_Vector

    param Tol

    type Tol

    float

    rtype

    void

IsSolution()
  • Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space.
    param Sol

    type Sol

    math_Vector

    param Tol

    type Tol

    float

    rtype

    bool

Set()
  • Set the Point on which a solution has to be found.
    param P

    type P

    gp_Pnt

    rtype

    void

property thisown

The membership flag

class Blend_FuncInv(*args, **kwargs)

Bases: OCC.Core.math.math_FunctionSetWithDerivatives

GetBounds()
  • Returns in the vector InfBound the lowest values allowed for each of the 4 variables. Returns in the vector SupBound the greatest values allowed for each of the 4 variables.
    param InfBound

    type InfBound

    math_Vector

    param SupBound

    type SupBound

    math_Vector

    rtype

    void

GetTolerance()
  • Returns in the vector Tolerance the parametric tolerance for each of the 4 variables; Tol is the tolerance used in 3d space.
    param Tolerance

    type Tolerance

    math_Vector

    param Tol

    type Tol

    float

    rtype

    void

IsSolution()
  • Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space.
    param Sol

    type Sol

    math_Vector

    param Tol

    type Tol

    float

    rtype

    bool

Set()
  • Sets the CurveOnSurface on which a solution has to be found. If <OnFirst> is set to Standard_True, the curve will be on the first surface, otherwise the curve is on the second one.
    param OnFirst

    type OnFirst

    bool

    param COnSurf

    type COnSurf

    Adaptor2d_HCurve2d

    rtype

    void

property thisown

The membership flag

class Blend_Function(*args, **kwargs)

Bases: OCC.Core.Blend.Blend_AppFunction

IsTangencyPoint()
  • Returns True when it is not possible to compute the tangent vectors at PointOnS1 and/or PointOnS2.
    rtype

    bool

PointOnS1()
  • Returns the point on the first surface, at parameter Sol(1),Sol(2) (Sol is the vector used in the call of IsSolution.
    rtype

    gp_Pnt

PointOnS2()
  • Returns the point on the second surface, at parameter Sol(3),Sol(4) (Sol is the vector used in the call of IsSolution.
    rtype

    gp_Pnt

Section()
Parameters

P

type P

Blend_Point

param Poles

type Poles

TColgp_Array1OfPnt

param Poles2d

type Poles2d

TColgp_Array1OfPnt2d

param Weigths

type Weigths

TColStd_Array1OfReal

rtype

void* Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False

param P

type P

Blend_Point

param Poles

type Poles

TColgp_Array1OfPnt

param DPoles

type DPoles

TColgp_Array1OfVec

param D2Poles

type D2Poles

TColgp_Array1OfVec

param Poles2d

type Poles2d

TColgp_Array1OfPnt2d

param DPoles2d

type DPoles2d

TColgp_Array1OfVec2d

param D2Poles2d

type D2Poles2d

TColgp_Array1OfVec2d

param Weigths

type Weigths

TColStd_Array1OfReal

param DWeigths

type DWeigths

TColStd_Array1OfReal

param D2Weigths

type D2Weigths

TColStd_Array1OfReal

rtype

bool

Tangent()
  • Returns the tangent vector at the section, at the beginning and the end of the section, and returns the normal (of the surfaces) at these points.
    param U1

    type U1

    float

    param V1

    type V1

    float

    param U2

    type U2

    float

    param V2

    type V2

    float

    param TgFirst

    type TgFirst

    gp_Vec

    param TgLast

    type TgLast

    gp_Vec

    param NormFirst

    type NormFirst

    gp_Vec

    param NormLast

    type NormLast

    gp_Vec

    rtype

    void

Tangent2dOnS1()
  • Returns the tangent vector at PointOnS1, in the parametric space of the first surface.
    rtype

    gp_Vec2d

Tangent2dOnS2()
  • Returns the tangent vector at PointOnS2, in the parametric space of the second surface.
    rtype

    gp_Vec2d

TangentOnS1()
  • Returns the tangent vector at PointOnS1, in 3d space.
    rtype

    gp_Vec

TangentOnS2()
  • Returns the tangent vector at PointOnS2, in 3d space.
    rtype

    gp_Vec

TwistOnS1()
Return type

bool

TwistOnS2()
Return type

bool

property thisown

The membership flag

class Blend_Point(*args)

Bases: object

Return type

None* Creates a point on 2 surfaces, with tangents. :param Pt1: :type Pt1: gp_Pnt :param Pt2: :type Pt2: gp_Pnt :param Param: :type Param: float :param U1: :type U1: float :param V1: :type V1: float :param U2: :type U2: float :param V2: :type V2: float :param Tg1: :type Tg1: gp_Vec :param Tg2: :type Tg2: gp_Vec :param Tg12d: :type Tg12d: gp_Vec2d :param Tg22d: :type Tg22d: gp_Vec2d :rtype: None* Creates a point on 2 surfaces, without tangents. :param Pt1: :type Pt1: gp_Pnt :param Pt2: :type Pt2: gp_Pnt :param Param: :type Param: float :param U1: :type U1: float :param V1: :type V1: float :param U2: :type U2: float :param V2: :type V2: float :rtype: None* Creates a point on a surface and a curve, with tangents. :param Pts: :type Pts: gp_Pnt :param Ptc: :type Ptc: gp_Pnt :param Param: :type Param: float :param U: :type U: float :param V: :type V: float :param W: :type W: float :param Tgs: :type Tgs: gp_Vec :param Tgc: :type Tgc: gp_Vec :param Tg2d: :type Tg2d: gp_Vec2d :rtype: None* Creates a point on a surface and a curve, without tangents. :param Pts: :type Pts: gp_Pnt :param Ptc: :type Ptc: gp_Pnt :param Param: :type Param: float :param U: :type U: float :param V: :type V: float :param W: :type W: float :rtype: None* Creates a point on a surface and a curve on surface, with tangents. :param Pt1: :type Pt1: gp_Pnt :param Pt2: :type Pt2: gp_Pnt :param Param: :type Param: float :param U1: :type U1: float :param V1: :type V1: float :param U2: :type U2: float :param V2: :type V2: float :param PC: :type PC: float :param Tg1: :type Tg1: gp_Vec :param Tg2: :type Tg2: gp_Vec :param Tg12d: :type Tg12d: gp_Vec2d :param Tg22d: :type Tg22d: gp_Vec2d :rtype: None* Creates a point on a surface and a curve on surface, without tangents. :param Pt1: :type Pt1: gp_Pnt :param Pt2: :type Pt2: gp_Pnt :param Param: :type Param: float :param U1: :type U1: float :param V1: :type V1: float :param U2: :type U2: float :param V2: :type V2: float :param PC: :type PC: float :rtype: None* Creates a point on two curves on surfaces, with tangents. :param Pt1: :type Pt1: gp_Pnt :param Pt2: :type Pt2: gp_Pnt :param Param: :type Param: float :param U1: :type U1: float :param V1: :type V1: float :param U2: :type U2: float :param V2: :type V2: float :param PC1: :type PC1: float :param PC2: :type PC2: float :param Tg1: :type Tg1: gp_Vec :param Tg2: :type Tg2: gp_Vec :param Tg12d: :type Tg12d: gp_Vec2d :param Tg22d: :type Tg22d: gp_Vec2d :rtype: None* Creates a point on two curves on surfaces, with tangents. :param Pt1: :type Pt1: gp_Pnt :param Pt2: :type Pt2: gp_Pnt :param Param: :type Param: float :param U1: :type U1: float :param V1: :type V1: float :param U2: :type U2: float :param V2: :type V2: float :param PC1: :type PC1: float :param PC2: :type PC2: float :rtype: None

IsTangencyPoint()
  • Returns Standard_True if it was not possible to compute the tangent vectors at PointOnS1 and/or PointOnS2.
    rtype

    bool

Parameter()
Return type

float

ParameterOnC()
Return type

float

ParameterOnC1()
Return type

float

ParameterOnC2()
Return type

float

ParametersOnS()
Parameters

U

type U

float

param V

type V

float

rtype

None

ParametersOnS1()
Parameters

U

type U

float

param V

type V

float

rtype

None

ParametersOnS2()
Parameters

U

type U

float

param V

type V

float

rtype

None

PointOnC()
Return type

gp_Pnt

PointOnC1()
Return type

gp_Pnt

PointOnC2()
Return type

gp_Pnt

PointOnS()
Return type

gp_Pnt

PointOnS1()
Return type

gp_Pnt

PointOnS2()
Return type

gp_Pnt

SetParameter()
  • Changes parameter on existing point
    param Param

    type Param

    float

    rtype

    None

SetValue()
  • Set the values for a point on 2 surfaces, with tangents.
    param Pt1

    type Pt1

    gp_Pnt

    param Pt2

    type Pt2

    gp_Pnt

    param Param

    type Param

    float

    param U1

    type U1

    float

    param V1

    type V1

    float

    param U2

    type U2

    float

    param V2

    type V2

    float

    param Tg1

    type Tg1

    gp_Vec

    param Tg2

    type Tg2

    gp_Vec

    param Tg12d

    type Tg12d

    gp_Vec2d

    param Tg22d

    type Tg22d

    gp_Vec2d

    rtype

    None* Set the values for a point on 2 surfaces, without tangents.

    param Pt1

    type Pt1

    gp_Pnt

    param Pt2

    type Pt2

    gp_Pnt

    param Param

    type Param

    float

    param U1

    type U1

    float

    param V1

    type V1

    float

    param U2

    type U2

    float

    param V2

    type V2

    float

    rtype

    None* Set the values for a point on a surface and a curve, with tangents.

    param Pts

    type Pts

    gp_Pnt

    param Ptc

    type Ptc

    gp_Pnt

    param Param

    type Param

    float

    param U

    type U

    float

    param V

    type V

    float

    param W

    type W

    float

    param Tgs

    type Tgs

    gp_Vec

    param Tgc

    type Tgc

    gp_Vec

    param Tg2d

    type Tg2d

    gp_Vec2d

    rtype

    None* Set the values for a point on a surface and a curve, without tangents.

    param Pts

    type Pts

    gp_Pnt

    param Ptc

    type Ptc

    gp_Pnt

    param Param

    type Param

    float

    param U

    type U

    float

    param V

    type V

    float

    param W

    type W

    float

    rtype

    None* Creates a point on a surface and a curve on surface, with tangents.

    param Pt1

    type Pt1

    gp_Pnt

    param Pt2

    type Pt2

    gp_Pnt

    param Param

    type Param

    float

    param U1

    type U1

    float

    param V1

    type V1

    float

    param U2

    type U2

    float

    param V2

    type V2

    float

    param PC

    type PC

    float

    param Tg1

    type Tg1

    gp_Vec

    param Tg2

    type Tg2

    gp_Vec

    param Tg12d

    type Tg12d

    gp_Vec2d

    param Tg22d

    type Tg22d

    gp_Vec2d

    rtype

    None* Creates a point on a surface and a curve on surface, without tangents.

    param Pt1

    type Pt1

    gp_Pnt

    param Pt2

    type Pt2

    gp_Pnt

    param Param

    type Param

    float

    param U1

    type U1

    float

    param V1

    type V1

    float

    param U2

    type U2

    float

    param V2

    type V2

    float

    param PC

    type PC

    float

    rtype

    None* Creates a point on two curves on surfaces, with tangents.

    param Pt1

    type Pt1

    gp_Pnt

    param Pt2

    type Pt2

    gp_Pnt

    param Param

    type Param

    float

    param U1

    type U1

    float

    param V1

    type V1

    float

    param U2

    type U2

    float

    param V2

    type V2

    float

    param PC1

    type PC1

    float

    param PC2

    type PC2

    float

    param Tg1

    type Tg1

    gp_Vec

    param Tg2

    type Tg2

    gp_Vec

    param Tg12d

    type Tg12d

    gp_Vec2d

    param Tg22d

    type Tg22d

    gp_Vec2d

    rtype

    None* Creates a point on two curves on surfaces, without tangents.

    param Pt1

    type Pt1

    gp_Pnt

    param Pt2

    type Pt2

    gp_Pnt

    param Param

    type Param

    float

    param U1

    type U1

    float

    param V1

    type V1

    float

    param U2

    type U2

    float

    param V2

    type V2

    float

    param PC1

    type PC1

    float

    param PC2

    type PC2

    float

    rtype

    None* Creates a point on two curves.

    param Pt1

    type Pt1

    gp_Pnt

    param Pt2

    type Pt2

    gp_Pnt

    param Param

    type Param

    float

    param PC1

    type PC1

    float

    param PC2

    type PC2

    float

    rtype

    None

Tangent2d()
Return type

gp_Vec2d

Tangent2dOnS1()
Return type

gp_Vec2d

Tangent2dOnS2()
Return type

gp_Vec2d

TangentOnC()
Return type

gp_Vec

TangentOnC1()
Return type

gp_Vec

TangentOnC2()
Return type

gp_Vec

TangentOnS()
Return type

gp_Vec

TangentOnS1()
Return type

gp_Vec

TangentOnS2()
Return type

gp_Vec

property thisown

The membership flag

class Blend_RstRstFunction(*args, **kwargs)

Bases: OCC.Core.Blend.Blend_AppFunction

Decroch()
  • Enables to implement a criterion of decrochage specific to the function. Warning: Can be called without previous call of issolution but the values calculated can be senseless.
    param Sol

    type Sol

    math_Vector

    param NRst1

    type NRst1

    gp_Vec

    param TgRst1

    type TgRst1

    gp_Vec

    param NRst2

    type NRst2

    gp_Vec

    param TgRst2

    type TgRst2

    gp_Vec

    rtype

    Blend_DecrochStatus

GetTolerance()
  • Returns in the vector Tolerance the parametric tolerance for each variable; Tol is the tolerance used in 3d space.
    param Tolerance

    type Tolerance

    math_Vector

    param Tol

    type Tol

    float

    rtype

    void* 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.

    param BoundTol

    type BoundTol

    float

    param SurfTol

    type SurfTol

    float

    param AngleTol

    type AngleTol

    float

    param Tol3d

    type Tol3d

    math_Vector

    param Tol1D

    type Tol1D

    math_Vector

    rtype

    void

IsTangencyPoint()
  • Returns True when it is not possible to compute the tangent vectors at PointOnS and/or PointOnRst.
    rtype

    bool

ParameterOnRst1()
  • Returns parameter of the point on the curve.
    rtype

    float

ParameterOnRst2()
  • Returns parameter of the point on the curve.
    rtype

    float

Pnt2dOnRst1()
  • Returns U,V coordinates of the point on the surface.
    rtype

    gp_Pnt2d

Pnt2dOnRst2()
  • Returns U,V coordinates of the point on the curve on surface.
    rtype

    gp_Pnt2d

PointOnRst1()
  • Returns the point on the surface.
    rtype

    gp_Pnt

PointOnRst2()
  • Returns the point on the curve.
    rtype

    gp_Pnt

Section()
Parameters

P

type P

Blend_Point

param Poles

type Poles

TColgp_Array1OfPnt

param Poles2d

type Poles2d

TColgp_Array1OfPnt2d

param Weigths

type Weigths

TColStd_Array1OfReal

rtype

void* Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False.

param P

type P

Blend_Point

param Poles

type Poles

TColgp_Array1OfPnt

param DPoles

type DPoles

TColgp_Array1OfVec

param Poles2d

type Poles2d

TColgp_Array1OfPnt2d

param DPoles2d

type DPoles2d

TColgp_Array1OfVec2d

param Weigths

type Weigths

TColStd_Array1OfReal

param DWeigths

type DWeigths

TColStd_Array1OfReal

rtype

bool* Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False.

param P

type P

Blend_Point

param Poles

type Poles

TColgp_Array1OfPnt

param DPoles

type DPoles

TColgp_Array1OfVec

param D2Poles

type D2Poles

TColgp_Array1OfVec

param Poles2d

type Poles2d

TColgp_Array1OfPnt2d

param DPoles2d

type DPoles2d

TColgp_Array1OfVec2d

param D2Poles2d

type D2Poles2d

TColgp_Array1OfVec2d

param Weigths

type Weigths

TColStd_Array1OfReal

param DWeigths

type DWeigths

TColStd_Array1OfReal

param D2Weigths

type D2Weigths

TColStd_Array1OfReal

rtype

bool

Set()
  • Sets the value of the parameter along the guide line. This determines the plane in which the solution has to be found.
    param Param

    type Param

    float

    rtype

    void* Sets the bounds of the parametric interval on the guide line. This determines the derivatives in these values if the function is not Cn.

    param First

    type First

    float

    param Last

    type Last

    float

    rtype

    void

Tangent2dOnRst1()
  • Returns the tangent vector at PointOnS, in the parametric space of the first surface.
    rtype

    gp_Vec2d

Tangent2dOnRst2()
  • Returns the tangent vector at PointOnRst, in the parametric space of the second surface.
    rtype

    gp_Vec2d

TangentOnRst1()
  • Returns the tangent vector at PointOnS, in 3d space.
    rtype

    gp_Vec

TangentOnRst2()
  • Returns the tangent vector at PointOnC, in 3d space.
    rtype

    gp_Vec

property thisown

The membership flag

class Blend_SequenceOfPoint(*args)

Bases: object

Append()
Assign()
ChangeFirst()
ChangeLast()
ChangeValue()
Clear()
Exchange()
First()
InsertAfter()
InsertBefore()
IsEmpty()
Last()
Length()
Lower()
Prepend()
Remove()
Reverse()
Set()
SetValue()
Size()
Split()
Upper()
Value()
begin()
cbegin()
cend()
static delNode()
end()
property thisown

The membership flag

class Blend_SurfCurvFuncInv(*args, **kwargs)

Bases: OCC.Core.math.math_FunctionSetWithDerivatives

GetBounds()
  • Returns in the vector InfBound the lowest values allowed for each of the 3 variables. Returns in the vector SupBound the greatest values allowed for each of the 3 variables.
    param InfBound

    type InfBound

    math_Vector

    param SupBound

    type SupBound

    math_Vector

    rtype

    void

GetTolerance()
  • Returns in the vector Tolerance the parametric tolerance for each of the 3 variables; Tol is the tolerance used in 3d space.
    param Tolerance

    type Tolerance

    math_Vector

    param Tol

    type Tol

    float

    rtype

    void

IsSolution()
  • Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space.
    param Sol

    type Sol

    math_Vector

    param Tol

    type Tol

    float

    rtype

    bool

Set()
  • Set the Point on which a solution has to be found.
    param Rst

    type Rst

    Adaptor2d_HCurve2d

    rtype

    void

property thisown

The membership flag

class Blend_SurfPointFuncInv(*args, **kwargs)

Bases: OCC.Core.math.math_FunctionSetWithDerivatives

GetBounds()
  • Returns in the vector InfBound the lowest values allowed for each of the 3 variables. Returns in the vector SupBound the greatest values allowed for each of the 3 variables.
    param InfBound

    type InfBound

    math_Vector

    param SupBound

    type SupBound

    math_Vector

    rtype

    void

GetTolerance()
  • Returns in the vector Tolerance the parametric tolerance for each of the 3 variables; Tol is the tolerance used in 3d space.
    param Tolerance

    type Tolerance

    math_Vector

    param Tol

    type Tol

    float

    rtype

    void

IsSolution()
  • Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space.
    param Sol

    type Sol

    math_Vector

    param Tol

    type Tol

    float

    rtype

    bool

Set()
  • Set the Point on which a solution has to be found.
    param P

    type P

    gp_Pnt

    rtype

    void

property thisown

The membership flag

class Blend_SurfRstFunction(*args, **kwargs)

Bases: OCC.Core.Blend.Blend_AppFunction

Decroch()
  • Enables implementation of a criterion of decrochage specific to the function.
    param Sol

    type Sol

    math_Vector

    param NS

    type NS

    gp_Vec

    param TgS

    type TgS

    gp_Vec

    rtype

    bool

GetTolerance()
  • Returns in the vector Tolerance the parametric tolerance for each variable; Tol is the tolerance used in 3d space.
    param Tolerance

    type Tolerance

    math_Vector

    param Tol

    type Tol

    float

    rtype

    void* 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.

    param BoundTol

    type BoundTol

    float

    param SurfTol

    type SurfTol

    float

    param AngleTol

    type AngleTol

    float

    param Tol3d

    type Tol3d

    math_Vector

    param Tol1D

    type Tol1D

    math_Vector

    rtype

    void

IsTangencyPoint()
  • Returns True when it is not possible to compute the tangent vectors at PointOnS and/or PointOnRst.
    rtype

    bool

ParameterOnRst()
  • Returns parameter of the point on the curve.
    rtype

    float

Pnt2dOnRst()
  • Returns U,V coordinates of the point on the curve on surface.
    rtype

    gp_Pnt2d

Pnt2dOnS()
  • Returns U,V coordinates of the point on the surface.
    rtype

    gp_Pnt2d

PointOnRst()
  • Returns the point on the curve.
    rtype

    gp_Pnt

PointOnS()
  • Returns the point on the surface.
    rtype

    gp_Pnt

Section()
  • Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False.
    param P

    type P

    Blend_Point

    param Poles

    type Poles

    TColgp_Array1OfPnt

    param DPoles

    type DPoles

    TColgp_Array1OfVec

    param Poles2d

    type Poles2d

    TColgp_Array1OfPnt2d

    param DPoles2d

    type DPoles2d

    TColgp_Array1OfVec2d

    param Weigths

    type Weigths

    TColStd_Array1OfReal

    param DWeigths

    type DWeigths

    TColStd_Array1OfReal

    rtype

    bool* Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False.

    param P

    type P

    Blend_Point

    param Poles

    type Poles

    TColgp_Array1OfPnt

    param DPoles

    type DPoles

    TColgp_Array1OfVec

    param D2Poles

    type D2Poles

    TColgp_Array1OfVec

    param Poles2d

    type Poles2d

    TColgp_Array1OfPnt2d

    param DPoles2d

    type DPoles2d

    TColgp_Array1OfVec2d

    param D2Poles2d

    type D2Poles2d

    TColgp_Array1OfVec2d

    param Weigths

    type Weigths

    TColStd_Array1OfReal

    param DWeigths

    type DWeigths

    TColStd_Array1OfReal

    param D2Weigths

    type D2Weigths

    TColStd_Array1OfReal

    rtype

    bool:param P:

    type P

    Blend_Point

    param Poles

    type Poles

    TColgp_Array1OfPnt

    param Poles2d

    type Poles2d

    TColgp_Array1OfPnt2d

    param Weigths

    type Weigths

    TColStd_Array1OfReal

    rtype

    void

Set()
  • Sets the value of the parameter along the guide line. This determines the plane in which the solution has to be found.
    param Param

    type Param

    float

    rtype

    void* Sets the bounds of the parametric interval on the guide line. This determines the derivatives in these values if the function is not Cn.

    param First

    type First

    float

    param Last

    type Last

    float

    rtype

    void

Tangent2dOnRst()
  • Returns the tangent vector at PointOnRst, in the parametric space of the second surface.
    rtype

    gp_Vec2d

Tangent2dOnS()
  • Returns the tangent vector at PointOnS, in the parametric space of the first surface.
    rtype

    gp_Vec2d

TangentOnRst()
  • Returns the tangent vector at PointOnC, in 3d space.
    rtype

    gp_Vec

TangentOnS()
  • Returns the tangent vector at PointOnS, in 3d space.
    rtype

    gp_Vec

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