author | Michael Krelin <hacker@klever.net> | 2016-01-06 23:45:43 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2016-01-06 23:45:43 (UTC) |
commit | 70e08848566d909a76fa3f611d35570c57f8e048 (patch) (unidiff) | |
tree | 721d2ab3c42a5bf515286963b316ad7cdcd13048 | |
parent | f669f3d2881597cc0d86e4b55332b541883c8205 (diff) | |
download | redelta-70e08848566d909a76fa3f611d35570c57f8e048.zip redelta-70e08848566d909a76fa3f611d35570c57f8e048.tar.gz redelta-70e08848566d909a76fa3f611d35570c57f8e048.tar.bz2 |
move parameters around
-rw-r--r-- | delta.jscad | 50 |
1 files changed, 26 insertions, 24 deletions
diff --git a/delta.jscad b/delta.jscad index ef0d4ec..9941125 100644 --- a/delta.jscad +++ b/delta.jscad | |||
@@ -457,29 +457,6 @@ function microswitch() { | |||
457 | return rv; | 457 | return rv; |
458 | } | 458 | } |
459 | 459 | ||
460 | function getParameterDefinitions() { | ||
461 | return [{ | ||
462 | name: 'part', | ||
463 | type: 'choice', | ||
464 | values: [ | ||
465 | 'platform', | ||
466 | 'hinged', | ||
467 | 'clamp', | ||
468 | 'fanholder', | ||
469 | 'alltogethernow' | ||
470 | ], | ||
471 | captions: [ | ||
472 | 'Effector platform', | ||
473 | 'Hinged part', | ||
474 | 'Clamp', | ||
475 | 'Fan holder', | ||
476 | 'All together now!' | ||
477 | ], | ||
478 | caption: 'Part', | ||
479 | initial: 'alltogethernow' | ||
480 | }]; | ||
481 | } | ||
482 | |||
483 | var FOURWINDS = [0,90,180,270]; | 460 | var FOURWINDS = [0,90,180,270]; |
484 | 461 | ||
485 | var E2020 = { | 462 | var E2020 = { |
@@ -620,5 +597,30 @@ function _main(params) { | |||
620 | ms); | 597 | ms); |
621 | return rv; | 598 | return rv; |
622 | } | 599 | } |
623 | /* vim:set ft=javascript ai: */ | ||
624 | 600 | ||
601 | function getParameterDefinitions() { | ||
602 | return [{ | ||
603 | name: 'part', | ||
604 | type: 'choice', | ||
605 | values: [ | ||
606 | 'platform', | ||
607 | 'hinged', | ||
608 | 'clamp', | ||
609 | 'fanholder', | ||
610 | 'alltogethernow', | ||
611 | 'wip' | ||
612 | ], | ||
613 | captions: [ | ||
614 | 'Effector platform', | ||
615 | 'Hinged part', | ||
616 | 'Clamp', | ||
617 | 'Fan holder', | ||
618 | 'All together now!', | ||
619 | 'Work in progress' | ||
620 | ], | ||
621 | caption: 'Part', | ||
622 | initial: 'wip' | ||
623 | }]; | ||
624 | } | ||
625 | |||
626 | /* vim:set ft=javascript ai: */ | ||