From c2dba6c4044eedea57331b30f906d1a3de1c67d3 Mon Sep 17 00:00:00 2001 From: Revar Desmera Date: Wed, 6 Feb 2019 03:34:16 -0800 Subject: [PATCH] Removing dead cruft code. --- wiring.scad | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wiring.scad b/wiring.scad index 950873c..6f5c95c 100644 --- a/wiring.scad +++ b/wiring.scad @@ -75,10 +75,6 @@ function hex_offsets(wires, wirediam, lev=0, arr=[]) = // Usage: // wiring([[50,0,-50], [50,50,-50], [0,50,-50], [0,0,-50], [0,0,0]], fillet=10, wires=13); module wiring(path, wires, wirediam=2, fillet=10, wirenum=0, bezsteps=12) { - vect = path[1]-path[0]; - theta = atan2(vect[1], vect[0]); - xydist = hypot(vect[1], vect[0]); - phi = atan2(vect[2],xydist); colors = [ [0.2, 0.2, 0.2], [1.0, 0.2, 0.2], [0.0, 0.8, 0.0], [1.0, 1.0, 0.2], [0.3, 0.3, 1.0], [1.0, 1.0, 1.0], [0.7, 0.5, 0.0], [0.5, 0.5, 0.5],