author | Michael Krelin <hacker@klever.net> | 2016-01-06 23:45:19 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2016-01-06 23:45:19 (UTC) |
commit | f669f3d2881597cc0d86e4b55332b541883c8205 (patch) (unidiff) | |
tree | 7728a7362ed323703267620ec680a01a99ca3879 | |
parent | d9e0cf63db5c64802dfbba0dc76506b9b0d5127a (diff) | |
download | redelta-f669f3d2881597cc0d86e4b55332b541883c8205.zip redelta-f669f3d2881597cc0d86e4b55332b541883c8205.tar.gz redelta-f669f3d2881597cc0d86e4b55332b541883c8205.tar.bz2 |
more colors
-rw-r--r-- | delta.jscad | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/delta.jscad b/delta.jscad index f06870e..ef0d4ec 100644 --- a/delta.jscad +++ b/delta.jscad | |||
@@ -71,25 +71,27 @@ var CONFIG = { | |||
71 | }, | 71 | }, |
72 | guide: { | 72 | guide: { |
73 | width: 3, height: 5+1, length: 6 | 73 | width: 3, height: 5+1, length: 6 |
74 | }, | 74 | }, |
75 | fanholder: { | 75 | fanholder: { |
76 | r: 30, | 76 | r: 30, |
77 | screw: { d: 3, m: 2.5/*margin*/ }, | 77 | screw: { d: 3, m: 2.5/*margin*/ }, |
78 | w: 3 | 78 | w: 3 |
79 | } | 79 | } |
80 | }, | 80 | }, |
81 | nut: { h: 2.3, w: 5.5 }, | 81 | nut: { h: 2.3, w: 5.5 }, |
82 | color: { | 82 | color: { |
83 | extrusion: [0.8, 0.8, 0.8, 0.8] | 83 | extrusion: [0.8, 0.8, 0.8, 0.8], |
84 | pcb: [ 0, 0.3, 0.2, 0.8 ], | ||
85 | bulk: [ .9, .9, .9, .2 ] | ||
84 | } | 86 | } |
85 | }; | 87 | }; |
86 | 88 | ||
87 | var CD = { | 89 | var CD = { |
88 | base: (function(){ | 90 | base: (function(){ |
89 | var rv = {}; | 91 | var rv = {}; |
90 | rv.circumscription_r = | 92 | rv.circumscription_r = |
91 | CONFIG.base.sl/2/Math.cos(Math.PI/6); | 93 | CONFIG.base.sl/2/Math.cos(Math.PI/6); |
92 | rv.outer_inscription_r = | 94 | rv.outer_inscription_r = |
93 | Math.sqrt(Math.pow(rv.circumscription_r,2)- | 95 | Math.sqrt(Math.pow(rv.circumscription_r,2)- |
94 | Math.pow(CONFIG.base.sl/2,2)); | 96 | Math.pow(CONFIG.base.sl/2,2)); |
95 | rv.mid_inscription_r = | 97 | rv.mid_inscription_r = |