Hey! This thing is still a Work in Progress. Files, instructions, and other stuff might change!
Fully Parametric Cable Chain
by Zerginator, published
Use This Project
Give a Shout Out
If you print this Thing and display it in public proudly give attribution by printing and displaying this tag.Print Thing Tag
As I did not find a cable chain suiting my needs, I decided to make my own.
I was looking for a fully parametric cable chain, capable of output in CSG.
The Cable Chains I found here were mostly only .stl Surfaces.
Also I wanted to be able to build not only a single Chainlink, but a complete cable chain.
Here you can specify a vector consisting of the angles towards the previous chain links.
In future the will be an additional option to differing link types, to restrict angular movement of the chain.
The Cable Chain is generated though a nested vector.
There is a tupel consisting of the chain link type (at the moment there are only type 1: restricted to 45° movement and type 2: +-45° movement, type 3 generates a nice looking closed but mechanically not necessarily reasonable closed chain, type 4 onwards is just the same as type 3) and the angle of this link towards the previous. e.g. [1,30] is a link with a 30° angle.
These tupels are embedded in a vector. The vector:
ChainDef = [[1,0],[1,0],[1,0],[1,0],[1,0],[1,0],[1,0],[1,0],[1,0],[1,0],[1,30],[1,30],[1,30],[1,30],[1,30],[1,30],[1,0],[1,0],[1,0],[1,0],[1,0],[1,0],[1,0]];
defines the example cable chain shown as screenshot.
ChainDef = [[1,0],[1,5],[1,15],[1,15],[1,20],[1,20],[1,20],[1,20],[1,15],[1,15],[1,10],[1,10],[1,10],[1,10],[1,10],[1,10],[1,7],[1,6],[1,5],[1,5],[1,5],[1,5],[1,5],[1,5],[1,4],[1,4],[1,4],[1,4],[1,3],[1,3],[1,0],[1,0]];
defines the version I use in my 3D printer for the xy-axis.
The chain links are not optimized for printing. I made this to be able to quickly add cable chains in a solid geometry format into my FreeCAD Printer Assembly. If you want to print customized chain links, you can of course just set the chain length to a single element and export the .stl:
ChainDef = [[1,0]];
I will add a link type optimized for printing. But maybe it could be of interest for you how to generate parametric chains, as OpenSCAD is a functional language you cannot use "for" loops and variables, for evaluating the input vector, it has to be made in a recursive function.
Please, don't mind the bad formatting of the source with German words in the comments, I just quickly made this in one afternoon, as I needed it as a quick and dirty solution for my 3D printer project, but I thought, maybe it could be of interest to somebody here, so I put it here anyway in this "beta" version.
I will surely update it with a better structured and commented version sometime later.
If you have any questions, feel free to leave a comment.
- Possibility to restrict allowed angle of movement
- More 3D printer friendly linktype (e.g. based on: http://www.thingiverse.com/thing:34661)
- Check if chainprintable version is possible
- Add Start and End links
- Clean up Source Code
- Improve detection of impossible designs ("Error-Cube")
How I Designed This
Upgrade this Thing with Thingiverse AppsCustomization
Edit, personalize, or revise this ThingPrint Fulfilment
Order a print of this ThingTools and Utilities
Repair, slice, or enhance this Thing
Fully Parametric Cable Chain by Zerginator is licensed under the Creative Commons - Attribution license.
What does this mean?
- You must attribute (give credit) to the creator of this Thing.
- Remixing or Changing this Thing is allowed.
- Commercial use is allowed.
Show Some Love
Say thanks by giving Zerginator a tip and help them continue to share amazing Things with the Thingiverse community.Tip Designer
We're sure Zerginator would love to see what you've printed. Please document your print and share a Make with the community.
To post a Make simply visit this Thing again and click I Made One to start uploading your photo. It’s even easier to post a Make via the Thingiverse Mobile app (available via Google Play and Apple App Store).