
Load "Theremino_HAL\Theremino_SignalScope.exe"

Button 2 Text AbortSewing

Variable Numeric SlotX = 1
Variable Numeric SlotY = 3
Variable Numeric SlotZ = 5
Variable Numeric StopAngle = 90
Variable Numeric StartAngle = 270

Variable Numeric Xmax = 900
Variable Numeric Xmin = 0
Variable Numeric Ymax = 900
Variable Numeric Ymin = 0
Variable Numeric MaxPerSec = 20

Slot 8 = 1000
Wait Seconds 0.05
Slot 8 = 0
Wait Seconds 0.05

SewInit SlotX SlotY SlotZ StopAngle StartAngle

SewLimits Xmin Xmax Ymin Ymax MaxPerSec


SewTo 20 0 20 0 ""
Wait SewProgress < 0

SewTo 20 20 20 0 ""
Wait SewProgress < 0

SewTo 0 0 20 0 ""
Wait SewProgress < 0



'SewTo 20 0 20 4 ""
'Wait SewProgress < 0
'
'SewTo 20 20 20 4 "ZigZag=1"
'Wait SewProgress < 0
'
'SewTo 0 0 20 4 ""
'Wait SewProgress < 0

''SewTo 30 0 20 3 "ZigZag=1"
''Wait SewProgress < 0
''
''SewTo 50 50 20 3 ""
''Wait SewProgress < 0
'
'SewTo 50 50 20 3 "Radius=12"
'Wait SewProgress < 0
'
'SewTo 0 0 100 0 ""
'Wait SewProgress < 0

Stop


Label AbortSewing
	SewAbort
Return


'WATCH SewTo_Speed
'EXEC Button 5 Text Button5
