# How to stretch or compress a spiral cylinder

I have a cylinder-like spiral object as a .STL file (figure). We want to animate compressing and stretching this cylinder (figure). How can this be done?

Edited: