discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: [OpenSCAD] Wave spring

C
ctchin
Sat, Dec 5, 2015 7:35 AM

You want recreate the shape faithfully?  Or you just want to make
something with roughly the same size and reproduce it's functionality?

I would make an octagonal wave spring, pretty simple.  Looks
like fun and useful...

I actually do need button battery cases, I only find one particular size
at the local supply, which addressed my need for now, but it maybe
worth having all sizes available.  Use copper tape for conductivity...

--
View this message in context: http://forum.openscad.org/Wave-spring-tp14948p14951.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

You want recreate the shape faithfully? Or you just want to make something with roughly the same size and reproduce it's functionality? I would make an octagonal wave spring, pretty simple. Looks like fun and useful... I actually do need button battery cases, I only find one particular size at the local supply, which addressed my need for now, but it maybe worth having all sizes available. Use copper tape for conductivity... -- View this message in context: http://forum.openscad.org/Wave-spring-tp14948p14951.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Sun, Dec 6, 2015 2:33 AM

Looks to me like a slight variation of the wave-cylinder.scad demo
from https://github.com/openscad/list-comprehension-demos :-).

ciao,
Torsten.

---%<---%<---%<---%<---%<---%<---%<---%<---%<---%<---%<---%<---

use <scad-utils/transformations.scad>
use <list-comprehension-demos/sweep.scad>

r = 20;
w = 10;
s = 2;
step = 4;

shape = [[0,0,0], [w,0,0], [w,1,0], [0,1,0]];

path = [for (a=[0:step:360-step])
rotation([90,0,a]) * translation([r,ssin(a3),0])
];

sweep(shape, path, true);

---%<---%<---%<---%<---%<---%<---%<---%<---%<---%<---%<---%<---

Looks to me like a slight variation of the wave-cylinder.scad demo from https://github.com/openscad/list-comprehension-demos :-). ciao, Torsten. ---%<---%<---%<---%<---%<---%<---%<---%<---%<---%<---%<---%<--- use <scad-utils/transformations.scad> use <list-comprehension-demos/sweep.scad> r = 20; w = 10; s = 2; step = 4; shape = [[0,0,0], [w,0,0], [w,1,0], [0,1,0]]; path = [for (a=[0:step:360-step]) rotation([90,0,a]) * translation([r,s*sin(a*3),0]) ]; sweep(shape, path, true); ---%<---%<---%<---%<---%<---%<---%<---%<---%<---%<---%<---%<---