(self,timePerLayers,totalPrintTime,layerCount,size,layer_height,total_filament,parent)
| 690 | self.timerCalculator = None |
| 691 | |
| 692 | def cbGCodeAnalyzerReady(self,timePerLayers,totalPrintTime,layerCount,size,layer_height,total_filament,parent): |
| 693 | |
| 694 | self.timePerLayers = timePerLayers |
| 695 | |
| 696 | if not self.totalPrintTime: |
| 697 | self.totalPrintTime = totalPrintTime*1.07 |
| 698 | |
| 699 | self.layerCount = layerCount |
| 700 | |
| 701 | self.size = size |
| 702 | |
| 703 | self.layer_height = layer_height |
| 704 | |
| 705 | self.total_filament = None#total_filament has not got any information |
| 706 | |
| 707 | if self._callback and self._callback.analyzedInfoDecider: |
| 708 | self._callback.analyzedInfoDecider(self.timePerLayers, self.totalPrintTime) |
| 709 | |
| 710 | def cbGCodeAnalyzerException(self,parameters): |
| 711 | self._logger.warn("There was a problem using /usr/bin/astroprint/GCodeAnalyzer... using alternative algorithm") |
nothing calls this directly
no test coverage detected