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) (unidiff) | |
tree | d021f56b970b1652eb53a8cfe3ee57ac683e053c | |
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 | |||
@@ -110,13 +110,13 @@ var CD = { | |||
110 | rv.outer_inscription_r = | 110 | rv.outer_inscription_r = |
111 | Math.sqrt(Math.pow(rv.circumscription_r,2)- | 111 | Math.sqrt(Math.pow(rv.circumscription_r,2)- |
112 | Math.pow(CONFIG.base.sl/2,2)); | 112 | Math.pow(CONFIG.base.sl/2,2)); |
113 | rv.mid_inscription_r = | 113 | rv.mid_inscription_r = |
114 | rv.outer_inscription_r-CONFIG.extrusion.w/2; | 114 | rv.outer_inscription_r-CONFIG.extrusion.w/2; |
115 | rv.inner_inscription_r = | 115 | rv.inner_inscription_r = |
116 | rv.outer_inscription_r-CONFIG.extrusion.w/2; | 116 | rv.outer_inscription_r-CONFIG.extrusion.w; |
117 | // TODO: properly calculate | 117 | // TODO: properly calculate |
118 | rv.column_r = rv.circumscription_r - 48.29; | 118 | rv.column_r = rv.circumscription_r - 48.29; |
119 | return rv; | 119 | return rv; |
120 | })(), | 120 | })(), |
121 | duetholder: (function() { | 121 | duetholder: (function() { |
122 | var rv = {}; | 122 | var rv = {}; |