Modular hose¶
⚙️ Spec sheet → — visual schematic and metrics measured from a real rendered STL.
Pure-Python port of BOSL2’s modular_hose.scad: the ball-and-socket segments of a modular
“Loc-Line” style adjustable/coolant hose. modular_hose()
revolves a ball end, a socket end, or a full segment for the 1/4”, 1/2” and 3/4” sizes;
modular_hose_radius() gives the bore radius.
.. autoclass:: bosl2.modular_hose.ModularHose
- members:
Examples¶
These mirror the examples in BOSL2’s modular_hose.scad, rendered live through PythonSCAD.
Examples that rely on BOSL2’s attachment/anchor system, or on features not in this port, are omitted.
modular_hose
1/4” segment:
ModularHose.modular_hose(0.25, "segment").show()
1/2” segment:
ModularHose.modular_hose(0.5, "segment").show()
3/4” segment:
ModularHose.modular_hose(0.75, "segment").show()
1/2” ball end with a longer waist:
ModularHose.modular_hose(0.5, "ball", waist_len=15).show()
3/4” socket end:
ModularHose.modular_hose(0.75, "socket").show()