Skip to content

Commit 311936e

Browse files
committed
No Z shaping (just in case)
1 parent 81646cc commit 311936e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

InputShaping.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ def getSettingDataString(self):
2121
"type": "enum",
2222
"options": {
2323
"is": "M593 (ZV Input Shaping)",
24+
"oldis": "M593 (Beta ZV Input Shaping)",
2425
"ftm": "M493 (Fixed-Time Motion)",
2526
"oldftm": "M493 (Beta Fixed-Time Motion)",
2627
"voldftm": "M493 (Alpha Fixed-Time Motion)"
@@ -73,8 +74,10 @@ def execute(self, data):
7374
lines[j] += '\nM493 B%f ;(Hz) Y Input Shaping Test' % hz
7475
else if gc == 'ftm':
7576
lines[j] += '\n;TYPE:INPUTSHAPING\nM493 XY A%f ;(Hz) XY Input Shaping Test' % hz
76-
else if gc == 'is':
77+
else if gc == 'oldis':
7778
lines[j] += '\n;TYPE:INPUTSHAPING\nM593 F%f ;(Hz) Input Shaping Test' % hz
79+
else if gc == 'is':
80+
lines[j] += '\n;TYPE:INPUTSHAPING\nM593 XY F%f ;(Hz) Input Shaping Test' % hz
7881
data[i] = '\n'.join(lines)
7982

8083
return data

0 commit comments

Comments
 (0)