struct.beam.ydir

Syntax

Vector Access

v = struct.beam.ydir(p<,i>)

Get the y-axis of the beam element local system. Returns a vector, unless an optional component argument i is supplied, in which case it returns the component value.

Returns:

v - local system y-axis vector or component

Arguments:

p - a beam pointer

i - optional vector component, from 1 to 3

Component Access

f = struct.beam.ydir.x(p)

Get the x-component of the y-axis of the beam element local system.

Returns:f - x-component of the y-axis of the local system of the beam element
Arguments:p - a beam pointer
f = struct.beam.ydir.y(p)

Get the y-component of the y-axis of the beam element local system.

Returns:f - y-component of the y-axis of the local system of the beam element
Arguments:p - a beam pointer
f = struct.beam.ydir.z(p)

Get the z-component of the y-axis of the beam element local system.

Returns:f - z-component of the y-axis of the local system of the beam element
Arguments:p - a beam pointer