origin#
- frame.origin(p0: float, p1: float, p2: float) int #
Sets the location of the origin of a frame in model coordinates.
Frame 0 is the model coordinate system. It is always cartesian and cannot be moved. Other frames are always defined in terms of this cartesian coordinate system using this command and the “frame: orientation” commands.- Args:
- p0:
‘x_coord’ model x, y, z coordinates of the origin of the frame
- p1:
‘y_coord’ model x, y, z coordinates of the origin of the frame
- p2:
‘z_coord’ model x, y, z coordinates of the origin of the frame
- 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