This tutorial is about how to make a cylinder pressure spring in SolidWorks. This spring is not static but dynamic. In this case I mean that the length of the coil is variable, but the amount of revolutions is not. A very realistic pressure spring which can be used for animations or other purposes.
We’ll start with a shock absorber assembly without a spring. We’re going to add this part to the assembly.
Add a new part to the Assembly with the top down method in SolidWorks. Read more about this in the article 10. Top down modelling in SolidWorks.

Select the Assembly front plane to define your first sketch plane.

A new part is added to the feature tree and the rest of the parts are displayed as outlines. This means that the assembly is in the ‘edit part’ mode.

Draw a centre line trough the centre of the assembly. This is the rotation axis of the spring.

Add some dimensions to it. In this case I’ve added some extra length to the spring to flatten the outer ends of the spring. Make sure the smart dimensions points to the contact points of the spring.

Create a new sketch on the front plane.

Draw a circle on the sketch. This will be the contour of the material the spring is made of. Add a horizontal relation to the end of the centre line and the centre of the circle.

Now just add a Swept Boss/Base to these two sketches.

And put some attention to the options of this feature. Define the turns and the apply the modifications.

Here you are, a top down pressure spring. Drag the piston to change the stroke of the shock absorber and hit the rebuild button. You’ll see that the spring is changing in length.


Just use the Cut Extrude feature to modify the outer ends of the spring!

The result
This is how it looks like when you’re creating a animation of the assembly!





Comments (4)
Leandro Filipe Sousa Pereira says:
Only Fantastic
Rob Yorke says:
I am having difficulty with this,
Once the new part has been added, and the centre line is drawn, how does it allow you to relate dimensions to an external part?
When I try to add dimensions to the other parts in the assembly therefore allowing for the external models to alter the length of the centre line it flags up a problem and doesn’t allow the smart dimension to work.
Please help!
Crispijn says:
Well, this isn’t easy to explain in text but I’ll try…
After you’ve inserted the new part select the face that is the bottom of the spring in your assembly. Draw and dimension the circle and exit the sketch mode. Add a new sketch in the current part and sketch it on the base plane that is perpendicular on the first one.
Draw a line from the center of the circle you’ve created (this has to be no problem because it’s the same part. To add relations between two parts just select the face of the existing/defined parts and select the endpoint of the line. Now add a relation Coincident and that should be fine…
What version of SolidWorks are you using? I’ve tested this method from SW 2008 up to 2010 and everything should be fine…
Morten Falnes says:
Great tutorial! I’ve used this in an assembly of my own and it works, but I am now struggling a bit with the animation part. I can only get it to move/compress when I do it manually.
Have you made a tutorial for this or do you have any hints?
Cheers!