Implement 'align-mode': Raise pen & disable motors.

git-svn-id: https://eggbotcode.googlecode.com/svn/trunk@104 72233254-1b6c-9e9c-5072-401df62706fb
pull/47/head
windelloskay 2010-09-13 03:51:26 +00:00
rodzic 96692053bc
commit 653adb9e3e
2 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -113,8 +113,6 @@ Grey-Green-Yellow-Pink, for both motors
Known issues:
* "Cancel" function does not work while plotting.
(This is due to a known bug in Inkscape.)
* Align mode (pen up, motors off) not yet implemented.
</_param>
</page>
</param>

Wyświetl plik

@ -382,6 +382,11 @@ class EggBot( inkex.Effect ):
self.ServoSetupWrapper()
self.penUp()
elif self.options.manualType == "align-mode":
self.ServoSetupWrapper()
self.penUp()
self.sendDisableMotors()
elif self.options.manualType == "lower-pen":
self.ServoSetupWrapper()
self.penDown()