plane_size#
- view_transf.plane_size(p0: float, p1: float) int #
Specify the plane tool size.
X and Y directions are according to the plane tool definition.- Args:
- p0:
‘x_size’ Size of the plane tool in the x, y direction
- p1:
‘y_size’ Size of the plane tool in the x, y direction
- 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