*linecreateatplanesintersection
Create a line at the intersection of two planes.
Syntax
*linecreateatplanesintersection plane1 plane2 length_option length
Type
HyperMesh Tcl Modify Command
Description
This command creates a line at the intersection of two input planes. Only a finite intersection segment line is created, as defined by the input parameters length_option and length. An error is returned if the input planes are parallel or coincide.
Inputs
- plane1
- ID of the first temporary plane created using *createplane.
- plane2
- ID of the second temporary plane created using *createplane.
- length_option
- Parameter specifying how the finite segment line is created. Valid options are:
- 0 - Base node of the first plane is projected to segment center; length is used as segment length
- 1 - Base node of the first plane is projected to segment start (see comments); length is used as segment length
- 2 - Base node of the first plane is projected to segment end (see comments); length is used as segment length
- 3 - Base node of the first plane is projected to segment start, base node of the second plane is projected to segment end (an error is generated if the length of the resulted segment is zero)
- length
- When not ignored by length_option parameter, then specifies the length of resulted intersection curve segment.
Example
*createplane 1 1 0 0 1 2 3
*createplane 2 0 1 0 1 2 3
*linecreateatplanesintersection 1 2 0 3.62
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
10.0