-rw-r--r-- | delta.jscad | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/delta.jscad b/delta.jscad index 83122af..54f1f86 100644 --- a/delta.jscad +++ b/delta.jscad | |||
@@ -89,25 +89,27 @@ var CONFIG = { | |||
89 | fanholder: { | 89 | fanholder: { |
90 | r: 30, | 90 | r: 30, |
91 | screw: { d: 3, m: 2.5/*margin*/ }, | 91 | screw: { d: 3, m: 2.5/*margin*/ }, |
92 | w: 3 | 92 | w: 3 |
93 | } | 93 | } |
94 | }, | 94 | }, |
95 | nut: { h: 2.3, w: 5.5 }, | 95 | nut: { h: 2.3, w: 5.5 }, |
96 | color: { | 96 | color: { |
97 | extrusion: [0.8, 0.8, 0.8, 0.8], | 97 | extrusion: [0.8, 0.8, 0.8, 0.8], |
98 | pcb: [ 0, 0.3, 0.2, 0.8 ], | 98 | pcb: [ 0, 0.3, 0.2, 0.8 ], |
99 | bulk: [ .9, .9, .9, .2 ], | 99 | bulk: [ .9, .9, .9, .2 ], |
100 | parts: [ 0, 0.8, 0, 0.9 ], | 100 | parts: [ 0, 0.8, 0, 0.9 ], |
101 | softparts: [ 0, 0, 0.8, 0.9 ] | 101 | softparts: [ 0, 0, 0.8, 0.9 ], |
102 | heatbed: [0.8, 0.8, 0.8, 0.8 ], | ||
103 | glass: [0.9, 0.9, 0.9, 0.7 ] | ||
102 | } | 104 | } |
103 | }; | 105 | }; |
104 | 106 | ||
105 | var CD = { | 107 | var CD = { |
106 | base: (function(){ | 108 | base: (function(){ |
107 | var rv = {}; | 109 | var rv = {}; |
108 | rv.circumscription_r = | 110 | rv.circumscription_r = |
109 | CONFIG.base.sl/2/Math.cos(Math.PI/6); | 111 | CONFIG.base.sl/2/Math.cos(Math.PI/6); |
110 | rv.outer_inscription_r = | 112 | rv.outer_inscription_r = |
111 | Math.sqrt(Math.pow(rv.circumscription_r,2)- | 113 | Math.sqrt(Math.pow(rv.circumscription_r,2)- |
112 | Math.pow(CONFIG.base.sl/2,2)); | 114 | Math.pow(CONFIG.base.sl/2,2)); |
113 | rv.mid_inscription_r = | 115 | rv.mid_inscription_r = |