add gcode macros for interior and exterior extrusion

This commit is contained in:
stewart allen 2021-05-02 19:29:46 -04:00
commit 9dd8574f9a
6 changed files with 59 additions and 11 deletions

View file

@ -2126,14 +2126,17 @@
// for each key in setrec object
for (let key in setrec) {
if (!setrec.hasOwnProperty(key)) {
// console.log({no_setrec: key});
continue;
}
if (!uirec.hasOwnProperty(key)) {
// console.log({no_uirec: key});
continue;
}
let nval = null, uie = uirec[key];
// skip empty UI values
if (!uie || uie === '') {
// console.log({uie_empty: key});
continue;
}
if (uie.type === 'text') {
@ -2217,7 +2220,7 @@
if (opt.controller) {
return;
}
updateSettingsFromFields(device);
updateSettingsFromFields(device, undefined, undefined, true);
// range-specific values
if (settings.mode === 'FDM' && viewMode === VIEWS.SLICE) {
let changes = {};