*createcirclefrompointplane

Creates a circle or arc by spinning a point about the normal vector of a plane.

Syntax

*createcirclefrompointplane list_id plane_id angle offset

Type

HyperMesh Tcl Modify Command

Description

This command creates a circle or arc by spinning a point about the normal vector of a plane.

Inputs

list_id
The ID of the list containing the nodes to be spun. A circle or arc is created for each node in the list.
plane_id
The ID of the plane defining the circle normal, defined using the *createplane command. The center of each circle is located at the base of the plane. This must be set to 1.
angle
The angle of the arc. To create a circle, set to 360.
offset
Sets the starting offset for an arc.

Examples

To create a circle by spinning node 18 in the plane whose normal is defined by (0.0, 0.0, 1.0) with base (0.0, 0.0, 0.0):
*createplane 1 0.0 0.0 1.0 0.0 0.0 0.0
*createlist nodes 1 18
*createcirclefrompointplane 1 1 360.0 0.0

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}