plane#
- view_transf.plane(p0: float, p1: float, p2: float, p3: float) int #
Sets the location of the plane tool by setting three corner points.
These points are best thought of as 1 being the lower left corner, 2 being the lower right corner, and 3 being the upper right corner.Coordinates are in reference to the selected coordinate frame.- Args:
- p0:
‘corner_pt’
1 - for the first corner of the plane tool
2 - for the second corner of the plane tool
3 - for the third corner of the plane tool
- p1:
‘x_coord ‘
x coordinate of the corner point
- p2:
‘y_coord ‘
y coordinate of the corner point
- p3:
‘z_coord ‘
z coordinate of the corner point
- Examples:
# # Set the plane tool corner points # ensight.view_transf.plane(1,-0.750000,-0.750000,0.900000) ensight.view_transf.plane(2,1.750000,-0.750000,1.100000) ensight.view_transf.plane(3,1.750000,2.000000,1.000000)
- Returns:
zero on success, non-zero on error