Here is a simple script to create a wavy washer, also known as a wavy spring.
(This can also be done with sine wave script, and Flow to a circle, with the correct vertical orientation.)
The script can be run twice with different radius, or offset, then do a loft and extrude.

|