summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2016-03-20 14:38:37 (UTC)
committer Michael Krelin <hacker@klever.net>2016-03-20 14:38:37 (UTC)
commit00a023fb1fa3370550b2b30b6ce06aec45436a52 (patch) (unidiff)
tree51bd7b76423adc4004514b0b5d22d972ad6eda1f
parent8805ba36fd9da26d3764ad83a5c8b97c30140dc0 (diff)
downloadredelta-00a023fb1fa3370550b2b30b6ce06aec45436a52.zip
redelta-00a023fb1fa3370550b2b30b6ce06aec45436a52.tar.gz
redelta-00a023fb1fa3370550b2b30b6ce06aec45436a52.tar.bz2
newer openjscad compatibility
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--delta.jscad1
1 files changed, 1 insertions, 0 deletions
diff --git a/delta.jscad b/delta.jscad
index e9fb773..b783913 100644
--- a/delta.jscad
+++ b/delta.jscad
@@ -997,54 +997,55 @@ function _main(params) {
997 return union({ 997 return union({
998 platform: e, 998 platform: e,
999 hinged: hdhd[1], 999 hinged: hdhd[1],
1000 clamp: hdhd[0], 1000 clamp: hdhd[0],
1001 fanholder: fh, 1001 fanholder: fh,
1002 alltogethernow: [e,hdhd[0],hdhd[1], columns(),hs,ms,fh] 1002 alltogethernow: [e,hdhd[0],hdhd[1], columns(),hs,ms,fh]
1003 }[params.part||'alltogethernow']) 1003 }[params.part||'alltogethernow'])
1004 var rv = union( 1004 var rv = union(
1005 e, 1005 e,
1006 hs, 1006 hs,
1007 columns(), 1007 columns(),
1008 ///hd, 1008 ///hd,
1009 hdhd[0], hdhd[1], 1009 hdhd[0], hdhd[1],
1010 ms); 1010 ms);
1011 return rv; 1011 return rv;
1012} 1012}
1013 1013
1014function getParameterDefinitions() { 1014function getParameterDefinitions() {
1015 return [{ 1015 return [{
1016 name: 'part', 1016 name: 'part',
1017 type: 'choice', 1017 type: 'choice',
1018 values: [ 1018 values: [
1019 'platform', 1019 'platform',
1020 'hinged', 1020 'hinged',
1021 'clamp', 1021 'clamp',
1022 'fanholder', 1022 'fanholder',
1023 'duetholder', 1023 'duetholder',
1024 'foot', 'shoe', 1024 'foot', 'shoe',
1025 'bedholder', 1025 'bedholder',
1026 'alltogethernow', 1026 'alltogethernow',
1027 'wip' 1027 'wip'
1028 ], 1028 ],
1029 captions: [ 1029 captions: [
1030 'Effector platform', 1030 'Effector platform',
1031 'Hinged part', 1031 'Hinged part',
1032 'Clamp', 1032 'Clamp',
1033 'Fan holder', 1033 'Fan holder',
1034 'Duet holder', 1034 'Duet holder',
1035 'Foot', 'Shoe', 1035 'Foot', 'Shoe',
1036 'Bed holder', 1036 'Bed holder',
1037 'All together now!', 1037 'All together now!',
1038 'Work in progress' 1038 'Work in progress'
1039 ], 1039 ],
1040 caption: 'Part', 1040 caption: 'Part',
1041 initial: 'wip' 1041 initial: 'wip'
1042 },{ 1042 },{
1043 name: 'print', 1043 name: 'print',
1044 type: 'checkbox', 1044 type: 'checkbox',
1045 checked: false,
1045 caption: 'For print, no nonsense', 1046 caption: 'For print, no nonsense',
1046 initial: false 1047 initial: false
1047 }]; 1048 }];
1048} 1049}
1049 1050
1050/* vim:set ft=javascript ai: */ 1051/* vim:set ft=javascript ai: */