box_origin#

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

Specify the origin of the box tool in reference to the selected coordinate frame.

Args:
p0:

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

p1:

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

p2:

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

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