line#
- clip.line(*args, **kwargs) Any #
Set an end point for a clip line.
Two end points are necessary to properly define the line location.- Args:
- p0:
‘end’
1 or 2, to set specified line end point
- p1:
‘x_coord’ x coordinate of end point
- p2:
‘y_coord’ y coordinate of end point
- p3:
‘z_coord’ z coordinate of end point
- Examples:
# # Select a parent part # ensight.part.select_begin(2) ensight.clip.begin() # # Create a line clip from # {-1, -1, 0} to {1, -1, 0} with # 25 evenly spaced points # ensight.clip.tool("line") ensight.clip.pts_on_line(25) ensight.clip.line(1,-1,-1,0) ensight.clip.line(2,1,-1,0) ensight.clip.end() ensight.clip.create()
- Returns:
zero on success, non-zero on error