Rob Sherwood rob.sherwood at gmail.com
Sat Sep 8 15:10:00 EDT 2018

I did something similar to this where I created a formula to place a
sequence of n circles along a path, and then did a hull() around each
adjacent pair of circles.  The function I was following was an
involute curve but you should be able to reuse this technique for an

Here's the relevant code:

for (i = [1: step: max_angle] ) {
point = involute( width, i);        // replace
this function with your own path function
prev_point = involute( width, i - step);   // ditto...
hull() {
translate([ point[0], point[1], 0])
circle(d=circle_diam, center=true);
translate([ prev_point[0], prev_point[1], 0])
circle(d=circle_diam, center=true);
}
}

Hope this helps,

- Rob
.
On Sat, Sep 8, 2018 at 12:00 PM r.d. terramir
<terramircomputers at gmail.com> wrote:
>
> https://plus.google.com/+rdterramir/posts/UPXqFQjo5YS here is the spring and I would like to put it through the end of the 3d printed plastic battery holder anyone got any ideas on how to model this please
> terramir
>
> On Sep 7, 2018 4:12 PM, "nop head" <nop.head at gmail.com> wrote:
>>
>> Good luck. I model battery springs with a cone.
>>
>> On Fri, 7 Sep 2018, 23:03 r.d. terramir, <terramircomputers at gmail.com> wrote:
>>>
>>> Ok I need to embed a spiral cutout. 17.25mm the biggest diameter  the
>>> next about 14mm then 11.33 then 9.15. distance 6mm for the first 3
>>> spirals then about 4mm although that end won't be in the plastic it's
>>> the wide end. the wire diameter is 1.4mm. I need to know how I would
>>> program this.
>>>
>>> terramir
>>>
>>> _______________________________________________
>>
>>
>> _______________________________________________