store fdm and cam gcode output
This commit is contained in:
parent
2cfd612b86
commit
c78fedfbdc
7 changed files with 68 additions and 91 deletions
|
|
@ -24,7 +24,7 @@
|
|||
/**
|
||||
* @returns {Array} gcode lines
|
||||
*/
|
||||
CAM.printExport = function printExport(print, online) {
|
||||
CAM.export = function printExport(print, online) {
|
||||
let widget = print.widgets[0];
|
||||
|
||||
if (!widget) return;
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
/**
|
||||
* @returns {Array} gcode lines
|
||||
*/
|
||||
FDM.printExport = function(print, online) {
|
||||
FDM.export = function(print, online) {
|
||||
let layers = print.output,
|
||||
settings = FDM.fixExtruders(print.settings),
|
||||
device = settings.device,
|
||||
|
|
|
|||
Loading…
Reference in a new issue