Slice Modifier to animate

Hi Guys,
I am newbie to scripting. I am looking out for script in which i can animate Slice Modifier Position as per the height or width or length of the object i select. Also rotate the Slice Plane as per my need but slice plane should be at end of the object after rotation.

And It should ask for starting and ending frame. it should animate in between these frame.

Basically what i want it for is to show building time lapse animation.

Can someone please help me with this!

Thank you!

Regards,

SJ

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Sagar.Jahagirdar's picture

Can some please help me!.

Hi Can some one please help me with this. for single object it works fine but for multi object attached it fails to do so.

This is ok for single geometry
$.slice.sliceplane.position = [0,0,$.height]

This works wrong with multiple objects attached to geometry
$.slice.sliceplane.position = [$.max.x,0,0]

Please check the max file and please help me with script Thank you!

AttachmentSize
need_script_for_this.max 104 KB

Regards,
SJ

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.