-rw-r--r-- | delta.jscad | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/delta.jscad b/delta.jscad index 489e20d..7c6f35f 100644 --- a/delta.jscad +++ b/delta.jscad | |||
@@ -440,24 +440,25 @@ function getParameterDefinitions() { | |||
440 | captions: [ | 440 | captions: [ |
441 | 'Effector platform', | 441 | 'Effector platform', |
442 | 'Hinged part', | 442 | 'Hinged part', |
443 | 'Clamp', | 443 | 'Clamp', |
444 | 'Fan holder', | 444 | 'Fan holder', |
445 | 'All together now!' | 445 | 'All together now!' |
446 | ], | 446 | ], |
447 | caption: 'Part', | 447 | caption: 'Part', |
448 | initial: 'alltogethernow' | 448 | initial: 'alltogethernow' |
449 | }]; | 449 | }]; |
450 | } | 450 | } |
451 | 451 | ||
452 | var FOURWINDS = [0,90,180,270]; | ||
452 | function main(params) { | 453 | function main(params) { |
453 | var e = EFFECTOR.effector(); | 454 | var e = EFFECTOR.effector(); |
454 | var hs = E3DV6.heatsink(); | 455 | var hs = E3DV6.heatsink(); |
455 | hs = hs.connectTo(hs.properties.grove_connector,e.properties.grove_connector,false,0); | 456 | hs = hs.connectTo(hs.properties.grove_connector,e.properties.grove_connector,false,0); |
456 | var ms = microswitch(); | 457 | var ms = microswitch(); |
457 | var hd = EFFECTOR.hinged({ | 458 | var hd = EFFECTOR.hinged({ |
458 | microswitch:ms,effector:e | 459 | microswitch:ms,effector:e |
459 | }); | 460 | }); |
460 | ms = ms.connectTo( | 461 | ms = ms.connectTo( |
461 | ms.properties.screw_connector[0], | 462 | ms.properties.screw_connector[0], |
462 | hd.properties.microswitch_screw_connector[0], | 463 | hd.properties.microswitch_screw_connector[0], |
463 | false, 0); | 464 | false, 0); |