explode_distance#

anim_quick.explode_distance(p0: float) int#

Sets the exploded view distance.

Args:
p0:

‘distance’ the maximum distance a part will be moved

Examples:
#
# turn on keyframe animation
#
ensight.anim_keyframe.keyframing("ON")
#
# create an exploded view about 2,0,0 in the x direction.
# The exploded distance is set to 200 units
#
ensight.anim_quick.explode_view("ON")
ensight.anim_quick.explode_origin(2,0,0)
ensight.anim_quick.explode_direction("x")
ensight.anim_quick.explode_distance(200)
#
# while rotating the scene about the x axis 2 revolutions positive direction
#
ensight.anim_quick.rotate_objects("ON")
ensight.anim_quick.rotate_direction("x positively")
ensight.anim_quick.rotate_revolutions("x",2.000000)
#
# accelerate at the first keyframe but not at the last
#
ensight.anim_quick.accelerate_first("ON")
ensight.anim_quick.accelerate_last("OFF")
#
# create a total of 125 frames 
# 
ensight.anim_quick.total_frames(125)
ensight.anim_quick.create_keyframes()
Returns:

zero on success, non-zero on error