*surfacecreatespinnodeswithoffsetangle

Spins a list of nodes to create a surface, and optionally, prepares it for immediate use within the automesher.

Syntax

*surfacecreatespinnodeswithoffsetangle nodelist rotplane start_angle end_angle

Type

HyperMesh Tcl Modify Command

Description

Spins a list of nodes to create a surface, and optionally, prepares it for immediate use within the automesher. It can also identify a region in the shape of a surface of revolution for the automesher to use under the mesh without surface option.

Inputs

nodelist
The ID of the list of nodes to be spun.
rotplane
The axis about which to spin the lines made from nodes (plane normal is used as axis vector and the base point of the plane is used as the rotation center).
start_angle
Degrees value of initial rotation angle: lines made from selected nodes are rotated by this value before surface "sweeping" begins.
end_angle
Degrees value of final rotation angle: surface "sweeping" stops at this value.

Example

To a line made through nodes 8, 9, 10 and 11 from 45 to 90 degrees about an axis given by the vector (1 2 3) with rotation center at point (4 5 6), creating a surface of revolution but not creating any elements on it:

*surfacemode 4
*createlist nodes 1 8 9 10 11
*createplane 1 1 2 3 4 5 6
*surfacecreatespinnodeswithoffsetangle 1 1 45 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