mesh_plane#

clip.mesh_plane(*args, **kwargs) Any#

Set the plane for XYZ or IJK clips

IJK clips can only be created on block structured parts.
Args:
p0:

‘plane’

  • X - Clip of constant X

  • Y - Clip of constant Y

  • Z - Clip of constant Z

  • I - Clip of constant I

  • J - Clip of constant J

  • K - Clip of constant K

  • R - Clip of constant radius

  • T - Clip of constant theta angle (in degrees)

Examples:
#
# Select a parent part
#
ensight.part.select_begin(2)
ensight.clip.begin()
#
# Create a clip at y=1.5
#
ensight.clip.value(1.5)
ensight.clip.domain("intersect")
ensight.clip.tool("xyz")
ensight.clip.mesh_plane("Y")
ensight.clip.end()
ensight.clip.create()
Returns:

zero on success, non-zero on error