point#
- clip.point(*args, **kwargs) Any #
Defines points for the surface of revolution.
There can be at most 10 points in the surface of revolution.Is only used when “clip: tool” is set to “revolution”.- Args:
- p0:
‘pt_num’ point number
- p1:
‘location’ location along the line
- p2:
‘radius’ radius at the point location
- Examples:
# # Select the parent part # ensight.part.select_begin(2) ensight.clip.begin() # # Create a clip using a tool # of revolution with origin at # {.5, .5, 0} and lined up with # the x-axis # ensight.clip.domain("intersect") ensight.clip.revolution_points(5) ensight.clip.tool("revolution") ensight.clip.origin(.5,.5,0) ensight.clip.axis(1,0,0) ensight.clip.point(1,-1,.5) ensight.clip.point(2,0,.7) ensight.clip.point(3,1,.5) ensight.clip.end() ensight.clip.create()
- Returns:
zero on success, non-zero on error