Reorganize around function/purpose rather than file type.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
include <arc_cylinder.scad>;
|
||||
|
||||
module cableSleeve(cableDiameter, length) {
|
||||
innerRadius = (cableDiameter + 1) / 2; // give 1mm clearence for the cable
|
||||
|
||||
arcCylinder(
|
||||
height = length,
|
||||
outerRadius = innerRadius + 2,
|
||||
innerRadius = innerRadius,
|
||||
degrees = 360 - (2 * asin(cableDiameter / (cableDiameter + 2))));
|
||||
}
|
||||
Reference in New Issue
Block a user