*hf_RotateBinderSurf
Rotate the binder around an axis in space. The binder is automatically identified.
Syntax
*hf_RotateBinderSurf plane angle
Type
HyperMesh Tcl Modify
Description
This command rotates the binder around an axis. The axis of rotation is given by the plane/vector plane and the magnitude of rotation is given by.
Inputs
- plane
- The temporary plane/vector ID created using the *createplane command.
- angle
- Angle of rotation.
Examples
To rotate the binder around the x-axis with respect to the base point (7258.2607,
-1324.2481, 1468.3770) by an angle of 90
degrees:
*createplane 1 1.0000 0.0000 0.0000 7258.2607 -1324.2481 1468.3770
*hf_RotateBinderSurf 1 90
To rotate the binder around y-axis with respect to the base point (7258.2607, -1324.2481,
1468.3770) by an angle of -90
degrees:
*createplane 1 0.0000 1.0000 0.0000 7258.2607 -1324.2481 1468.3770
*hf_RotateBinderSurf 1 -90
Errors
Incorrect usage results in a Tcl error. To
detect errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
10.0