1
<?xml version="1.0" encoding="UTF-8"?>
2
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
5
Name="CurveConstraintPy"
6
PythonName="Part.GeomPlate.CurveConstraintPy"
7
Twin="GeomPlate_CurveConstraint"
8
TwinPointer="GeomPlate_CurveConstraint"
9
Include="GeomPlate_CurveConstraint.hxx"
11
FatherInclude="Base/PyObjectBase.h"
12
FatherNamespace="Base"
16
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
17
<UserDocu>Defines curves as constraints to be used to deform a surface</UserDocu>
19
<Methode Name="setOrder">
21
<UserDocu>Allows you to set the order of continuity required for
22
the constraints: G0, G1, and G2, controlled
23
respectively by G0Criterion G1Criterion and G2Criterion.
27
<Methode Name="order">
29
<UserDocu>Returns the order of constraint, one of G0, G1 or G2</UserDocu>
32
<Methode Name="G0Criterion">
34
<UserDocu>Returns the G0 criterion at the parametric point U on
35
the curve. This is the greatest distance allowed between
36
the constraint and the target surface at U.
40
<Methode Name="G1Criterion">
42
<UserDocu>Returns the G1 criterion at the parametric point U on
43
the curve. This is the greatest angle allowed between
44
the constraint and the target surface at U.
45
Raises an exception if the curve is not on a surface.
49
<Methode Name="G2Criterion">
51
<UserDocu>Returns the G2 criterion at the parametric point U on
52
the curve. This is the greatest difference in curvature
53
allowed between the constraint and the target surface at U.
54
Raises an exception if the curve is not on a surface.
58
<Methode Name="setG0Criterion">
60
<UserDocu>Allows you to set the G0 criterion. This is the law
61
defining the greatest distance allowed between the
62
constraint and the target surface for each point of the
63
constraint. If this criterion is not set, TolDist, the
64
distance tolerance from the constructor, is used.
68
<Methode Name="setG1Criterion">
70
<UserDocu>Allows you to set the G1 criterion. This is the law
71
defining the greatest angle allowed between the
72
constraint and the target surface. If this criterion is not
73
set, TolAng, the angular tolerance from the constructor, is used.
74
Raises an exception if the curve is not on a surface
78
<Methode Name="setG2Criterion">
80
<UserDocu> Allows you to set the G2 criterion. This is the law
81
defining the greatest difference in curvature allowed
82
between the constraint and the target surface. If this
83
criterion is not set, TolCurv, the curvature tolerance from
84
the constructor, is used.
85
Raises ConstructionError if the point is not on the surface
89
<Methode Name="curve3d">
91
<UserDocu> Returns a 3d curve associated the surface resulting of the constraints</UserDocu>
94
<Methode Name="setCurve2dOnSurf">
96
<UserDocu> loads a 2d curve associated the surface resulting of the constraints
100
<Methode Name="curve2dOnSurf">
102
<UserDocu> Returns a 2d curve associated the surface resulting of the constraints</UserDocu>
105
<Methode Name="setProjectedCurve">
107
<UserDocu> loads a 2d curve resulting from the normal projection of
108
the curve on the initial surface</UserDocu>
111
<Methode Name="projectedCurve">
113
<UserDocu> Returns the projected curve resulting from the normal projection of the
114
curve on the initial surface</UserDocu>
117
<Attribute Name="NbPoints">
119
<UserDocu>The number of points on the curve used as a
120
constraint. The default setting is 10. This parameter
121
affects computation time, which increases by the cube of
122
the number of points.</UserDocu>
124
<Parameter Name="NbPoints" Type="Long"/>
126
<Attribute Name="FirstParameter" ReadOnly="true">
128
<UserDocu> This function returns the first parameter of the curve.
129
The first parameter is the lowest parametric value for the curve, which defines the starting point of the curve.</UserDocu>
131
<Parameter Name="FirstParameter" Type="Float"/>
133
<Attribute Name="LastParameter" ReadOnly="true">
135
<UserDocu> This function returns the last parameter of the curve.
136
The last parameter is the highest parametric value for the curve, which defines the ending point of the curve.</UserDocu>
138
<Parameter Name="LastParameter" Type="Float"/>
140
<Attribute Name="Length" ReadOnly="true">
142
<UserDocu> This function returns the length of the curve.
143
The length of the curve is a geometric property that indicates how long the curve is in the space.</UserDocu>
145
<Parameter Name="Length" Type="Float"/>