*linessmoothtoangle

Smooths a line based on a give angle.

Syntax

*linessmoothtoangle mark cosangle

Type

HyperMesh Tcl Modify Command

Description

Smooths a line based on a give angle.

Inputs

mark
The ID of the mark containing the lines to smooth.
cosangle
The cosine of the angle used to determine if two joints on a line should be combined (smoothed). If the angle between two joints on a line is greater than the angle the two joints are combined and smoothed.

Example

To smooth all joints on line 1 that have an angle greater than 90 degrees:

*createmark lines 1 1
*linessmoothtoangle 1 0 

Errors

None.