ParCurve2D, ParCurve3D
Create a 2D or 3D parameterized curve dataset.
Syntax
model.result().dataset().create(
<dtag>
,"ParCurve2D");
model.result().dataset().create(
<dtag>
,"ParCurve3D");
model.result().dataset(
<dtag>
).set(
property
,
<value>
);
Description
model.result().dataset().create(
<dtag>
,"ParCurve2D")
creates a 2D parameterized curve dataset feature named
<dtag>
.
model.result().dataset().create(
<dtag>
,"ParCurve3D")
creates a 3D parameterized curve dataset feature named
<dtag>
.
Evaluation is made along an arbitrary parameterized curve in 2D or 3D.
The following properties are available:Add option for evaluating outside the mesh:
Table 7-94:
Valid Properties for Parameterized Curve Datasets.
name
Value
Default
Description
name
String
none
The name of this feature.
bndsnap
Boolean
false
If true, each point is snapped to the closest boundary. Available in 3D only.
data
none
| dataset name
First compatible dataset
The dataset this feature refers to.
global
boolean
false
If set to
true
, the dataset only evaluates globally defined expressions.
par1
String
t
The curve parameter.
parmin1
double
0
The minimum value for par.
parmax1
double
1
The maximum value for par.
exprx
String
0
The expression for x(par).
expry
String
0
The expression for y(par).
exprz
String
0
The expression for z(par).
res
integer
1000
Resolution (number of discretization points along the curve).
tangent
String array of length 2 or 3
{"cln1tx", "cln1ty"}
for the first Parameterized Curve 2D dataset
Variables for the tangent to the parameterized curve.
The
global
property can be useful for BEM models, for example, to be able to evaluate globally defined expressions outside the mesh.
See Also
ParSurface