scene.add(m)
slicer.runSlicer(scene)
slicer.wait()
- # ISSUE 459 - output gcode without Print time - START
profile.replaceGCodeTagsFromSlicer(slicer.getGCodeFilename(), slicer)
- # ISSUE 459 - output gcode without Print time - END
if options.output:
shutil.copyfile(slicer.getGCodeFilename(), options.output)
f.write(data)
f.close()
-# ISSUE 459 - output gcode without Print time - START
def replaceGCodeTagsFromSlicer(filename, slicerInt):
f = open(filename, 'r+')
data = f.read(2048)
f.seek(0)
f.write(data)
f.close()
-# ISSUE 459 - output gcode without Print time - END
### Get aleration raw contents. (Used internally in Cura)
def getAlterationFile(filename):