*surfacecreatedraglinealongnormal
Creates one or more surface by dragging the input lines along their curvature direction.
Syntax
*surfacecreatedraglinealongnormal line_list start_offset end_offset link_type comp_mode reverse_dir
Type
HyperMesh Tcl Modify
Description
This command creates surface(s) by offsetting the input lines in line_list along their curvature direction. The input lines must form a connected line; otherwise an error is given. The first line in the line_list determines the direction of the combined line, hence the start point, from which the offsetting starts. If the opposite direction for the combined line is desired, the corresponding value of reverse_dir must be set.
If the offset value is negative, the direction opposite to curvature direction is used for offset.
In the case where there is a discontinuity in the curvature direction at some point between the input lines, a link is inserted if link_type is chosen to be 2. However, if the change in the curvature direction is 180 degrees, then no link is inserted and the offset continues without any jump. In this case, after the discontinuity point, the offset follows the opposite direction of the curvature direction.
Inputs
- line_list
- The list ID of lines to be offset. Input lines must form a connected line when combined.
- start_offset
- The offset distance at the start of the combined line.
- end_offset
- The offset distance at the end of the combined line.
- link_type
- The type of link that is inserted between offset lines in the case where there is a discontinuity (other that 180 degrees) in the direction of the curvature:
- comp_mode
- Parameter specifying how entities are organized into components:
- reverse_dir
- 0 – The direction of the combined line is the same as the direction of the first line in the line_list.
Example
To create a surface by dragging lines 4 and 5 by an amount of 3.2 units at start and 5.0 at end.
*createlist lines 1 4 5
*surfacecreatedraglinealongnormal 1 3.2 5.0 0 0 0
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
10.0