FULLY WORKING incl. sync. but have to fix the display. fy seems wrong

This commit is contained in:
2018-10-23 15:03:31 +02:00
parent cf3581a187
commit 00c84235a0
3 changed files with 120 additions and 70 deletions

View File

@@ -212,12 +212,10 @@ class ShapePath(MotionBase):
prg.append(' linear abs')
prg.append('X%g Y%g' % tuple(pv[0, (0,1)]))
prg.append('dwell 10')
try:
prg.append(self.sync_wait)
try: prg.extend(self.sync_prg.split('\n'))
except AttributeError:
#print('no sync code available')
pass
else:
print('no sync code available')
prg.append('Gather.Enable=2')
if cnt>1:
prg.append('P100=%d'%cnt)