This commit is contained in:
2019-01-18 12:00:18 +01:00
parent f32f7723bf
commit d19ea28d23
3 changed files with 41 additions and 3 deletions

View File

@@ -486,6 +486,16 @@ class ShapePath(MotionBase):
gt.wait_stopped(verbose=True)
self.rec=rec=gt.upload()
try:
syncShell=self.syncShell
except AttributeError: pass
else:
print(syncShell.sync())
del self.syncShell
syncShell.close()
pts=self.points
ofsy=-rec[0,2]+pts[0,1]
ofsx=-rec[0,3]+pts[0,0]