fix gcode import and add extruder compensation from selected device. fix tool select script output
This commit is contained in:
parent
24b7a6456b
commit
5030dbd5f3
4 changed files with 24 additions and 9 deletions
|
|
@ -901,7 +901,6 @@ let gs_kiri_fdm = exports;
|
|||
|
||||
// look for extruder change and recalc emit factor
|
||||
if (out.tool !== undefined && out.tool !== tool) {
|
||||
appendAllSub(extruder.extSelect);
|
||||
tool = out.tool;
|
||||
subst.nozzle = subst.tool = tool;
|
||||
extruder = extruders[tool];
|
||||
|
|
@ -912,6 +911,7 @@ let gs_kiri_fdm = exports;
|
|||
extruder.extFilament,
|
||||
path.layer === 0 ?
|
||||
(process.firstSliceHeight || process.sliceHeight) : path.height);
|
||||
appendAllSub(extruder.extSelect);
|
||||
}
|
||||
|
||||
// if no point in output, it's a dwell command
|
||||
|
|
|
|||
Loading…
Reference in a new issue