box_axis#
- view_transf.box_axis(p0: float, p1: float, p2: float, p3: float) int #
Specify the direction vectors for a box tool.
The direction vectors are in reference to the selected coordinate frame.- Args:
- p0:
‘axis’
x
y
z
- p1:
‘x_comp’ The x component of the direction vector
- p2:
‘y_comp’ The y component of the direction vector
- p3:
‘z_comp’ The z component of the direction vector
- 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