orientation_z#

frame.orientation_z(p0: float, p1: float, p2: float) int#

Sets the orientation of the x, y, z axes of the frame.

Frame 0 is the model coordinate system. It is always cartesian and it cannot be modified. Other frames are always defined in terms of this cartesian coordinate system using the “frame: origin” command and this command (and it’s two other sister commands).
Args:
p0:

‘x_comp’ x, y, z components of vector representing the frame axis.

p1:

‘y_comp’ x, y, z components of vector representing the frame axis.

p2:

‘z_comp’ x, y, z components of vector representing the frame axis.

Examples:
ensight.frame.select_begin(1)
ensight.frame.origin(1.0000e+00,1.0000e+00,5.0000e-01)
ensight.frame.orientation_x(1.0000e+00,0.0000e+00,0.0000e+00)
ensight.frame.orientation_y(0.0000e+00,1.0000e+00,0.0000e+00)
ensight.frame.orientation_z(0.0000e+00,0.0000e+00,1.0000e+00)
Returns:

zero on success, non-zero on error