poISystem DefineByCircleCenter

Creates a coordinate system at the circle center defined by three nodes.

Syntax

user_defined_system_handle DefineByCircleCenter "node1_loc" "node2_loc" "node3_loc"

Application

HyperView Tcl Query

Description

This command defines a coordinate system at the circle center. The circle center is found by using the three nodes which lie on the circumference of the circle.

Inputs

node1_loc
The first node on the circle circumference.
node2_loc
The second node on the circle circumference.
node3_loc
The third node on the circle circumference.

Example

Defines a coordinate system at a circle center defined by three circumference nodes. The origin of the system will the circle center, the x-axis of the system will be defined along the vector between the circle center and the first node.
hwi OpenStack
hwi GetSessionHandle session_handle
session_handle GetProjectHandle project_handle
project_handle GetPageHandle page_handle [project_handle GetActivePage]
page_handle GetWindowHandle window_handle [page_handle GetActiveWindow]
window_handle GetClientHandle client_handle

set mid [client_handle AddModel “c:/samples/nastran/circle_no_mcid.op2”]
client_handle GetModelHandle model_handle $mid

set sys_id [model_handle AddUserDefinedSystem “rectangular”]
model_handle GetUserDefinedSystemHandle sys_handle $sys_id
sys_handle DefineByCircleCenter “85” “68” “117”

hwi CloseStack

Errors

If a circle center could not found using the three specified points, a default system will be created whose axes align with the global axes.