revolve_part#
- clip.revolve_part(*args, **kwargs) Any #
Clip by revolving a 1D part about an axis.
The end points for the 1D part are effectively extended to infinity during the clip.The part is revolved around the defined origin and axis.- Args:
- p0:
‘part_id’ part ID number to revolve
- Examples:
# # Select an existing clip part # ensight.part.select_begin(3) ensight.part.modify_begin() # # Revolve 1D part 4 # about an axis # ensight.clip.tool("1d_part") ensight.clip.revolve_part(4) ensight.clip.origin(-2.4838e-01,-2.3340e-01,1.8757e+00) ensight.clip.axis(0.0000e+00,1.0000e+00,0.0000e+00) ensight.part.modify_end()
- Returns:
zero on success, non-zero on error