revolution_points#

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

Set the number of points used in the tool of revolution for clipping.

Args:
p0:

‘number’ number of points used for the revolution tool

Examples:
#
# Select the parent part
#
ensight.part.select_begin(2)
ensight.clip.begin()
#
# Create a clip of revolution
# with five defined points
#
ensight.clip.domain("intersect")
ensight.clip.revolution_points(5.0000e+00)
ensight.clip.tool("revolution")
ensight.clip.origin(5.0000e-01,5.0000e-01,1.0000e+00)
ensight.clip.axis(1.0000e+00,0.0000e+00,0.0000e+00)
ensight.clip.point(1,-1.2500e+00,5.0000e-01)
ensight.clip.point(2,-6.2500e-01,5.0000e-01)
ensight.clip.point(3,0.0000e+00,1.0000e+00)
ensight.clip.point(4,6.2500e-01,5.0000e-01)
ensight.clip.point(5,1.2500e+00,5.0000e-01)
ensight.clip.end()
ensight.clip.create()
Returns:

zero on success, non-zero on error