*linecombinemark
Combines multiple free lines into one or more continuous segments.
Syntax
*linecombinemark mark_id tolerance break_angle smooth
Type
HyperMesh Tcl Modify Command
Description
Combines multiple free lines into one or more continuous segments.
Inputs
- mark_id
- The ID of the mark containing the free lines. Valid values are 1 and 2.
- tolerance
- The tolerance to use when determining if two adjacent lines should be combined. If the distance between the adjacent end points of the lines is greater than this value, those lines are not combined.
- break_angle
- The break angle to use when determining if two adjacent lines should be combined. If the angle between the adjacent lines is greater than this value, those lines are not combined.
- smooth
- A flag that determines whether the lines should be combined with a straight line segment (0) or a smooth line segment (1) if the end points of the lines are not coincident.
Example
Combine all free lines as straight line segments, using a tolerance of 0.01 and a break angle of 30:
*createmark lines 1 all
*linecombinemark 1 0.01 30 0
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
11.0