tool#
- clip.tool(*args, **kwargs) Any #
Set the clipping tool.
ijk extract can only occur using a single parent part.- Args:
- p0:
‘tool_type’
1d_part
cone
cylinder
general_quadric
ijk
line
plane
revolution
rtz
sphere
xyz
xyz_box
- Examples:
# # Select the parent part # ensight.part.select_begin(2) ensight.clip.begin() ensight.clip.domain("inside") ensight.clip.tool("cylinder") ensight.clip.origin(-1.,0,1.) ensight.clip.axis(1,0,0) ensight.clip.radius(.75) ensight.clip.end() ensight.clip.create()
- Returns:
zero on success, non-zero on error