author | Michael Krelin <hacker@klever.net> | 2016-01-13 09:50:05 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2016-01-13 09:50:05 (UTC) |
commit | 2dbb3965806819fc380118f30e6642759206579b (patch) (side-by-side diff) | |
tree | d021f56b970b1652eb53a8cfe3ee57ac683e053c /delta.jscad | |
parent | 64a6bb173fd448fd0b8557f3ae79625380127a7e (diff) | |
download | redelta-2dbb3965806819fc380118f30e6642759206579b.zip redelta-2dbb3965806819fc380118f30e6642759206579b.tar.gz redelta-2dbb3965806819fc380118f30e6642759206579b.tar.bz2 |
corrected outer inscription radius
-rw-r--r-- | delta.jscad | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/delta.jscad b/delta.jscad index 5621f0f..85cf254 100644 --- a/delta.jscad +++ b/delta.jscad @@ -104,25 +104,25 @@ var CONFIG = { var CD = { base: (function(){ var rv = {}; rv.circumscription_r = CONFIG.base.sl/2/Math.cos(Math.PI/6); rv.outer_inscription_r = Math.sqrt(Math.pow(rv.circumscription_r,2)- Math.pow(CONFIG.base.sl/2,2)); rv.mid_inscription_r = rv.outer_inscription_r-CONFIG.extrusion.w/2; rv.inner_inscription_r = - rv.outer_inscription_r-CONFIG.extrusion.w/2; + rv.outer_inscription_r-CONFIG.extrusion.w; // TODO: properly calculate rv.column_r = rv.circumscription_r - 48.29; return rv; })(), 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 |