summaryrefslogtreecommitdiffabout
path: root/delta.jscad
Side-by-side diff
Diffstat (limited to 'delta.jscad') (more/less context) (ignore whitespace changes)
-rw-r--r--delta.jscad1
1 files changed, 1 insertions, 0 deletions
diff --git a/delta.jscad b/delta.jscad
index 85cf254..9061c28 100644
--- a/delta.jscad
+++ b/delta.jscad
@@ -120,24 +120,25 @@ var CD = {
})(),
duetholder: (function() {
var rv = {};
var s = CONFIG.base.sl;
var l = CONFIG.duet.hole_spacing.x;
var w = CONFIG.duet.hole_spacing.y;
var h = s*Math.cos(Math.PI/6);
var h1 = h*(1-l/s);
rv.distance = (h1-w)/3; // hole to side
return rv;
})()
};
+console.log(CONFIG); console.log(CD);
var U = {
hypotenuse: function(a,b) {
return Math.sqrt(Math.pow(a,2)+Math.pow(b,2));
},
peek: function(x,m) {
console.log(x,m);
return x;
}
};
/* {h:,w:} */