plane_equation#

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

Sets the location of the plane tool by specifying the coefficients of the plane equation (Ax + By + Cz = D).

Coefficients are in reference to the selected coordinate frame.
Args:
p0:

‘A’ the x coefficient

p1:

‘B’ the y coefficient

p2:

‘C’ the z coefficient

p3:

‘D’ the constant term

Examples:
# 
# Set the plane tool by the plane equation 
# 
ensight.view_transf.plane_equation(-1.000000,0.500000,12.499997,11.659089)
Returns:

zero on success, non-zero on error