Consolidated path code into paths.scad

This commit is contained in:
Revar Desmera
2020-01-30 14:00:10 -08:00
parent 674f276362
commit 8da60800c9
5 changed files with 418 additions and 440 deletions

View File

@@ -90,7 +90,7 @@ module wiring(path, wires, wirediam=2, rounding=10, wirenum=0, bezsteps=12) {
];
offsets = hex_offsets(wires, wirediam);
bezpath = fillet_path(path, rounding);
poly = simplify3d_path(path3d(bezier_polyline(bezpath, bezsteps)));
poly = simplify_path(path3d(bezier_polyline(bezpath, bezsteps)));
n = max(segs(wirediam), 8);
r = wirediam/2;
for (i = [0:1:wires-1]) {