OCC.Core.BlendFunc module¶
BlendFunc module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_blendfunc.html
-
class
BlendFunc_CSCircular
(*args)¶ Bases:
OCC.Core.Blend.Blend_CSFunction
- Creates a function for a circular blending between a curve <C> and a surface <S>. The direction of the planes are given by <CGuide>. The position of the plane is determined on the curve <C>. <L> defines the change of parameter between <C> and <CGuide>. So, the planes are defined as described belowt is the current parameter on the guide line. Pguide = C(L(t)); Nguide = CGuide’(t)/||CGuide’(t)||
- param S
- type S
Adaptor3d_HSurface
- param C
- type C
Adaptor3d_HCurve
- param CGuide
- type CGuide
Adaptor3d_HCurve
- param L
- type L
Law_Function
- rtype
None
-
GetSection
()¶ - Parameters
Param –
- type Param
float
- param U
- type U
float
- param V
- type V
float
- param W
- type W
float
- param tabP
- type tabP
TColgp_Array1OfPnt
- param tabV
- type tabV
TColgp_Array1OfVec
- rtype
bool
-
GetTolerance
()¶ - Parameters
Tolerance –
- type Tolerance
math_Vector
- param Tol
- type Tol
float
- rtype
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.
- 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
None
-
Section
()¶ - Parameters
Param –
- type Param
float
- param U
- type U
float
- param V
- type V
float
- param W
- type W
float
- param Pdeb
- type Pdeb
float
- param Pfin
- type Pfin
float
- param C
- type C
gp_Circ
- rtype
None* 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* Used for the first and last section
- 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
None
-
Set
()¶ - Parameters
Param –
- type Param
float
- rtype
None:param First:
- type First
float
- param Last
- type Last
float
- rtype
None:param Radius:
- type Radius
float
- param Choix
- type Choix
int
- rtype
None* Sets the type of section generation for the approximations.
- param TypeSection
- type TypeSection
BlendFunc_SectionShape
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BlendFunc_CSConstRad
(*args)¶ Bases:
OCC.Core.Blend.Blend_CSFunction
- Parameters
S –
- type S
Adaptor3d_HSurface
- param C
- type C
Adaptor3d_HCurve
- param CGuide
- type CGuide
Adaptor3d_HCurve
- rtype
None
-
GetSection
()¶ - Parameters
Param –
- type Param
float
- param U
- type U
float
- param V
- type V
float
- param W
- type W
float
- param tabP
- type tabP
TColgp_Array1OfPnt
- param tabV
- type tabV
TColgp_Array1OfVec
- rtype
bool
-
GetTolerance
()¶ - Parameters
Tolerance –
- type Tolerance
math_Vector
- param Tol
- type Tol
float
- rtype
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.
- 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
None
-
Section
()¶ - Parameters
Param –
- type Param
float
- param U
- type U
float
- param V
- type V
float
- param W
- type W
float
- param Pdeb
- type Pdeb
float
- param Pfin
- type Pfin
float
- param C
- type C
gp_Circ
- rtype
None* 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* Used for the first and last section
- 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
None
-
Set
()¶ - Parameters
Param –
- type Param
float
- rtype
None:param First:
- type First
float
- param Last
- type Last
float
- rtype
None:param Radius:
- type Radius
float
- param Choix
- type Choix
int
- rtype
None* Sets the type of section generation for the approximations.
- param TypeSection
- type TypeSection
BlendFunc_SectionShape
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BlendFunc_ChAsym
(*args)¶ Bases:
OCC.Core.Blend.Blend_Function
- Parameters
S1 –
- type S1
Adaptor3d_HSurface
- param S2
- type S2
Adaptor3d_HSurface
- param C
- type C
Adaptor3d_HCurve
- rtype
None
-
ComputeValues
()¶ - computes the values <F> of the derivatives for the variable <X> between DegF and DegL. Returns True if the computation was done successfully, False otherwise.
- param X
- type X
math_Vector
- param DegF
- type DegF
int
- param DegL
- type DegL
int
- rtype
bool
-
GetTolerance
()¶ - Parameters
Tolerance –
- type Tolerance
math_Vector
- param Tol
- type Tol
float
- rtype
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.
- 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
None
-
Section
()¶ - Utile pour une visu rapide et approximative de la surface.
- 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 Pdeb
- type Pdeb
float
- param Pfin
- type Pfin
float
- param C
- type C
gp_Lin
- rtype
None: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
None* Used for the first and last section
- 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
- 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
()¶ - Parameters
Param –
- type Param
float
- rtype
None:param First:
- type First
float
- param Last
- type Last
float
- rtype
None* Sets the distances and the angle.
- param Dist1
- type Dist1
float
- param Angle
- type Angle
float
- param Choix
- type Choix
int
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BlendFunc_ChAsymInv
(*args)¶ Bases:
OCC.Core.Blend.Blend_FuncInv
- Parameters
S1 –
- type S1
Adaptor3d_HSurface
- param S2
- type S2
Adaptor3d_HSurface
- param C
- type C
Adaptor3d_HCurve
- rtype
None
-
ComputeValues
()¶ - computes the values <F> of the derivatives for the variable <X> between DegF and DegL. Returns True if the computation was done successfully, False otherwise.
- param X
- type X
math_Vector
- param DegF
- type DegF
int
- param DegL
- type DegL
int
- rtype
bool
-
Set
()¶ - Parameters
OnFirst –
- type OnFirst
bool
- param COnSurf
- type COnSurf
Adaptor2d_HCurve2d
- rtype
None:param Dist1:
- type Dist1
float
- param Angle
- type Angle
float
- param Choix
- type Choix
int
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BlendFunc_ChamfInv
(*args)¶ Bases:
OCC.Core.BlendFunc.BlendFunc_GenChamfInv
- Parameters
S1 –
- type S1
Adaptor3d_HSurface
- param S2
- type S2
Adaptor3d_HSurface
- param C
- type C
Adaptor3d_HCurve
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BlendFunc_Chamfer
(*args)¶ Bases:
OCC.Core.BlendFunc.BlendFunc_GenChamfer
- Parameters
S1 –
- type S1
Adaptor3d_HSurface
- param S2
- type S2
Adaptor3d_HSurface
- param CG
- type CG
Adaptor3d_HCurve
- rtype
None
-
Set
()¶ - Parameters
Param –
- type Param
float
- rtype
None* Sets the distances and the ‘quadrant’.
- param Dist1
- type Dist1
float
- param Dist2
- type Dist2
float
- param Choix
- type Choix
int
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BlendFunc_ConstRad
(*args)¶ Bases:
OCC.Core.Blend.Blend_Function
- Parameters
S1 –
- type S1
Adaptor3d_HSurface
- param S2
- type S2
Adaptor3d_HSurface
- param C
- type C
Adaptor3d_HCurve
- rtype
None
-
AxeRot
()¶ - Parameters
Prm –
- type Prm
float
- rtype
gp_Ax1
-
GetTolerance
()¶ - Parameters
Tolerance –
- type Tolerance
math_Vector
- param Tol
- type Tol
float
- rtype
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.
- 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
None
-
Section
()¶ - Utile pour une visu rapide et approximative de la surface.
- 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 Pdeb
- type Pdeb
float
- param Pfin
- type Pfin
float
- param C
- type C
gp_Circ
- rtype
None* Used for the first and last section
- 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* Used for the first and last section
- 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
None
-
Set
()¶ - Parameters
Param –
- type Param
float
- rtype
None:param First:
- type First
float
- param Last
- type Last
float
- rtype
None* Inits the value of radius, and the ‘quadrant’.
- param Radius
- type Radius
float
- param Choix
- type Choix
int
- rtype
None* Sets the type of section generation for the approximations.
- param TypeSection
- type TypeSection
BlendFunc_SectionShape
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BlendFunc_ConstRadInv
(*args)¶ Bases:
OCC.Core.Blend.Blend_FuncInv
- Parameters
S1 –
- type S1
Adaptor3d_HSurface
- param S2
- type S2
Adaptor3d_HSurface
- param C
- type C
Adaptor3d_HCurve
- rtype
None
-
Set
()¶ - Parameters
OnFirst –
- type OnFirst
bool
- param COnSurf
- type COnSurf
Adaptor2d_HCurve2d
- rtype
None:param R:
- type R
float
- param Choix
- type Choix
int
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BlendFunc_ConstThroat
(*args)¶ Bases:
OCC.Core.BlendFunc.BlendFunc_GenChamfer
- Parameters
S1 –
- type S1
Adaptor3d_HSurface
- param S2
- type S2
Adaptor3d_HSurface
- param C
- type C
Adaptor3d_HCurve
- rtype
None
-
Set
()¶ - Parameters
Param –
- type Param
float
- rtype
None* Sets the throat and the ‘quadrant’.
- param aThroat
- type aThroat
float
- param Standard_Real
- type Standard_Real
- param Choix
- type Choix
int
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BlendFunc_ConstThroatInv
(*args)¶ Bases:
OCC.Core.BlendFunc.BlendFunc_GenChamfInv
- Parameters
S1 –
- type S1
Adaptor3d_HSurface
- param S2
- type S2
Adaptor3d_HSurface
- param C
- type C
Adaptor3d_HCurve
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BlendFunc_ConstThroatWithPenetration
(*args)¶ Bases:
OCC.Core.BlendFunc.BlendFunc_ConstThroat
- Parameters
S1 –
- type S1
Adaptor3d_HSurface
- param S2
- type S2
Adaptor3d_HSurface
- param C
- type C
Adaptor3d_HCurve
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BlendFunc_ConstThroatWithPenetrationInv
(*args)¶ Bases:
OCC.Core.BlendFunc.BlendFunc_ConstThroatInv
- Parameters
S1 –
- type S1
Adaptor3d_HSurface
- param S2
- type S2
Adaptor3d_HSurface
- param C
- type C
Adaptor3d_HCurve
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BlendFunc_Corde
(*args)¶ Bases:
object
- Parameters
S –
- type S
Adaptor3d_HSurface
- param CGuide
- type CGuide
Adaptor3d_HCurve
- rtype
None
-
DerFguide
()¶ - Derived of the function compared to the parameter of the guideline
- param Sol
- type Sol
math_Vector
- param DerF
- type DerF
gp_Vec2d
- rtype
None
-
Derivatives
()¶ - returns the values <D> of the derivatives for the variable <X>. Returns True if the computation was done successfully, False otherwise.
- param X
- type X
math_Vector
- param D
- type D
math_Matrix
- rtype
bool
-
IsSolution
()¶ - Returns False if Sol is not solution else returns True and updates the fields tgs and tg2d
- param Sol
- type Sol
math_Vector
- param Tol
- type Tol
float
- rtype
bool
-
IsTangencyPoint
()¶ - Returns True when it is not possible to compute the tangent vectors at PointOnS.
- rtype
bool
-
NPlan
()¶ - returns the normal to CGuide at Ptgui.
- rtype
gp_Vec
-
PointOnGuide
()¶ - returns the point of parameter <Param> on CGuide
- rtype
gp_Pnt
-
SetDist
()¶ - Parameters
Dist –
- type Dist
float
- rtype
None
-
SetParam
()¶ - Parameters
Param –
- type Param
float
- rtype
None
-
Tangent2dOnS
()¶ - Returns the tangent vector at PointOnS, in the parametric space of the first surface.
- rtype
gp_Vec2d
-
TangentOnS
()¶ - Returns the tangent vector at PointOnS, in 3d space.
- rtype
gp_Vec
-
Value
()¶ - computes the values <F> of the Function for the variable <X>. Returns True if the computation was done successfully, False otherwise.
- param X
- type X
math_Vector
- param F
- type F
math_Vector
- rtype
bool
-
property
thisown
¶ The membership flag
-
class
BlendFunc_EvolRad
(*args)¶ Bases:
OCC.Core.Blend.Blend_Function
- Parameters
S1 –
- type S1
Adaptor3d_HSurface
- param S2
- type S2
Adaptor3d_HSurface
- param C
- type C
Adaptor3d_HCurve
- param Law
- type Law
Law_Function
- rtype
None
-
GetTolerance
()¶ - Parameters
Tolerance –
- type Tolerance
math_Vector
- param Tol
- type Tol
float
- rtype
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.
- 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
None
-
Section
()¶ - Method for graphic traces
- 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 Pdeb
- type Pdeb
float
- param Pfin
- type Pfin
float
- param C
- type C
gp_Circ
- rtype
None* Used for the first and last section
- 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* Used for the first and last section
- 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
None
-
Set
()¶ - Parameters
Param –
- type Param
float
- rtype
None:param First:
- type First
float
- param Last
- type Last
float
- rtype
None:param Choix:
- type Choix
int
- rtype
None* Sets the type of section generation for the approximations.
- param TypeSection
- type TypeSection
BlendFunc_SectionShape
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BlendFunc_EvolRadInv
(*args)¶ Bases:
OCC.Core.Blend.Blend_FuncInv
- Parameters
S1 –
- type S1
Adaptor3d_HSurface
- param S2
- type S2
Adaptor3d_HSurface
- param C
- type C
Adaptor3d_HCurve
- param Law
- type Law
Law_Function
- rtype
None
-
Set
()¶ - Parameters
OnFirst –
- type OnFirst
bool
- param COnSurf
- type COnSurf
Adaptor2d_HCurve2d
- rtype
None:param Choix:
- type Choix
int
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BlendFunc_GenChamfInv
(*args, **kwargs)¶ Bases:
OCC.Core.Blend.Blend_FuncInv
-
Set
()¶ - Parameters
OnFirst –
- type OnFirst
bool
- param COnSurf
- type COnSurf
Adaptor2d_HCurve2d
- rtype
void:param Dist1:
- type Dist1
float
- param Dist2
- type Dist2
float
- param Choix
- type Choix
int
- rtype
void
-
property
thisown
¶ The membership flag
-
-
class
BlendFunc_GenChamfer
(*args, **kwargs)¶ Bases:
OCC.Core.Blend.Blend_Function
-
GetTolerance
()¶ - Parameters
Tolerance –
- type Tolerance
math_Vector
- param Tol
- type Tol
float
- rtype
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.
- 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
None
-
Section
()¶ - Obsolete method
- 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 Pdeb
- type Pdeb
float
- param Pfin
- type Pfin
float
- param C
- type C
gp_Lin
- rtype
None* Used for the first and last section
- 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* Used for the first and last section
- 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
None
-
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
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.
- param First
- type First
float
- param Last
- type Last
float
- rtype
None* Sets the distances and the ‘quadrant’.
- param Dist1
- type Dist1
float
- param Dist2
- type Dist2
float
- param Choix
- type Choix
int
- rtype
void
-
property
thisown
¶ The membership flag
-
-
class
BlendFunc_Ruled
(*args)¶ Bases:
OCC.Core.Blend.Blend_Function
- Parameters
S1 –
- type S1
Adaptor3d_HSurface
- param S2
- type S2
Adaptor3d_HSurface
- param C
- type C
Adaptor3d_HCurve
- rtype
None
-
AxeRot
()¶ - Parameters
Prm –
- type Prm
float
- rtype
gp_Ax1
-
GetSection
()¶ - Parameters
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 tabP
- type tabP
TColgp_Array1OfPnt
- param tabV
- type tabV
TColgp_Array1OfVec
- rtype
bool
-
GetTolerance
()¶ - Parameters
Tolerance –
- type Tolerance
math_Vector
- param Tol
- type Tol
float
- rtype
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.
- 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
None
-
Section
()¶ - Used for the first and last section
- 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* Used for the first and last section
- 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
None
-
Set
()¶ - Parameters
Param –
- type Param
float
- rtype
None:param First:
- type First
float
- param Last
- type Last
float
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BlendFunc_RuledInv
(*args)¶ Bases:
OCC.Core.Blend.Blend_FuncInv
- Parameters
S1 –
- type S1
Adaptor3d_HSurface
- param S2
- type S2
Adaptor3d_HSurface
- param C
- type C
Adaptor3d_HCurve
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BlendFunc_Tensor
(*args)¶ Bases:
object
- Parameters
NbRow –
- type NbRow
int
- param NbCol
- type NbCol
int
- param NbMat
- type NbMat
int
- rtype
None
-
GetChangeValue
(BlendFunc_Tensor self, Standard_Integer const Row, Standard_Integer const Col, Standard_Integer const Mat) → Standard_Real¶
-
Init
()¶ - Initialize all the elements of a Tensor to InitialValue.
- param InitialValue
- type InitialValue
float
- rtype
None
-
Multiply
()¶ - Parameters
Right –
- type Right
math_Vector
- param Product
- type Product
math_Matrix
- rtype
None
-
SetChangeValue
(BlendFunc_Tensor self, Standard_Integer const Row, Standard_Integer const Col, Standard_Integer const Mat, Standard_Real value)¶
-
Value
()¶ - accesses (in read or write mode) the value of index <Row>, <Col> and <Mat> of a Tensor. An exception is raised if <Row>, <Col> or <Mat> are not in the correct range.
- param Row
- type Row
int
- param Col
- type Col
int
- param Mat
- type Mat
int
- rtype
float
-
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
()¶
-
-
class
blendfunc
¶ Bases:
object
-
static
ComputeDNormal
()¶ - Parameters
Surf –
- type Surf
Adaptor3d_HSurface
- param p2d
- type p2d
gp_Pnt2d
- param Normal
- type Normal
gp_Vec
- param DNu
- type DNu
gp_Vec
- param DNv
- type DNv
gp_Vec
- rtype
bool
-
static
ComputeNormal
()¶ - Parameters
Surf –
- type Surf
Adaptor3d_HSurface
- param p2d
- type p2d
gp_Pnt2d
- param Normal
- type Normal
gp_Vec
- rtype
bool
-
static
GetMinimalWeights
()¶ - Parameters
SectShape –
- type SectShape
BlendFunc_SectionShape
- param TConv
- type TConv
Convert_ParameterisationType
- param AngleMin
- type AngleMin
float
- param AngleMax
- type AngleMax
float
- param Weigths
- type Weigths
TColStd_Array1OfReal
- rtype
void
-
static
GetShape
()¶ - Parameters
SectShape –
- type SectShape
BlendFunc_SectionShape
- param MaxAng
- type MaxAng
float
- param NbPoles
- type NbPoles
int
- param NbKnots
- type NbKnots
int
- param Degree
- type Degree
int
- param TypeConv
- type TypeConv
Convert_ParameterisationType
- rtype
void
-
static
NextShape
()¶ - Used to obtain the next level of continuity.
- param S
- type S
GeomAbs_Shape
- rtype
GeomAbs_Shape
-
property
thisown
¶ The membership flag
-
static