repeat header lines that contain {tool} for each extruder
This commit is contained in:
parent
54fcaa4e84
commit
00e2b9eb50
2 changed files with 12 additions and 1 deletions
|
|
@ -145,7 +145,15 @@
|
|||
}
|
||||
});
|
||||
}
|
||||
appendSub(line);
|
||||
if (line.indexOf("{tool}") > 0 && extruders.length > 1) {
|
||||
for (let i=0; i<extruders.length; i++) {
|
||||
subst.tool = i;
|
||||
appendSub(line);
|
||||
}
|
||||
subst.tool = 0;
|
||||
} else {
|
||||
appendSub(line);
|
||||
}
|
||||
}
|
||||
|
||||
function dwell(ms) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue