explode_origin#

anim_quick.explode_origin(p0: float, p1: float, p2: float) int#

Sets the exploded view origin.

Args:
p0:

‘x_ori’ x coordinate of the explode origin

p1:

‘y_ori’ y coordinate of the explode origin

p2:

‘z_ori’ z coordinate of the explode origin

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