SOLIDWORKS models are generated as rigid bodies so animations cannot take into account flexibility of movement. To accurately calculate and animate deformation based on the material properties, a SOLIDWORKS Simulation study should be created and the deformation plot can be animated.
Use In-context References
However you may wish to generate a simple animation showing moving components including a spring extending or compressing. As animations control the positions of components, not their size dimensions, you can animate spring motion with SOLIDWORKS by connecting the spring model to other moving components using in-context references.
Control spring length with a Sweep
In order to control the length of the spring, the easiest method is to create a Sweep feature with the Path sketch as a straight line for the overall height. Then in the Twist options of the Sweep feature, you can specify “Twist Along Path” and indicate how many turns or coils are needed.
With this Path sketch linked in-context to another moving component, you can control the position of the moving component to have the spring rebuild its size and appear to compress or extend.
Here is a video demonstrating the setup and final results of the animation.
Interested in learning more?
You can attend our two day SOLIDWORKS Motion training course either in-person in a classroom near you or live online.
Certified SOLIDWORKS Services available from Javelin
Javelin can help you to: