/openscad_cable_chain

Library with a generator of a 3d printable easy to assemble cable chain

Primary LanguageOpenSCADMIT LicenseMIT

3d printed cable chain

This library contains generator of a 3d printable easy to assemble cable chain with optional segments with a hook (useful to attach external flexible hose/tube).

render

This library depends on NopSCADlib and can be used as a git submodule in NopSCADlib styled CAD projects:

Installation

Clone git repository as submodule to your OpenSCAD project. Assuming that external deps are placed to lib directory.

git submodule add https://github.com/eraga/openscad_cable_chain lib/cable_chain

Example usage

include <../lib/cable_chain/cable_chains.scad>

// Chain length and angles defined in array
translate([-50,0,8])
cable_chain(SAMPLE_CABLE_CHAIN, [0,0,30,30,30,30,30,30,0]);


// Chain length and angles defined in type definition
translate([50,0,5])
cable_chain(SAMPLE_CABLE_CHAIN_WITH_HOOKS);


// Chain length and angles defined by variables
WIDE_CABLE_CHAIN = ["", 30, 30, 10, 0, 33];
translate([150,0,5])
cable_chain(WIDE_CABLE_CHAIN, length = 350, turn_angle = 180);

// Chain STL helper
XY_CABLE_CHAIN = ["ABS_y_axis_cable_chain", 20, 20, 12, 4, 33];
translate([250,0,5]) {
    cable_chain_section_body_and_cap(XY_CABLE_CHAIN);
    translate([0,50,0])
    cable_chain_section_body_and_cap(XY_CABLE_CHAIN, hook = true);
}