plane_origin#

view_transf.plane_origin(p0: float, p1: float, p2: float) int#

Specify the plane tool origin.

The origin is in reference to the selected coordinate frame.
Args:
p0:

‘x_ori’ The x, y, z origin of the plane tool

p1:

‘y_ori’ The x, y, z origin of the plane tool

p2:

‘z_ori’ The x, y, z origin of the plane tool

Examples:
ensight.tools.plane("ON")
ensight.view_transf.function("plane")
#
# define the plane to be located at 0,1,0 with the z-axis (plane normal)
# pointing in the x direction.  The plane is 3 units in X and 4 units in Y
# (x and y according to the plane definition)
#
ensight.view_transf.plane_origin(0.000000e+00,1.000000e+00,0.000000e+00)
ensight.view_transf.plane_normal(1.000000e+00,0.000000e+00,0.000000e+00)
ensight.view_transf.plane_size(3.000000e+00,4.000000e+00)
Returns:

zero on success, non-zero on error