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 /delta.jscad | |
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 | |||
@@ -454,35 +454,12 @@ function microswitch() { | |||
454 | rv.properties.microswitch.size = new CSG.Vector3D( | 454 | rv.properties.microswitch.size = new CSG.Vector3D( |
455 | 19.8,6,10 | 455 | 19.8,6,10 |
456 | ); | 456 | ); |
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 = { |
486 | outer: 20, thickness: 1.8, | 463 | outer: 20, thickness: 1.8, |
487 | roundius: 1, centerhole: 5, | 464 | roundius: 1, centerhole: 5, |
488 | slot_width: 6, | 465 | slot_width: 6, |
@@ -617,8 +594,33 @@ function _main(params) { | |||
617 | columns(), | 594 | columns(), |
618 | ///hd, | 595 | ///hd, |
619 | hdhd[0], hdhd[1], | 596 | hdhd[0], hdhd[1], |
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: */ | ||