*surfaceintersectmark2
Creates lines by intersecting surfaces with a plane or other surfaces.
Syntax
*surfaceintersectmark2 mark_id1 plane_flag plane_id mark_id2 comp_mode
Type
HyperMesh Tcl Modify Command
Description
Creates lines by intersecting surfaces with a plane or other surfaces.
Inputs
- mark_id
- The ID of the mark containing the surfaces to intersect. Valid values are 1 and 2.
- plane_flag
-
- 0 - Use mark_id2 to define the surfaces to use for the intersection.
- 1 - Use plane_id to define the plane to use for the intersection.
- plane_id
- The ID of the plane to use for the intersection, if plane_flag is 1. This is defined using the *createplane command.
- mark_id2
- The ID of the mark containing the surfaces to use for the intersection, if plane_flag is 0. Valid values are 1 and 2.
- comp_mode
-
- Parameter specifying how lines are organized into components:
- 0 - Lines are created in the current component.
- 1 - All created intersection lines will be placed in the original surface component(s), splitting the lines where necessary if the surfaces selected are connected and in different components.
Examples
To create intersection lines for the xy-plane with a base node of 0,10,0 with the displayed surfaces:
*createmark surfaces 1 displayed
*createplane 1 0 0 1 0 10 0
*surfaceintersectmark2 1 0 1 0
To create intersection lines for the intersection of surfaces 1 and 2 with surfaces 10 and 11:
*createmark surfaces 1 1 2
*createmark surfaces 2 10 11
*surfaceintersectmark2 1 1 1 2 0
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
13.0