Revolve1D, Revolve2D
Create a 1D or 2D revolve dataset.
Syntax
model.result().dataset().create(<dtag>,"Revolve1D");
model.result().dataset().create(<dtag>,"Revolve2D");
model.result().dataset(<dtag>).set(property, <value>);
Description
model.result().dataset().create(<dtag>,"Revolve1D") creates a 1D revolved dataset feature named <dtag>.
model.result().dataset().create(<dtag>,"Revolve2D") creates a 2D revolved dataset feature named <dtag>.
The revolved dataset needs to supply variables that cannot be expressed in terms of the coordinates of the underlying dataset: The spatial coordinates and the rotation angle. Therefore, the interpolation or evaluation has to be extended with support for supplying the values of these variables in a given set of points.
The source datasets for the revolutions can be any 1D and 2D datasets although these datasets are primarily intended for axisymmetric coordinate systems.
The following properties are available for Revolve1D and Revolve2D datasets:
none | dataset name
The following additional properties are only available for Revolve2D datasets:
twopoint | pointdir
Active when method equals twopoint, this property contains the coordinates of the two points in the two rows of the matrix.
coarse | custom | fine | normal
Active when method equals pointdir, this property contains the direction.
Active when method equals pointdir, this property contains the coordinates of the point.
xy | xz
See Also
Solution