summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2016-01-06 21:38:15 (UTC)
committer Michael Krelin <hacker@klever.net>2016-01-06 21:38:15 (UTC)
commit1822646c471df79f4a97ae6cae7d328917503b47 (patch) (unidiff)
treec4250da736c7c3429ea9d2edd17a369f73173091
parent1d1eef5830bd523eebe3607923d986268cd85339 (diff)
downloadredelta-1822646c471df79f4a97ae6cae7d328917503b47.zip
redelta-1822646c471df79f4a97ae6cae7d328917503b47.tar.gz
redelta-1822646c471df79f4a97ae6cae7d328917503b47.tar.bz2
reformatted parameters definition
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--delta.jscad16
1 files changed, 14 insertions, 2 deletions
diff --git a/delta.jscad b/delta.jscad
index fd36ba5..489e20d 100644
--- a/delta.jscad
+++ b/delta.jscad
@@ -427,14 +427,26 @@ function microswitch() {
427} 427}
428 428
429function getParameterDefinitions() { 429function getParameterDefinitions() {
430 return [{ 430 return [{
431 name: 'part', 431 name: 'part',
432 type: 'choice', 432 type: 'choice',
433 values: ['platform', 'hinged', 'clamp', 'fanholder', 'alltogethernow'], 433 values: [
434 captions: ['Effector platform','Hinged part', 'Clamp', 'Fan holder', 'All together now!'], 434 'platform',
435 'hinged',
436 'clamp',
437 'fanholder',
438 'alltogethernow'
439 ],
440 captions: [
441 'Effector platform',
442 'Hinged part',
443 'Clamp',
444 'Fan holder',
445 'All together now!'
446 ],
435 caption: 'Part', 447 caption: 'Part',
436 initial: 'alltogethernow' 448 initial: 'alltogethernow'
437 }]; 449 }];
438} 450}
439 451
440function main(params) { 452function main(params) {