Ejemplo n.º 1
0
 def createDxfFilePath(self):
     dxf_path = Helper.createAndGetDxfFolder()
     hour = Helper.getCurrentHour()
     print("Article name for export dxf = " + str(self.getArticleName()))
     # self.dxf_file_path = dxf_path + "/" + str(hour) + "h" + "_" + self.getBrand() + "_" + self.getColor() + "_" + str(self.getWidth()) + "cm" + ".dxf"
     self.dxf_file_path = dxf_path + "/" + str(hour) + "h" + "_" + self.getArticleName() + "_" + str(self.getWidth()) + "cm" + "_batch_" + str(self.getName()) + ".dxf"
Ejemplo n.º 2
0
 def getDxfFileName(self):
     hour = Helper.getCurrentHour()
     return str(hour) + "h" + "_" + str(self.getArticleName()) + "_" + str(self.getClientName()) + "_" + str(self.getName()) + "_" + str(self.getCoupageBatch()) + ".dxf"
Ejemplo n.º 3
0
 def getDxfFileName(self):
     hour = Helper.getCurrentHour()
     return str(hour) + "h" + "_" + str(self.getArticleName()) + "_" + str(self.getWidth()) + "cm" + "_batch_" + str(self.getName()) + ".dxf"
Ejemplo n.º 4
0
 def storeData(self):
     file_name = str(Helper.getCurrentHour()) + 'h_log.txt'
     with open(self.getStoragePath() + file_name, 'w+') as f:
         f.write(self.dataToString())