IntersectLine
Intersect an imported 2D mesh with a straight line. The operation will partition geometric entities and intersect mesh elements to introduce straight boundaries in an intersected domain.
Syntax
model.component(<ctag>).mesh(<tag>).create(<ftag>,"IntersectLine");
model.component(<ctag>).mesh(<tag>).feature(<ftag>).selection();
model.component(<ctag>).mesh(<tag>).feature(<ftag>).selection(property);
model.component(<ctag>).mesh(<tag>).feature(<ftag>).set(property,<value>);
model.component(<ctag>).mesh(<tag>).feature(<ftag>).getType(property);
Description
Use model.component(<ctag>).mesh(<tag>).create(<ftag>,"IntersectLine") to partition geometric entities and mesh elements of an imported mesh by specifying a straight line.
Use model.component(<ctag>).mesh(<tag>).feature(<ftag>).selection() to specify the geometric entities to split with the line. If you do not specify the selection, the feature operates on the entire geometry.
The following properties are available:
vertex | coord
Point on line, if point is coord.
vertex | coord | vector
Second point on line, if direction is coord.
Direction of line, if direction is vector.
Second point on line, if direction is vertex.
auto | relative | absolute
linear | curved
on | off
on | off
on | off
none | custom | integer between 1 and the number of colors in the current theme
none | custom | integer between 1 and the number of colors in the current theme
The color to use. Active when colorabove is set to custom.
The color to use. Active when colorbelow is set to custom.
off | all | pnt | bnd | dom
off | all | pnt | bnd | dom
on | off
See Also
Import, IntersectPlane, Ball, Box, Cylinder, LogicalExpression