*intersectmark
Creates nodes/lines by intersecting 1D/2D elements with a plane.
Syntax
*intersectmark entity_type mark_id plane_id combine_flag break_angle smooth_flag
Type
HyperMesh Tcl Modify Command
Description
Creates nodes/lines by intersecting 1D/2D elements with a plane. For 1D elements, nodes are created at each intersection location. For 2D elements, a series of line segments are created at the specified plane that matches the profile of the selected elements that span that plane. These segments are then joined together according to the values selected for combine_flag, break_angle and smooth. The line segments are organized into the current component.
Inputs
- entity_type
- The type of entities to intersect. Valid values are elems and comps (only elems in comps are considered).
- mark_id
- The ID of the mark containing the entities to intersect. Valid values are 1 and 2.
- plane_id
- The ID of the plane to use for the cut. This is defined using the *createplane command.
- combine_flag
- 0 - Do not combine generated lines.
- break_angle
- The break angle used when combining lines. Ignored if combine_flag is 0.
- smooth_flag
- 0 - Do not smooth combined lines.
Example
To create intersection lines for the xy-plane with a base node of 0,10,0 with the displayed elements:
*createmark elems 1 displayed
*createplane 1 0 0 1 0 10 0
*intersectmark elems 1 1 0 0 0
Errors
if { [ catch {command_name...} ] } {
# Handle error
}