self.machineCom.setFeedrateModifier('SUPPORT', self.supportSpeedSelect.GetValue() / 100.0)
def AddTermLog(self, line):
+ if len(self.termLog.GetValue()) > 10000:
+ self.termLog.SetValue(self.termLog.GetValue()[-10000:])
self.termLog.SetInsertionPointEnd()
self.termLog.AppendText(unicode(line, 'utf-8', 'replace'))
#l = self.termLog.GetLastPosition() # if needed (windows? mac?)