box_length#

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

Specify the size of the box tool in the x, y, and z directions.

The lengths are in relation to the box axis directions.
Args:
p0:

‘x_len’ The length of box tool in the x, y, z direction

p1:

‘y_len’ The length of box tool in the x, y, z direction

p2:

‘z_len’ The length of box tool in the x, y, z direction

Examples:
ensight.tools.box("ON")
ensight.view_transf.function("box")
ensight.view_transf.box_length(3.000000e+00,4.000000e+00,5.000000e+00)
ensight.view_transf.box_origin(0.000000e+00,1.000000e+00,0.000000e+00)
ensight.view_transf.box_axis("x",1.000000e+00,0.000000e+00,0.000000e+00)
ensight.view_transf.box_axis("y",0.000000e+00,1.000000e+00,0.000000e+00)
ensight.view_transf.box_axis("z",0.000000e+00,0.000000e+00,1.000000e+00)
Returns:

zero on success, non-zero on error