You are viewing the documentation for an older COMSOL version. The latest version is available here.
ParametricCurve
Create a parametric curve defined by coordinate expressions in 2D or 3D.
Syntax
model.component(<ctag>).geom(<tag>).create(<ftag>,"ParametricCurve");
model.component(<ctag>).geom(<tag>).feature(<ftag>).set(property,<value>);
model.component(<ctag>).geom(<tag>).feature(<ftag>).getType(property);
model.component(<ctag>).geom(<tag>).feature(<ftag>).importData();
Description
Use model.component(<ctag>).geom(<tag>).create(<ftag>,"ParametericCurve") to create a parametric curve. Self-intersecting curves are not supported, except the case of a closed curve (that is, when the starting point and endpoint coincide). The following properties are available:
Direction of the z-axis of the local coordinate system. Vector has length 3 if axistype is cartesian, and length 2 if axistype is spherical.
x | y | z | cartesian | spherical
none | custom | integer between 1 and the number of colors in the current theme
String[2] | String[3]
The color to use. Active when color is set to custom.
true | false