author | Michael Krelin <hacker@klever.net> | 2016-01-06 21:38:15 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2016-01-06 21:38:15 (UTC) |
commit | 1822646c471df79f4a97ae6cae7d328917503b47 (patch) (side-by-side diff) | |
tree | c4250da736c7c3429ea9d2edd17a369f73173091 /delta.jscad | |
parent | 1d1eef5830bd523eebe3607923d986268cd85339 (diff) | |
download | redelta-1822646c471df79f4a97ae6cae7d328917503b47.zip redelta-1822646c471df79f4a97ae6cae7d328917503b47.tar.gz redelta-1822646c471df79f4a97ae6cae7d328917503b47.tar.bz2 |
reformatted parameters definition
-rw-r--r-- | delta.jscad | 16 |
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 @@ -421,26 +421,38 @@ function microswitch() { rv.properties.screw_connector = screw_connector; rv.properties.microswitch = new CSG.Properties(); rv.properties.microswitch.size = new CSG.Vector3D( 19.8,6,10 ); return rv; } function getParameterDefinitions() { return [{ name: 'part', type: 'choice', - values: ['platform', 'hinged', 'clamp', 'fanholder', 'alltogethernow'], - captions: ['Effector platform','Hinged part', 'Clamp', 'Fan holder', 'All together now!'], + values: [ + 'platform', + 'hinged', + 'clamp', + 'fanholder', + 'alltogethernow' + ], + captions: [ + 'Effector platform', + 'Hinged part', + 'Clamp', + 'Fan holder', + 'All together now!' + ], caption: 'Part', initial: 'alltogethernow' }]; } function main(params) { var e = EFFECTOR.effector(); var hs = E3DV6.heatsink(); hs = hs.connectTo(hs.properties.grove_connector,e.properties.grove_connector,false,0); var ms = microswitch(); var hd = EFFECTOR.hinged({ microswitch:ms,effector:e |