As simple method to model wave washers
[image: Screenshot 2025-02-17 at 10.03.27 PM.png]
That’s cool, but the code is a little hard to follow in the video.
I did this for a drawing. It’s the half of the washer that is visible. When it’s almost fully compressed, as it would be when installed, the steps don’t show!
h=1; // half height (c to c)
w=4; // width
for (i=[0:180])
rotate([0, h*sin(8*i), i])
translate([-50, 0])
ccube(w, 1, 1);
Basic idea here is to draw a sinewave in x-z plane and draw a circular path
to wrap the sinewave in x-y plane.
The function which i wrote in python for such wrapping is
"extrude_wave2path".
Number of points in sinewave should match number of points of circular path.
This weapped sinewave will make a path and then extrude a rectangular
section through this path to create a wave washer.
On Wed, 19 Feb, 2025, 5:27 am Caddiy via Discuss, <
discuss@lists.openscad.org> wrote:
That’s cool, but the code is a little hard to follow in the video.
I did this for a drawing. It’s the half of the washer that is visible.
When it’s almost fully compressed, as it would be when installed, the steps
don’t show!
h=1; // half height (c to c)
w=4; // width
for (i=[0:180])
rotate([0, hsin(8i), i])
translate([-50, 0])
ccube(w, 1, 1);
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
your code is very nice, it is much faster and meets the intent
On Wed, 19 Feb 2025 at 05:27, Caddiy via Discuss discuss@lists.openscad.org
wrote:
That’s cool, but the code is a little hard to follow in the video.
I did this for a drawing. It’s the half of the washer that is visible.
When it’s almost fully compressed, as it would be when installed, the steps
don’t show!
h=1; // half height (c to c)
w=4; // width
for (i=[0:180])
rotate([0, hsin(8i), i])
translate([-50, 0])
ccube(w, 1, 1);
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org