OCC.Core.BRepBlend module¶
BRepBlend module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepblend.html
-
class
BRepBlend_AppFunc
(*args)¶ Bases:
OCC.Core.BRepBlend.BRepBlend_AppFuncRoot
- Parameters
Line –
- type Line
BRepBlend_Line
- param Func
- type Func
Blend_Function
- param Tol3d
- type Tol3d
float
- param Tol2d
- type Tol2d
float
- rtype
None
-
static
DownCast
(t)¶
-
property
thisown
¶ The membership flag
-
class
BRepBlend_AppFuncRoot
(*args, **kwargs)¶ Bases:
OCC.Core.Approx.Approx_SweepFunction
Empty constructor
- Return type
None* Copy constructor – does nothing
- Parameters
& (Standard_Transient) –
- Return type
-
static
DownCast
(t)¶
-
Point
()¶ - Parameters
Func –
- type Func
Blend_AppFunction
- param Param
- type Param
float
- param Sol
- type Sol
math_Vector
- param Pnt
- type Pnt
Blend_Point
- rtype
void
-
Vec
()¶ - Parameters
Sol –
- type Sol
math_Vector
- param Pnt
- type Pnt
Blend_Point
- rtype
void
-
property
thisown
¶ The membership flag
-
class
BRepBlend_AppFuncRst
(*args)¶ Bases:
OCC.Core.BRepBlend.BRepBlend_AppFuncRoot
- Parameters
Line –
- type Line
BRepBlend_Line
- param Func
- type Func
Blend_SurfRstFunction
- param Tol3d
- type Tol3d
float
- param Tol2d
- type Tol2d
float
- rtype
None
-
static
DownCast
(t)¶
-
property
thisown
¶ The membership flag
-
class
BRepBlend_AppFuncRstRst
(*args)¶ Bases:
OCC.Core.BRepBlend.BRepBlend_AppFuncRoot
- Parameters
Line –
- type Line
BRepBlend_Line
- param Func
- type Func
Blend_RstRstFunction
- param Tol3d
- type Tol3d
float
- param Tol2d
- type Tol2d
float
- rtype
None
-
static
DownCast
(t)¶
-
property
thisown
¶ The membership flag
-
class
BRepBlend_AppSurf
(*args)¶ Bases:
OCC.Core.AppBlend.AppBlend_Approx
- Return type
None:param Degmin: :type Degmin: int :param Degmax: :type Degmax: int :param Tol3d: :type Tol3d: float :param Tol2d: :type Tol2d: float :param NbIt: :type NbIt: int :param KnownParameters: default value is Standard_False :type KnownParameters: bool :rtype: None
-
Continuity
()¶ - returns the Continuity used in the approximation
- rtype
GeomAbs_Shape
-
CriteriumWeight
()¶ - returns the Weights (as percent) associed to the criterium used in the optimization.
- param W1
- type W1
float
- param W2
- type W2
float
- param W3
- type W3
float
- rtype
None
-
Init
()¶ - Parameters
Degmin –
- type Degmin
int
- param Degmax
- type Degmax
int
- param Tol3d
- type Tol3d
float
- param Tol2d
- type Tol2d
float
- param NbIt
- type NbIt
int
- param KnownParameters
default value is Standard_False
- type KnownParameters
bool
- rtype
None
-
ParType
()¶ - returns the type of parametrization used in the approximation
- rtype
Approx_ParametrizationType
-
Perform
()¶ - Parameters
Lin –
- type Lin
BRepBlend_Line
- param SecGen
- type SecGen
Blend_AppFunction
- param SpApprox
default value is Standard_False
- type SpApprox
bool
- rtype
None:param Lin:
- type Lin
BRepBlend_Line
- param SecGen
- type SecGen
Blend_AppFunction
- param NbMaxP
- type NbMaxP
int
- rtype
None
-
PerformSmoothing
()¶ - Parameters
Lin –
- type Lin
BRepBlend_Line
- param SecGen
- type SecGen
Blend_AppFunction
- rtype
None
-
SetContinuity
()¶ - Define the Continuity used in the approximation
- param C
- type C
GeomAbs_Shape
- rtype
None
-
SetCriteriumWeight
()¶ - define the Weights associed to the criterium used in the optimization. //! if Wi <= 0
- param W1
- type W1
float
- param W2
- type W2
float
- param W3
- type W3
float
- rtype
None
-
SetParType
()¶ - Define the type of parametrization used in the approximation
- param ParType
- type ParType
Approx_ParametrizationType
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BRepBlend_AppSurface
(*args)¶ Bases:
OCC.Core.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.
- param Funct
- type Funct
Approx_SweepFunction
- param First
- type First
float
- param Last
- type Last
float
- param Tol3d
- type Tol3d
float
- param Tol2d
- type Tol2d
float
- param TolAngular
- type TolAngular
float
- param Continuity
default value is GeomAbs_C0
- type Continuity
GeomAbs_Shape
- param Degmax
default value is 11
- type Degmax
int
- param Segmax
default value is 50
- type Segmax
int
- rtype
None
-
DumpToString
(BRepBlend_AppSurface self) → std::string¶
-
Max2dError
()¶ - returns the maximum error in the <Index> 2d curve approximation.
- param Index
- type Index
int
- rtype
float
-
MaxErrorOnSurf
()¶ - returns the maximum error in the suface approximation.
- rtype
float
-
property
thisown
¶ The membership flag
-
class
BRepBlend_CSWalking
(*args)¶ Bases:
object
- Parameters
Curv –
- type Curv
Adaptor3d_HCurve
- param Surf
- type Surf
Adaptor3d_HSurface
- param Domain
- type Domain
Adaptor3d_TopolTool
- rtype
None
-
Complete
()¶ - Parameters
F –
- type F
Blend_CSFunction
- param Pmin
- type Pmin
float
- rtype
bool
-
Line
()¶ - Return type
opencascade::handle<BRepBlend_Line>
-
Perform
()¶ - Parameters
F –
- type F
Blend_CSFunction
- param Pdep
- type Pdep
float
- param Pmax
- type Pmax
float
- param MaxStep
- type MaxStep
float
- param TolGuide
- type TolGuide
float
- param Soldep
- type Soldep
math_Vector
- param Tolesp
- type Tolesp
float
- param Fleche
- type Fleche
float
- param Appro
default value is Standard_False
- type Appro
bool
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BRepBlend_CurvPointRadInv
(*args)¶ Bases:
OCC.Core.Blend.Blend_CurvPointFuncInv
- Parameters
C1 –
- type C1
Adaptor3d_HCurve
- param C2
- type C2
Adaptor3d_HCurve
- rtype
None
-
Set
()¶ - Parameters
Choix –
- type Choix
int
- rtype
None* Set the Point on which a solution has to be found.
- param P
- type P
gp_Pnt
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BRepBlend_Extremity
(*args)¶ Bases:
object
- Return type
None* Creates an extremity on a surface :param P: :type P: gp_Pnt :param U: :type U: float :param V: :type V: float :param Param: :type Param: float :param Tol: :type Tol: float :rtype: None* Creates an extremity on a surface. This extremity matches the vertex <Vtx>. :param P: :type P: gp_Pnt :param U: :type U: float :param V: :type V: float :param Param: :type Param: float :param Tol: :type Tol: float :param Vtx: :type Vtx: Adaptor3d_HVertex :rtype: None* Creates an extremity on a curve :param P: :type P: gp_Pnt :param W: :type W: float :param Param: :type Param: float :param Tol: :type Tol: float :rtype: None
-
AddArc
()¶ - Sets the values of a point which is on the arc A, at parameter Param.
- param A
- type A
Adaptor2d_HCurve2d
- param Param
- type Param
float
- param TLine
- type TLine
IntSurf_Transition
- param TArc
- type TArc
IntSurf_Transition
- rtype
None
-
HasTangent
()¶ - Returns True if the Tangent is stored.
- rtype
bool
-
IsVertex
()¶ - Returns Standard_True when the point coincide with an existing vertex.
- rtype
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.
- rtype
int
-
Parameters
()¶ - This method returns the parameters of the point on the concerned surface.
- param U
- type U
float
- param V
- type V
float
- rtype
None
-
PointOnRst
()¶ - Parameters
Index –
- type Index
int
- rtype
BRepBlend_PointOnRst
-
SetTangent
()¶ - Set the tangent vector for an extremity on a surface.
- param Tangent
- type Tangent
gp_Vec
- rtype
None
-
SetValue
()¶ - Set the values for an extremity on a surface.
- param P
- type P
gp_Pnt
- param U
- type U
float
- param V
- type V
float
- param Param
- type Param
float
- param Tol
- type Tol
float
- rtype
None* Set the values for an extremity on a surface.This extremity matches the vertex <Vtx>.
- param P
- type P
gp_Pnt
- param U
- type U
float
- param V
- type V
float
- param Param
- type Param
float
- param Tol
- type Tol
float
- param Vtx
- type Vtx
Adaptor3d_HVertex
- rtype
None* Set the values for an extremity on curve.
- param P
- type P
gp_Pnt
- param W
- type W
float
- param Param
- type Param
float
- param Tol
- type Tol
float
- rtype
None
-
SetVertex
()¶ - Set the values for an extremity on a curve.
- param V
- type V
Adaptor3d_HVertex
- rtype
None
-
Tangent
()¶ - This method returns the value of tangent in 3d space.
- rtype
gp_Vec
-
Tolerance
()¶ - This method returns the fuzziness on the point in 3d space.
- rtype
float
-
Value
()¶ - This method returns the value of the point in 3d space.
- rtype
gp_Pnt
-
Vertex
()¶ - Returns the vertex when IsVertex returns Standard_True.
- rtype
opencascade::handle<Adaptor3d_HVertex>
-
property
thisown
¶ The membership flag
-
class
BRepBlend_Line
(*args)¶ Bases:
OCC.Core.Standard.Standard_Transient
- Return type
-
Append
()¶ - Adds a point in the line.
- param P
- type P
Blend_Point
- rtype
None
-
Clear
()¶ - Clears the content of the line.
- rtype
None
-
static
DownCast
(t)¶
-
EndPointOnFirst
()¶ - Returns the end point on S1.
- rtype
BRepBlend_Extremity
-
EndPointOnSecond
()¶ - Returns the point on S2.
- rtype
BRepBlend_Extremity
-
InsertBefore
()¶ - Adds a point in the line at the first place.
- param Index
- type Index
int
- param P
- type P
Blend_Point
- rtype
None
-
NbPoints
()¶ - Returns the number of points in the line.
- rtype
int
-
Point
()¶ - Returns the point of range Index.
- param Index
- type Index
int
- rtype
Blend_Point
-
Prepend
()¶ - Adds a point in the line at the first place.
- param P
- type P
Blend_Point
- rtype
None
-
Remove
()¶ - Removes from <self> all the items of positions between <FromIndex> and <ToIndex>. Raises an exception if the indices are out of bounds.
- param FromIndex
- type FromIndex
int
- param ToIndex
- type ToIndex
int
- rtype
None
-
Set
()¶ - Sets the value of the transition of the line on S1 and the line on S2.
- param TranS1
- type TranS1
IntSurf_TypeTrans
- param TranS2
- type TranS2
IntSurf_TypeTrans
- rtype
None* Sets the value of the transition of the line on a surface
- param Trans
- type Trans
IntSurf_TypeTrans
- rtype
None
-
SetEndPoints
()¶ - Sets tne values of the end points for the line.
- param EndPt1
- type EndPt1
BRepBlend_Extremity
- param EndPt2
- type EndPt2
BRepBlend_Extremity
- rtype
None
-
SetStartPoints
()¶ - Sets the values of the start points for the line.
- param StartPt1
- type StartPt1
BRepBlend_Extremity
- param StartPt2
- type StartPt2
BRepBlend_Extremity
- rtype
None
-
StartPointOnFirst
()¶ - Returns the start point on S1.
- rtype
BRepBlend_Extremity
-
StartPointOnSecond
()¶ - Returns the start point on S2
- rtype
BRepBlend_Extremity
-
TransitionOnS
()¶ - Returns the type of the transition of the line defined on the surface.
- rtype
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.
- rtype
IntSurf_TypeTrans
-
TransitionOnS2
()¶ - Returns the type of the transition of the line defined on the second surface. The transition is ‘constant’ along the line.
- rtype
IntSurf_TypeTrans
-
property
thisown
¶ The membership flag
-
class
BRepBlend_PointOnRst
(*args)¶ Bases:
object
- Empty constructor.
- rtype
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.
- param A
- type A
Adaptor2d_HCurve2d
- param Param
- type Param
float
- param TLine
- type TLine
IntSurf_Transition
- param TArc
- type TArc
IntSurf_Transition
- rtype
None
-
Arc
()¶ - Returns the arc of restriction containing the vertex.
- rtype
opencascade::handle<Adaptor2d_HCurve2d>
-
ParameterOnArc
()¶ - Returns the parameter of the point on the arc returned by the method Arc().
- rtype
float
-
SetArc
()¶ - Sets the values of a point which is on the arc A, at parameter Param.
- param A
- type A
Adaptor2d_HCurve2d
- param Param
- type Param
float
- param TLine
- type TLine
IntSurf_Transition
- param TArc
- type TArc
IntSurf_Transition
- rtype
None
-
TransitionOnArc
()¶ - Returns the transition of the point on the arc returned by Arc().
- rtype
IntSurf_Transition
-
TransitionOnLine
()¶ - Returns the transition of the point on the line on surface.
- rtype
IntSurf_Transition
-
property
thisown
¶ The membership flag
-
class
BRepBlend_RstRstConstRad
(*args)¶ Bases:
OCC.Core.Blend.Blend_RstRstFunction
- Parameters
Surf1 –
- type Surf1
Adaptor3d_HSurface
- param Rst1
- type Rst1
Adaptor2d_HCurve2d
- param Surf2
- type Surf2
Adaptor3d_HSurface
- param Rst2
- type Rst2
Adaptor2d_HCurve2d
- param CGuide
- type CGuide
Adaptor3d_HCurve
- rtype
None
-
CenterCircleRst1Rst2
()¶ - Give the center of circle define by PtRst1, PtRst2 and radius ray.
- param PtRst1
- type PtRst1
gp_Pnt
- param PtRst2
- type PtRst2
gp_Pnt
- param np
- type np
gp_Vec
- param Center
- type Center
gp_Pnt
- param VdMed
- type VdMed
gp_Vec
- 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 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 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* 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
()¶ - Parameters
SurfRef1 –
- type SurfRef1
Adaptor3d_HSurface
- param RstRef1
- type RstRef1
Adaptor2d_HCurve2d
- param SurfRef2
- type SurfRef2
Adaptor3d_HSurface
- param RstRef2
- type RstRef2
Adaptor2d_HCurve2d
- rtype
None: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: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
BRepBlend_RstRstEvolRad
(*args)¶ Bases:
OCC.Core.Blend.Blend_RstRstFunction
- Parameters
Surf1 –
- type Surf1
Adaptor3d_HSurface
- param Rst1
- type Rst1
Adaptor2d_HCurve2d
- param Surf2
- type Surf2
Adaptor3d_HSurface
- param Rst2
- type Rst2
Adaptor2d_HCurve2d
- param CGuide
- type CGuide
Adaptor3d_HCurve
- param Evol
- type Evol
Law_Function
- rtype
None
-
CenterCircleRst1Rst2
()¶ - Gives the center of circle defined by PtRst1, PtRst2 and radius ray.
- param PtRst1
- type PtRst1
gp_Pnt
- param PtRst2
- type PtRst2
gp_Pnt
- param np
- type np
gp_Vec
- param Center
- type Center
gp_Pnt
- param VdMed
- type VdMed
gp_Vec
- 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 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 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* 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
()¶ - Parameters
SurfRef1 –
- type SurfRef1
Adaptor3d_HSurface
- param RstRef1
- type RstRef1
Adaptor2d_HCurve2d
- param SurfRef2
- type SurfRef2
Adaptor3d_HSurface
- param RstRef2
- type RstRef2
Adaptor2d_HCurve2d
- rtype
None: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: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
BRepBlend_RstRstLineBuilder
(*args)¶ Bases:
object
- Parameters
Surf1 –
- type Surf1
Adaptor3d_HSurface
- param Rst1
- type Rst1
Adaptor2d_HCurve2d
- param Domain1
- type Domain1
Adaptor3d_TopolTool
- param Surf2
- type Surf2
Adaptor3d_HSurface
- param Rst2
- type Rst2
Adaptor2d_HCurve2d
- param Domain2
- type Domain2
Adaptor3d_TopolTool
- rtype
None
-
Complete
()¶ - Parameters
Func –
- type Func
Blend_RstRstFunction
- param Finv1
- type Finv1
Blend_SurfCurvFuncInv
- param FinvP1
- type FinvP1
Blend_CurvPointFuncInv
- param Finv2
- type Finv2
Blend_SurfCurvFuncInv
- param FinvP2
- type FinvP2
Blend_CurvPointFuncInv
- param Pmin
- type Pmin
float
- rtype
bool
-
Line
()¶ - Return type
opencascade::handle<BRepBlend_Line>
-
Perform
()¶ - Parameters
Func –
- type Func
Blend_RstRstFunction
- param Finv1
- type Finv1
Blend_SurfCurvFuncInv
- param FinvP1
- type FinvP1
Blend_CurvPointFuncInv
- param Finv2
- type Finv2
Blend_SurfCurvFuncInv
- param FinvP2
- type FinvP2
Blend_CurvPointFuncInv
- param Pdep
- type Pdep
float
- param Pmax
- type Pmax
float
- param MaxStep
- type MaxStep
float
- param TolGuide
- type TolGuide
float
- param Soldep
- type Soldep
math_Vector
- param Tolesp
- type Tolesp
float
- param Fleche
- type Fleche
float
- param Appro
default value is Standard_False
- type Appro
bool
- rtype
None
-
PerformFirstSection
()¶ - Parameters
Func –
- type Func
Blend_RstRstFunction
- param Finv1
- type Finv1
Blend_SurfCurvFuncInv
- param FinvP1
- type FinvP1
Blend_CurvPointFuncInv
- param Finv2
- type Finv2
Blend_SurfCurvFuncInv
- param FinvP2
- type FinvP2
Blend_CurvPointFuncInv
- param Pdep
- type Pdep
float
- param Pmax
- type Pmax
float
- param Soldep
- type Soldep
math_Vector
- param Tolesp
- type Tolesp
float
- param TolGuide
- type TolGuide
float
- param RecRst1
- type RecRst1
bool
- param RecP1
- type RecP1
bool
- param RecRst2
- type RecRst2
bool
- param RecP2
- type RecP2
bool
- param Psol
- type Psol
float
- param ParSol
- type ParSol
math_Vector
- rtype
bool
-
property
thisown
¶ The membership flag
-
class
BRepBlend_SequenceOfLine
(*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
BRepBlend_SequenceOfPointOnRst
(*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
BRepBlend_SurfCurvConstRadInv
(*args)¶ Bases:
OCC.Core.Blend.Blend_SurfCurvFuncInv
- Parameters
S –
- type S
Adaptor3d_HSurface
- param C
- type C
Adaptor3d_HCurve
- param Cg
- type Cg
Adaptor3d_HCurve
- rtype
None
-
Set
()¶ - Parameters
R –
- type R
float
- param Choix
- type Choix
int
- rtype
None* Set the restriction on which a solution has to be found.
- param Rst
- type Rst
Adaptor2d_HCurve2d
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BRepBlend_SurfCurvEvolRadInv
(*args)¶ Bases:
OCC.Core.Blend.Blend_SurfCurvFuncInv
- Parameters
S –
- type S
Adaptor3d_HSurface
- param C
- type C
Adaptor3d_HCurve
- param Cg
- type Cg
Adaptor3d_HCurve
- param Evol
- type Evol
Law_Function
- rtype
None
-
Set
()¶ - Parameters
Choix –
- type Choix
int
- rtype
None* Set the restriction on which a solution has to be found.
- param Rst
- type Rst
Adaptor2d_HCurve2d
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BRepBlend_SurfPointConstRadInv
(*args)¶ Bases:
OCC.Core.Blend.Blend_SurfPointFuncInv
- Parameters
S –
- type S
Adaptor3d_HSurface
- param C
- type C
Adaptor3d_HCurve
- rtype
None
-
Set
()¶ - Parameters
R –
- type R
float
- param Choix
- type Choix
int
- rtype
None* Set the Point on which a solution has to be found.
- param P
- type P
gp_Pnt
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BRepBlend_SurfPointEvolRadInv
(*args)¶ Bases:
OCC.Core.Blend.Blend_SurfPointFuncInv
- Parameters
S –
- type S
Adaptor3d_HSurface
- param C
- type C
Adaptor3d_HCurve
- param Evol
- type Evol
Law_Function
- rtype
None
-
Set
()¶ - Parameters
Choix –
- type Choix
int
- rtype
None* Set the Point on which a solution has to be found.
- param P
- type P
gp_Pnt
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BRepBlend_SurfRstConstRad
(*args)¶ Bases:
OCC.Core.Blend.Blend_SurfRstFunction
- Parameters
Surf –
- type Surf
Adaptor3d_HSurface
- param SurfRst
- type SurfRst
Adaptor3d_HSurface
- param Rst
- type Rst
Adaptor2d_HCurve2d
- param CGuide
- type CGuide
Adaptor3d_HCurve
- 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
()¶ - 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
- 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
None
-
Set
()¶ - Parameters
SurfRef –
- type SurfRef
Adaptor3d_HSurface
- param RstRef
- type RstRef
Adaptor2d_HCurve2d
- rtype
None: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: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
BRepBlend_SurfRstEvolRad
(*args)¶ Bases:
OCC.Core.Blend.Blend_SurfRstFunction
- Parameters
Surf –
- type Surf
Adaptor3d_HSurface
- param SurfRst
- type SurfRst
Adaptor3d_HSurface
- param Rst
- type Rst
Adaptor2d_HCurve2d
- param CGuide
- type CGuide
Adaptor3d_HCurve
- param Evol
- type Evol
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
()¶ - 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
- 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
None
-
Set
()¶ - Parameters
SurfRef –
- type SurfRef
Adaptor3d_HSurface
- param RstRef
- type RstRef
Adaptor2d_HCurve2d
- rtype
None: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: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
BRepBlend_SurfRstLineBuilder
(*args)¶ Bases:
object
- Parameters
Surf1 –
- type Surf1
Adaptor3d_HSurface
- param Domain1
- type Domain1
Adaptor3d_TopolTool
- param Surf2
- type Surf2
Adaptor3d_HSurface
- param Rst
- type Rst
Adaptor2d_HCurve2d
- param Domain2
- type Domain2
Adaptor3d_TopolTool
- rtype
None
-
ArcToRecadre
()¶ - Parameters
Sol –
- type Sol
math_Vector
- param PrevIndex
- type PrevIndex
int
- param pt2d
- type pt2d
gp_Pnt2d
- param lastpt2d
- type lastpt2d
gp_Pnt2d
- param ponarc
- type ponarc
float
- rtype
int
-
Complete
()¶ - Parameters
Func –
- type Func
Blend_SurfRstFunction
- param Finv
- type Finv
Blend_FuncInv
- param FinvP
- type FinvP
Blend_SurfPointFuncInv
- param FinvC
- type FinvC
Blend_SurfCurvFuncInv
- param Pmin
- type Pmin
float
- rtype
bool
-
Line
()¶ - Return type
opencascade::handle<BRepBlend_Line>
-
Perform
()¶ - Parameters
Func –
- type Func
Blend_SurfRstFunction
- param Finv
- type Finv
Blend_FuncInv
- param FinvP
- type FinvP
Blend_SurfPointFuncInv
- param FinvC
- type FinvC
Blend_SurfCurvFuncInv
- param Pdep
- type Pdep
float
- param Pmax
- type Pmax
float
- param MaxStep
- type MaxStep
float
- param TolGuide
- type TolGuide
float
- param Soldep
- type Soldep
math_Vector
- param Tolesp
- type Tolesp
float
- param Fleche
- type Fleche
float
- param Appro
default value is Standard_False
- type Appro
bool
- rtype
None
-
PerformFirstSection
()¶ - Parameters
Func –
- type Func
Blend_SurfRstFunction
- param Finv
- type Finv
Blend_FuncInv
- param FinvP
- type FinvP
Blend_SurfPointFuncInv
- param FinvC
- type FinvC
Blend_SurfCurvFuncInv
- param Pdep
- type Pdep
float
- param Pmax
- type Pmax
float
- param Soldep
- type Soldep
math_Vector
- param Tolesp
- type Tolesp
float
- param TolGuide
- type TolGuide
float
- param RecRst
- type RecRst
bool
- param RecP
- type RecP
bool
- param RecS
- type RecS
bool
- param Psol
- type Psol
float
- param ParSol
- type ParSol
math_Vector
- rtype
bool
-
property
thisown
¶ The membership flag
-
class
BRepBlend_Walking
(*args)¶ Bases:
object
- Parameters
Surf1 –
- type Surf1
Adaptor3d_HSurface
- param Surf2
- type Surf2
Adaptor3d_HSurface
- param Domain1
- type Domain1
Adaptor3d_TopolTool
- param Domain2
- type Domain2
Adaptor3d_TopolTool
- param HGuide
- type HGuide
ChFiDS_HElSpine
- rtype
None
-
AddSingularPoint
()¶ - To define singular points computed before walking.
- param P
- type P
Blend_Point
- rtype
None
-
Check
()¶ - Parameters
C –
- type C
bool
- rtype
None
-
Check2d
()¶ - Parameters
C –
- type C
bool
- rtype
None
-
ClassificationOnS1
()¶ - Parameters
C –
- type C
bool
- rtype
None
-
ClassificationOnS2
()¶ - Parameters
C –
- type C
bool
- rtype
None
-
Complete
()¶ - Parameters
F –
- type F
Blend_Function
- param FInv
- type FInv
Blend_FuncInv
- param Pmin
- type Pmin
float
- rtype
bool
-
Continu
()¶ - Parameters
F –
- type F
Blend_Function
- param FInv
- type FInv
Blend_FuncInv
- param P
- type P
float
- rtype
bool:param F:
- type F
Blend_Function
- param FInv
- type FInv
Blend_FuncInv
- param P
- type P
float
- param OnS1
- type OnS1
bool
- rtype
bool
-
Line
()¶ - Return type
opencascade::handle<BRepBlend_Line>
-
Perform
()¶ - Parameters
F –
- type F
Blend_Function
- param FInv
- type FInv
Blend_FuncInv
- param Pdep
- type Pdep
float
- param Pmax
- type Pmax
float
- param MaxStep
- type MaxStep
float
- param TolGuide
- type TolGuide
float
- param Soldep
- type Soldep
math_Vector
- param Tolesp
- type Tolesp
float
- param Fleche
- type Fleche
float
- param Appro
default value is Standard_False
- type Appro
bool
- rtype
None
-
PerformFirstSection
()¶ - Parameters
F –
- type F
Blend_Function
- param Pdep
- type Pdep
float
- param ParDep
- type ParDep
math_Vector
- param Tolesp
- type Tolesp
float
- param TolGuide
- type TolGuide
float
- param Pos1
- type Pos1
TopAbs_State
- param Pos2
- type Pos2
TopAbs_State
- rtype
bool:param F:
- type F
Blend_Function
- param FInv
- type FInv
Blend_FuncInv
- param Pdep
- type Pdep
float
- param Pmax
- type Pmax
float
- param ParDep
- type ParDep
math_Vector
- param Tolesp
- type Tolesp
float
- param TolGuide
- type TolGuide
float
- param RecOnS1
- type RecOnS1
bool
- param RecOnS2
- type RecOnS2
bool
- param Psol
- type Psol
float
- param ParSol
- type ParSol
math_Vector
- rtype
bool
-
SetDomainsToRecadre
()¶ - To define different domains for control and clipping.
- param RecDomain1
- type RecDomain1
Adaptor3d_TopolTool
- param RecDomain2
- type RecDomain2
Adaptor3d_TopolTool
- rtype
None
-
property
thisown
¶ The membership flag