OCC.GeomPlate module

class GeomPlate_Aij(*args)

Bases: object

Return type:

None

Parameters:
Return type:

None

thisown

The membership flag

class GeomPlate_Array1OfHCurveOnSurface(*args)

Bases: object

Parameters:
  • Low (int) –
  • Up (int) –
  • Item (Handle_Adaptor3d_HCurveOnSurface &) –
  • Low
  • Up
Return type:

None

Return type:

None

Assign()
Parameters:Other (GeomPlate_Array1OfHCurveOnSurface &) –
Return type:GeomPlate_Array1OfHCurveOnSurface
ChangeValue()
Parameters:Index (int) –
Return type:Handle_Adaptor3d_HCurveOnSurface
Destroy()
Return type:None
Init()
Parameters:V (Handle_Adaptor3d_HCurveOnSurface &) –
Return type:None
IsAllocated()
Return type:bool
Length()
Return type:int
Lower()
Return type:int
Set()
Parameters:Other (GeomPlate_Array1OfHCurveOnSurface &) –
Return type:GeomPlate_Array1OfHCurveOnSurface
SetValue()
Parameters:
  • Index (int) –
  • Value (Handle_Adaptor3d_HCurveOnSurface &) –
Return type:

None

Upper()
Return type:int
Value()
Parameters:Index (int) –
Return type:Handle_Adaptor3d_HCurveOnSurface
thisown

The membership flag

class GeomPlate_Array1OfSequenceOfReal(*args)

Bases: object

Parameters:
  • Low (int) –
  • Up (int) –
  • Item (TColStd_SequenceOfReal &) –
  • Low
  • Up
Return type:

None

Return type:

None

Assign()
Parameters:Other (GeomPlate_Array1OfSequenceOfReal &) –
Return type:GeomPlate_Array1OfSequenceOfReal
ChangeValue()
Parameters:Index (int) –
Return type:TColStd_SequenceOfReal
Destroy()
Return type:None
Init()
Parameters:V (TColStd_SequenceOfReal &) –
Return type:None
IsAllocated()
Return type:bool
Length()
Return type:int
Lower()
Return type:int
Set()
Parameters:Other (GeomPlate_Array1OfSequenceOfReal &) –
Return type:GeomPlate_Array1OfSequenceOfReal
SetValue()
Parameters:
  • Index (int) –
  • Value (TColStd_SequenceOfReal &) –
Return type:

None

Upper()
Return type:int
Value()
Parameters:Index (int) –
Return type:TColStd_SequenceOfReal
thisown

The membership flag

class GeomPlate_BuildAveragePlane(*args)

Bases: object

  • Tol is a Tolerance to make the difference between the result plane and the result line. if POption = 1 : automatical parametrisation if POption = 2 : parametrisation by eigen vectors if NOption = 1 : the average plane is the inertial plane. if NOption = 2 : the average plane is the plane of max. flux.
Parameters:
Return type:

None

  • Creates the plane from the ‘best vector’
Parameters:
Return type:

None

static HalfSpace()
Parameters:
Return type:

bool

IsLine()
  • return OK if is a line.
Return type:bool
IsPlane()
  • return OK if is a plane.
Return type:bool
Line()
  • Return a Line when 2 eigenvalues are null.
Return type:Handle_Geom_Line
MinMaxBox()
  • computes the minimal box to include all normal projection points of the initial array on the plane.
Parameters:
  • Umin (float &) –
  • Umax (float &) –
  • Vmin (float &) –
  • Vmax (float &) –
Return type:

None

Plane()
  • Return the average Plane.
Return type:Handle_Geom_Plane
thisown

The membership flag

GeomPlate_BuildAveragePlane_HalfSpace()
Parameters:
Return type:

bool

class GeomPlate_BuildPlateSurface(*args)

Bases: object

  • Constructor compatible with the old version with this constructor the constraint are given in a Array of Curve on Surface The array NbPoints contains the number of points for each constraint. The Array Tang contains the order of constraint for each Constraint: The possible values for this order has to be -1 , 0 , 1 , 2 . Order i means constraint Gi. NbIter is the maximum number of iteration to optimise the number of points for resolution Degree is the degree of resolution for Plate Tol2d is the tolerance used to test if two points of different constraint are identical in the parametric space of the initial surface Tol3d is used to test if two identical points in the 2d space are identical in 3d space TolAng is used to compare the angle between normal of two identical points in the 2d space Raises ConstructionError;
Parameters:
  • NPoints (Handle_TColStd_HArray1OfInteger &) –
  • TabCurve (Handle_GeomPlate_HArray1OfHCurveOnSurface &) –
  • Tang (Handle_TColStd_HArray1OfInteger &) –
  • Degree (int) –
  • NbIter (int) – default value is 3
  • Tol2d (float) – default value is 0.00001
  • Tol3d (float) – default value is 0.0001
  • TolAng (float) – default value is 0.01
  • TolCurv (float) – default value is 0.1
  • Anisotropie (bool) – default value is Standard_False
  • Surf (Handle_Geom_Surface &) –
  • Degree – default value is 3
  • NbPtsOnCur (int) – default value is 10
  • NbIter – default value is 3
  • Tol2d – default value is 0.00001
  • Tol3d – default value is 0.0001
  • TolAng – default value is 0.01
  • TolCurv – default value is 0.1
  • Anisotropie – default value is Standard_False
Return type:

None

Return type:

None

  • Initializes the BuildPlateSurface framework for deforming plate surfaces using curve and point constraints. You use the first constructor if you have an initial surface to work with at construction time. If not, you use the second. You can add one later by using the method LoadInitSurface. If no initial surface is loaded, one will automatically be computed. The curve and point constraints will be defined by using the method Add. Before the call to the algorithm, the curve constraints will be transformed into sequences of discrete points. Each curve defined as a constraint will be given the value of NbPtsOnCur as the average number of points on it. Several arguments serve to improve performance of the algorithm. NbIter, for example, expresses the number of iterations allowed and is used to control the duration of computation. To optimize resolution, Degree will have the default value of 3. The surface generated must respect several tolerance values: - 2d tolerance given by Tol2d, with a default value of 0.00001 - 3d tolerance expressed by Tol3d, with a default value of 0.0001 - angular tolerance given by TolAng, with a default value of 0.01, defining the greatest angle allowed between the constraint and the target surface. Exceptions Standard_ConstructionError if NbIter is less than 1 or Degree is less than 3.
Parameters:
  • Degree (int) – default value is 3
  • NbPtsOnCur (int) – default value is 10
  • NbIter (int) – default value is 3
  • Tol2d (float) – default value is 0.00001
  • Tol3d (float) – default value is 0.0001
  • TolAng (float) – default value is 0.01
  • TolCurv (float) – default value is 0.1
  • Anisotropie (bool) – default value is Standard_False
Return type:

None

Add()
  • Adds the linear constraint cont.
Parameters:Cont (Handle_GeomPlate_CurveConstraint &) –
Return type:None
  • Adds the point constraint cont.
Parameters:Cont (Handle_GeomPlate_PointConstraint &) –
Return type:None
CurveConstraint()
  • returns the CurveConstraints of order order
Parameters:order (int) –
Return type:Handle_GeomPlate_CurveConstraint
Curves2d()
  • Extracts the array of curves on the plate surface which correspond to the curve constraints set in Add.
Return type:Handle_TColGeom2d_HArray1OfCurve
Disc2dContour()
Parameters:
Return type:

None

Disc3dContour()
Parameters:
Return type:

None

G0Error()
  • Returns the max distance betwen the result and the constraints
Return type:float
  • Returns the max distance between the result and the constraint Index
Parameters:Index (int) –
Return type:float
G1Error()
  • Returns the max angle betwen the result and the constraints
Return type:float
  • Returns the max angle between the result and the constraint Index
Parameters:Index (int) –
Return type:float
G2Error()
  • Returns the max difference of curvature betwen the result and the constraints
Return type:float
  • Returns the max difference of curvature between the result and the constraint Index
Parameters:Index (int) –
Return type:float
Init()
  • Resets all constraints
Return type:None
IsDone()
  • Tests whether computation of the plate has been completed.
Return type:bool
LoadInitSurface()
  • Loads the initial Surface
Parameters:Surf (Handle_Geom_Surface &) –
Return type:None
Order()
  • Returns the order of the curves in the array returned by Curves2d. Computation changes this order. Consequently, this method returns the order of the curves prior to computation.
Return type:Handle_TColStd_HArray1OfInteger
Perform()
  • Calls the algorithm and computes the plate surface using the loaded constraints. If no initial surface is given, the algorithm automatically computes one. Exceptions Standard_RangeError if the value of the constraint is null or if plate is not done.
Return type:None
PointConstraint()
  • returns the PointConstraint of order order
Parameters:order (int) –
Return type:Handle_GeomPlate_PointConstraint
Sense()
  • Allows you to ensure that the array of curves returned by Curves2d has the correct orientation. Returns the orientation of the curves in the the array returned by Curves2d. Computation changes the orientation of these curves. Consequently, this method returns the orientation prior to computation.
Return type:Handle_TColStd_HArray1OfInteger
SetNbBounds()
Parameters:NbBounds (int) –
Return type:None
SurfInit()
  • Returns the initial surface
Return type:Handle_Geom_Surface
Surface()
  • Returns the result of the computation. This surface can then be used by GeomPlate_MakeApprox for converting the resulting surface into a BSpline.
Return type:Handle_GeomPlate_Surface
thisown

The membership flag

class GeomPlate_CurveConstraint(*args)

Bases: OCC.MMgt.MMgt_TShared

  • Initializes an empty curve constraint object.
Return type:None
  • Create a constraint Order is the order of the constraint. The possible values for order are -1,0,1,2. Order i means constraints Gi Npt is the number of points associated with the constraint. TolDist is the maximum error to satisfy for G0 constraints TolAng is the maximum error to satisfy for G1 constraints TolCurv is the maximum error to satisfy for G2 constraints These errors can be replaced by laws of criterion. Raises ConstructionError if Order is not -1 , 0, 1, 2
Parameters:
  • Boundary (Handle_Adaptor3d_HCurveOnSurface &) –
  • Order (int) –
  • NPt (int) – default value is 10
  • TolDist (float) – default value is 0.0001
  • TolAng (float) – default value is 0.01
  • TolCurv (float) – default value is 0.1
Return type:

None

  • Create a constraint Order is the order of the constraint. The possible values for order are -1,0. Order i means constraints Gi Npt is the number of points associated with the constraint. TolDist is the maximum error to satisfy for G0 constraints These errors can be replaced by laws of criterion. Raises ConstructionError if Order is not 0 or -1
Parameters:
  • Boundary (Handle_Adaptor3d_HCurve &) –
  • Tang (int) –
  • NPt (int) – default value is 10
  • TolDist (float) – default value is 0.0001
Return type:

None

Curve2dOnSurf()
  • Returns a 2d curve associated the surface resulting of the constraints
Return type:Handle_Geom2d_Curve
Curve3d()
Return type:Handle_Adaptor3d_HCurve
D0()
Parameters:
Return type:

None

D1()
Parameters:
Return type:

None

D2()
Parameters:
Return type:

None

FirstParameter()
Return type:float
G0Criterion()
  • Returns the G0 criterion at the parametric point U on the curve. This is the greatest distance allowed between the constraint and the target surface at U.
Parameters:U (float) –
Return type:float
G1Criterion()
  • Returns the G1 criterion at the parametric point U on the curve. This is the greatest angle allowed between the constraint and the target surface at U. Raises ConstructionError if the curve is not on a surface
Parameters:U (float) –
Return type:float
G2Criterion()
  • Returns the G2 criterion at the parametric point U on the curve. This is the greatest difference in curvature allowed between the constraint and the target surface at U. Raises ConstructionError if the curve is not on a surface
Parameters:U (float) –
Return type:float
GetHandle()
LPropSurf()
Parameters:U (float) –
Return type:GeomLProp_SLProps
LastParameter()
Return type:float
Length()
Return type:float
NbPoints()
  • Returns the number of points on the curve used as a constraint. The default setting is 10. This parameter affects computation time, which increases by the cube of the number of points.
Return type:int
Order()
  • Returns the order of constraint, one of G0, G1 or G2.
Return type:int
ProjectedCurve()
  • Returns the projected curve resulting from the normal projection of the curve on the initial surface
Return type:Handle_Adaptor2d_HCurve2d
SetCurve2dOnSurf()
  • loads a 2d curve associated the surface resulting of the constraints
Parameters:Curve2d (Handle_Geom2d_Curve &) –
Return type:None
SetG0Criterion()
  • Allows you to set the G0 criterion. This is the law defining the greatest distance allowed between the constraint and the target surface for each point of the constraint. If this criterion is not set, TolDist, the distance tolerance from the constructor, is used.
Parameters:G0Crit (Handle_Law_Function &) –
Return type:None
SetG1Criterion()
  • Allows you to set the G1 criterion. This is the law defining the greatest angle allowed between the constraint and the target surface. If this criterion is not set, TolAng, the angular tolerance from the constructor, is used. Raises ConstructionError if the curve is not on a surface
Parameters:G1Crit (Handle_Law_Function &) –
Return type:None
SetG2Criterion()
Parameters:G2Crit (Handle_Law_Function &) –
Return type:None
SetNbPoints()
  • Allows you to set the number of points on the curve constraint. The default setting is 10. This parameter affects computation time, which increases by the cube of the number of points.
Parameters:NewNb (int) –
Return type:None
SetOrder()
  • Allows you to set the order of continuity required for the constraints: G0, G1, and G2, controlled respectively by G0Criterion G1Criterion and G2Criterion.
Parameters:Order (int) –
Return type:None
SetProjectedCurve()
  • loads a 2d curve resulting from the normal projection of the curve on the initial surface
Parameters:
  • Curve2d (Handle_Adaptor2d_HCurve2d &) –
  • TolU (float) –
  • TolV (float) –
Return type:

None

thisown

The membership flag

class GeomPlate_HArray1OfHCurveOnSurface(*args)

Bases: OCC.MMgt.MMgt_TShared

Parameters:
  • Low (int) –
  • Up (int) –
  • Low
  • Up
  • V (Handle_Adaptor3d_HCurveOnSurface &) –
Return type:

None

Return type:

None

Array1()
Return type:GeomPlate_Array1OfHCurveOnSurface
ChangeArray1()
Return type:GeomPlate_Array1OfHCurveOnSurface
ChangeValue()
Parameters:Index (int) –
Return type:Handle_Adaptor3d_HCurveOnSurface
GetHandle()
Init()
Parameters:V (Handle_Adaptor3d_HCurveOnSurface &) –
Return type:None
Length()
Return type:int
Lower()
Return type:int
SetValue()
Parameters:
  • Index (int) –
  • Value (Handle_Adaptor3d_HCurveOnSurface &) –
Return type:

None

Upper()
Return type:int
Value()
Parameters:Index (int) –
Return type:Handle_Adaptor3d_HCurveOnSurface
thisown

The membership flag

class GeomPlate_HArray1OfSequenceOfReal(*args)

Bases: OCC.MMgt.MMgt_TShared

Parameters:
  • Low (int) –
  • Up (int) –
  • Low
  • Up
  • V (TColStd_SequenceOfReal &) –
Return type:

None

Return type:

None

Array1()
Return type:GeomPlate_Array1OfSequenceOfReal
ChangeArray1()
Return type:GeomPlate_Array1OfSequenceOfReal
ChangeValue()
Parameters:Index (int) –
Return type:TColStd_SequenceOfReal
GetHandle()
Init()
Parameters:V (TColStd_SequenceOfReal &) –
Return type:None
Length()
Return type:int
Lower()
Return type:int
SetValue()
Parameters:
  • Index (int) –
  • Value (TColStd_SequenceOfReal &) –
Return type:

None

Upper()
Return type:int
Value()
Parameters:Index (int) –
Return type:TColStd_SequenceOfReal
thisown

The membership flag

class GeomPlate_HSequenceOfCurveConstraint(*args)

Bases: OCC.MMgt.MMgt_TShared

Return type:None
Append()
Parameters:
  • anItem (Handle_GeomPlate_CurveConstraint &) –
  • aSequence (Handle_GeomPlate_HSequenceOfCurveConstraint &) –
Return type:

None

Return type:

None

ChangeSequence()
Return type:GeomPlate_SequenceOfCurveConstraint
ChangeValue()
Parameters:anIndex (int) –
Return type:Handle_GeomPlate_CurveConstraint
Clear()
Return type:None
Exchange()
Parameters:
  • anIndex (int) –
  • anOtherIndex (int) –
Return type:

None

GetHandle()
InsertAfter()
Parameters:
  • anIndex (int) –
  • anItem (Handle_GeomPlate_CurveConstraint &) –
  • anIndex
  • aSequence (Handle_GeomPlate_HSequenceOfCurveConstraint &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • anIndex (int) –
  • anItem (Handle_GeomPlate_CurveConstraint &) –
  • anIndex
  • aSequence (Handle_GeomPlate_HSequenceOfCurveConstraint &) –
Return type:

None

Return type:

None

IsEmpty()
Return type:bool
Length()
Return type:int
Prepend()
Parameters:
  • anItem (Handle_GeomPlate_CurveConstraint &) –
  • aSequence (Handle_GeomPlate_HSequenceOfCurveConstraint &) –
Return type:

None

Return type:

None

Remove()
Parameters:
  • anIndex (int) –
  • fromIndex (int) –
  • toIndex (int) –
Return type:

None

Return type:

None

Reverse()
Return type:None
Sequence()
Return type:GeomPlate_SequenceOfCurveConstraint
SetValue()
Parameters:
  • anIndex (int) –
  • anItem (Handle_GeomPlate_CurveConstraint &) –
Return type:

None

Split()
Parameters:anIndex (int) –
Return type:Handle_GeomPlate_HSequenceOfCurveConstraint
Value()
Parameters:anIndex (int) –
Return type:Handle_GeomPlate_CurveConstraint
thisown

The membership flag

class GeomPlate_HSequenceOfPointConstraint(*args)

Bases: OCC.MMgt.MMgt_TShared

Return type:None
Append()
Parameters:
  • anItem (Handle_GeomPlate_PointConstraint &) –
  • aSequence (Handle_GeomPlate_HSequenceOfPointConstraint &) –
Return type:

None

Return type:

None

ChangeSequence()
Return type:GeomPlate_SequenceOfPointConstraint
ChangeValue()
Parameters:anIndex (int) –
Return type:Handle_GeomPlate_PointConstraint
Clear()
Return type:None
Exchange()
Parameters:
  • anIndex (int) –
  • anOtherIndex (int) –
Return type:

None

GetHandle()
InsertAfter()
Parameters:
  • anIndex (int) –
  • anItem (Handle_GeomPlate_PointConstraint &) –
  • anIndex
  • aSequence (Handle_GeomPlate_HSequenceOfPointConstraint &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • anIndex (int) –
  • anItem (Handle_GeomPlate_PointConstraint &) –
  • anIndex
  • aSequence (Handle_GeomPlate_HSequenceOfPointConstraint &) –
Return type:

None

Return type:

None

IsEmpty()
Return type:bool
Length()
Return type:int
Prepend()
Parameters:
  • anItem (Handle_GeomPlate_PointConstraint &) –
  • aSequence (Handle_GeomPlate_HSequenceOfPointConstraint &) –
Return type:

None

Return type:

None

Remove()
Parameters:
  • anIndex (int) –
  • fromIndex (int) –
  • toIndex (int) –
Return type:

None

Return type:

None

Reverse()
Return type:None
Sequence()
Return type:GeomPlate_SequenceOfPointConstraint
SetValue()
Parameters:
  • anIndex (int) –
  • anItem (Handle_GeomPlate_PointConstraint &) –
Return type:

None

Split()
Parameters:anIndex (int) –
Return type:Handle_GeomPlate_HSequenceOfPointConstraint
Value()
Parameters:anIndex (int) –
Return type:Handle_GeomPlate_PointConstraint
thisown

The membership flag

class GeomPlate_MakeApprox(*args)

Bases: object

  • Converts SurfPlate into a Geom_BSplineSurface with n Bezier pieces (n<=Nbmax) of degree <= dgmax and an approximation error < Tol3d if possible the criterion CritPlate is satisfied if possible
Parameters:
  • SurfPlate (Handle_GeomPlate_Surface &) –
  • PlateCrit (AdvApp2Var_Criterion &) –
  • Tol3d (float) –
  • Nbmax (int) –
  • dgmax (int) –
  • Continuity (GeomAbs_Shape) – default value is GeomAbs_C1
  • EnlargeCoeff (float) – default value is 1.1
Return type:

None

  • Converts SurfPlate into a Geom_BSplineSurface with n Bezier pieces (n<=Nbmax) of degree <= dgmax and an approximation error < Tol3d if possible if CritOrder = -1 , no criterion is used if CritOrder = 0 , a PlateG0Criterion is used with max value > 10*dmax if CritOrder = 1 , a PlateG1Criterion is used with max value > 10*dmax WARNING : for CritOrder = 0 or 1, only the constraints points of SurfPlate are used to evaluate the value of the criterion
Parameters:
  • SurfPlate (Handle_GeomPlate_Surface &) –
  • Tol3d (float) –
  • Nbmax (int) –
  • dgmax (int) –
  • dmax (float) –
  • CritOrder (int) – default value is 0
  • Continuity (GeomAbs_Shape) – default value is GeomAbs_C1
  • EnlargeCoeff (float) – default value is 1.1
Return type:

None

ApproxError()
  • Returns the error in computation of the approximation surface. This is the distance between the entire target BSpline surface and the entire original surface generated by BuildPlateSurface and converted by GeomPlate_Surface.
Return type:float
CriterionError()
  • Returns the criterion error in computation of the approximation surface. This is estimated relative to the curve and point constraints only.
Return type:float
Surface()
  • Returns the BSpline surface extracted from the GeomPlate_MakeApprox object.
Return type:Handle_Geom_BSplineSurface
thisown

The membership flag

class GeomPlate_PlateG0Criterion(*args)

Bases: OCC.AdvApp2Var.AdvApp2Var_Criterion

Parameters:
  • Data (TColgp_SequenceOfXY) –
  • G0Data (TColgp_SequenceOfXYZ) –
  • Maximum (float) –
  • Type (AdvApp2Var_CriterionType) – default value is AdvApp2Var_Absolute
  • Repart (AdvApp2Var_CriterionRepartition) – default value is AdvApp2Var_Regular
Return type:

None

thisown

The membership flag

class GeomPlate_PlateG1Criterion(*args)

Bases: OCC.AdvApp2Var.AdvApp2Var_Criterion

Parameters:
  • Data (TColgp_SequenceOfXY) –
  • G1Data (TColgp_SequenceOfXYZ) –
  • Maximum (float) –
  • Type (AdvApp2Var_CriterionType) – default value is AdvApp2Var_Absolute
  • Repart (AdvApp2Var_CriterionRepartition) – default value is AdvApp2Var_Regular
Return type:

None

thisown

The membership flag

class GeomPlate_PointConstraint(*args)

Bases: OCC.MMgt.MMgt_TShared

  • Constructs a point constraint object defined by Pt, a 3D point Order gives the order of constraint, one of: - -1 i.e. none, or 0 i.e.G0 when assigned to Pt - -1 i.e. none, 0 i.e. G0, 1 i.e. G1, 2 i.e. G2 when assigned to U, V and Surf. In this constructor, only TolDist is given. Distance tolerance represents the greatest distance allowed between the constraint and the target surface. Angular tolerance represents the largest angle allowed between the constraint and the target surface. Curvature tolerance represents the greatest difference in curvature allowed between the constraint and the target surface. Raises ConstructionError if Order is not 0 or -1
Parameters:
  • Pt (gp_Pnt) –
  • Order (int) –
  • TolDist (float) – default value is 0.0001
Return type:

None

  • Constructs a point constraint object defined by the intersection point of U and V on the surface Surf. Order gives the order of constraint, one of: - -1 i.e. none, or 0 i.e.G0 when assigned to Pt - -1 i.e. none, 0 i.e. G0, 1 i.e. G1, 2 i.e. G2 when assigned to U, V and Surf. In this constructor the surface to be generated must respect several tolerance values only: - the distance tolerance TolDist - the angular tolerance TolAng - the curvature tolerance, TolCurv. Distance tolerance represents the greatest distance allowed between the constraint and the target surface. Angular tolerance represents the largest angle allowed between the constraint and the target surface. Curvature tolerance represents the greatest difference in curvature allowed between the constraint and the target surface.Creates a punctual constraint.
Parameters:
  • U (float) –
  • V (float) –
  • Surf (Handle_Geom_Surface &) –
  • Order (int) –
  • TolDist (float) – default value is 0.0001
  • TolAng (float) – default value is 0.01
  • TolCurv (float) – default value is 0.1
Return type:

None

D0()
Parameters:P (gp_Pnt) –
Return type:None
D1()
Parameters:
Return type:

None

D2()
Parameters:
Return type:

None

G0Criterion()
  • Returns the G0 criterion. This is the greatest distance allowed between the constraint and the target surface.
Return type:float
G1Criterion()
  • Returns the G1 criterion. This is the greatest angle allowed between the constraint and the target surface. Raises ConstructionError if the point is not on the surface.
Return type:float
G2Criterion()
  • Returns the G2 criterion. This is the greatest difference in curvature allowed between the constraint and the target surface. Raises ConstructionError if the point is not on the surface
Return type:float
GetHandle()
HasPnt2dOnSurf()
Return type:bool
LPropSurf()
Return type:GeomLProp_SLProps
Order()
  • Returns the order of constraint: G0, G1, and G2, controlled respectively by G0Criterion G1Criterion and G2Criterion.
Return type:int
Pnt2dOnSurf()
Return type:gp_Pnt2d
SetG0Criterion()
  • Allows you to set the G0 criterion. This is the law defining the greatest distance allowed between the constraint and the target surface. If this criterion is not set, {TolDist, the distance tolerance from the constructor, is used
Parameters:TolDist (float) –
Return type:None
SetG1Criterion()
  • Allows you to set the G1 criterion. This is the law defining the greatest angle allowed between the constraint and the target surface. If this criterion is not set, TolAng, the angular tolerance from the constructor, is used. Raises ConstructionError if the point is not on the surface
Parameters:TolAng (float) –
Return type:None
SetG2Criterion()
  • Allows you to set the G2 criterion. This is the law defining the greatest difference in curvature allowed between the constraint and the target surface. If this criterion is not set, TolCurv, the curvature tolerance from the constructor, is used. Raises ConstructionError if the point is not on the surface
Parameters:TolCurv (float) –
Return type:None
SetOrder()
Parameters:Order (int) –
Return type:None
SetPnt2dOnSurf()
Parameters:Pnt (gp_Pnt2d) –
Return type:None
thisown

The membership flag

class GeomPlate_SequenceNodeOfSequenceOfAij(*args)

Bases: OCC.TCollection.TCollection_SeqNode

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

None

GetHandle()
Value()
Return type:GeomPlate_Aij
thisown

The membership flag

class GeomPlate_SequenceNodeOfSequenceOfCurveConstraint(*args)

Bases: OCC.TCollection.TCollection_SeqNode

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

None

GetHandle()
Value()
Return type:Handle_GeomPlate_CurveConstraint
thisown

The membership flag

class GeomPlate_SequenceNodeOfSequenceOfPointConstraint(*args)

Bases: OCC.TCollection.TCollection_SeqNode

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

None

GetHandle()
Value()
Return type:Handle_GeomPlate_PointConstraint
thisown

The membership flag

class GeomPlate_SequenceOfAij(*args)

Bases: OCC.TCollection.TCollection_BaseSequence

Return type:None
Parameters:Other (GeomPlate_SequenceOfAij &) –
Return type:None
Append()
Parameters:
  • T (GeomPlate_Aij &) –
  • S (GeomPlate_SequenceOfAij &) –
Return type:

None

Return type:

None

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

None

Return type:

None

InsertBefore()
Parameters:
  • Index (int) –
  • T (GeomPlate_Aij &) –
  • Index
  • S (GeomPlate_SequenceOfAij &) –
Return type:

None

Return type:

None

Last()
Return type:GeomPlate_Aij
Prepend()
Parameters:
  • T (GeomPlate_Aij &) –
  • S (GeomPlate_SequenceOfAij &) –
Return type:

None

Return type:

None

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

None

Return type:

None

Set()
Parameters:Other (GeomPlate_SequenceOfAij &) –
Return type:GeomPlate_SequenceOfAij
SetValue()
Parameters:
  • Index (int) –
  • I (GeomPlate_Aij &) –
Return type:

None

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

None

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

The membership flag

class GeomPlate_SequenceOfCurveConstraint(*args)

Bases: OCC.TCollection.TCollection_BaseSequence

Return type:None
Parameters:Other (GeomPlate_SequenceOfCurveConstraint &) –
Return type:None
Append()
Parameters:
  • T (Handle_GeomPlate_CurveConstraint &) –
  • S (GeomPlate_SequenceOfCurveConstraint &) –
Return type:

None

Return type:

None

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

None

Return type:

None

InsertBefore()
Parameters:
  • Index (int) –
  • T (Handle_GeomPlate_CurveConstraint &) –
  • Index
  • S (GeomPlate_SequenceOfCurveConstraint &) –
Return type:

None

Return type:

None

Last()
Return type:Handle_GeomPlate_CurveConstraint
Prepend()
Parameters:
  • T (Handle_GeomPlate_CurveConstraint &) –
  • S (GeomPlate_SequenceOfCurveConstraint &) –
Return type:

None

Return type:

None

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

None

Return type:

None

Set()
Parameters:Other (GeomPlate_SequenceOfCurveConstraint &) –
Return type:GeomPlate_SequenceOfCurveConstraint
SetValue()
Parameters:
  • Index (int) –
  • I (Handle_GeomPlate_CurveConstraint &) –
Return type:

None

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

None

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

The membership flag

class GeomPlate_SequenceOfPointConstraint(*args)

Bases: OCC.TCollection.TCollection_BaseSequence

Return type:None
Parameters:Other (GeomPlate_SequenceOfPointConstraint &) –
Return type:None
Append()
Parameters:
  • T (Handle_GeomPlate_PointConstraint &) –
  • S (GeomPlate_SequenceOfPointConstraint &) –
Return type:

None

Return type:

None

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

None

Return type:

None

InsertBefore()
Parameters:
  • Index (int) –
  • T (Handle_GeomPlate_PointConstraint &) –
  • Index
  • S (GeomPlate_SequenceOfPointConstraint &) –
Return type:

None

Return type:

None

Last()
Return type:Handle_GeomPlate_PointConstraint
Prepend()
Parameters:
  • T (Handle_GeomPlate_PointConstraint &) –
  • S (GeomPlate_SequenceOfPointConstraint &) –
Return type:

None

Return type:

None

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

None

Return type:

None

Set()
Parameters:Other (GeomPlate_SequenceOfPointConstraint &) –
Return type:GeomPlate_SequenceOfPointConstraint
SetValue()
Parameters:
  • Index (int) –
  • I (Handle_GeomPlate_PointConstraint &) –
Return type:

None

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

None

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

The membership flag

class GeomPlate_Surface(*args)

Bases: OCC.Geom.Geom_Surface

Parameters:
  • Surfinit (Handle_Geom_Surface &) –
  • Surfinter (Plate_Plate &) –
Return type:

None

CallSurfinit()
Return type:Handle_Geom_Surface
Constraints()
Parameters:Seq (TColgp_SequenceOfXY) –
Return type:None
GetHandle()
RealBounds()
Parameters:
  • U1 (float &) –
  • U2 (float &) –
  • V1 (float &) –
  • V2 (float &) –
Return type:

None

SetBounds()
Parameters:
Return type:

None

thisown

The membership flag

class Handle_GeomPlate_CurveConstraint(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_GeomPlate_HArray1OfHCurveOnSurface(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_GeomPlate_HArray1OfSequenceOfReal(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_GeomPlate_HSequenceOfCurveConstraint(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_GeomPlate_HSequenceOfPointConstraint(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_GeomPlate_PointConstraint(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_GeomPlate_SequenceNodeOfSequenceOfAij(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class Handle_GeomPlate_SequenceNodeOfSequenceOfCurveConstraint(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class Handle_GeomPlate_SequenceNodeOfSequenceOfPointConstraint(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class Handle_GeomPlate_Surface(*args)

Bases: OCC.Geom.Handle_Geom_Surface

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

The membership flag

class SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

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

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