I will probably publish it tomorrow. Just have to test it one time watering the plants tomorrow morning. I discovered today that I can put 2 of them together. That should work even better. I now have to add a tab3 for fine tuning coil options. A rectangle profile with changeable width height would be appropriate for this design.
I decided to see if I could code this garden hose wrap in OpenSCAD now that I understand drawing a helix. It only took 73 lines of code when I take out the comments & print statements. I might think about converting my thread routines to OpenSCAD to get Real offsets. I used the Hull command to combine each rectangle profile along the helix path. It is actually pretty fast since they added that manifold speedup feature to the program.
After making the OpenSCAD source for the garden hose wrap, I went back & made a fusion 360 python script that does essentially the same thing. The source files I have here:
I also posted this to thingiverse and printables & linked to GitHub for the source files.
https://www.printables.com/model/914558-garden-hose-wrap-for-kinks-in-the-hose
I added coil & spirals to my thread add-in on a 3rd tab & got a little carried away. I added profiles for circles, polygons, rectangles & stars. I do want to add profiles for triangles in different orientations. Thatâs all the profiles I could think of for now. Anyone have other profile suggestions? I donât know how useful stars would be but were fun to put them in there & ChatGPT was happy to write the code for those. For the polygons or stars, you can use as many sides or points as you want. I will test it a little more before releasing this version. Most of the code is essentially separate from the threading, so hopefully I didnât break any of that. Here are what some of the examples look like.
I was talking to a friend a breakfast & he mentioned that some liquorice sticks having a shape similar to that star shape which made me think that might be an interesting shape to use with the Cocoa Press printer.
I also did a quick google search for geometric shapes to get some more ideas for profiles. Ellipse, trapezoid, diamond, channel, Parallelogram, kite profiles I didnât think of before. Most of these shapes could be manually created after the initial run of the program & go back & edit the profile. Ellipse would be an easy one to add though.
I uploaded the new version with Coil options today.
Dude, this is so cool. I just installed it and ran it. Neat.
Thanks. It was fun to write.
I fixed numerous bugs in the coil & spiral part of the code.
- For ellipse sections, I was using radii for ellipse instead of diameters
- I had the inside & outside section position backwards from the way Fusion uses them, so I made that consistent with fusion
I still have to add the English units to the Coils section but will see if any more bugs in current code need fixing first.