allow print/bed temp to fall back to first layer settings if they are omitted

This commit is contained in:
Stewart Allen 2021-02-13 20:07:48 -05:00
commit bdfa02d215
3 changed files with 2 additions and 7 deletions

View file

@ -55,7 +55,6 @@
* `B` multiple parts with one angled against origin "floats" in preview
* `B` re-add progress calls for all work units
* `B` disable support layer (top/bottom) offsets in belt mode
* `F` arrange should just align down Z. no side to side.
# CAM
@ -71,7 +70,6 @@
* `B` climb vs conventional not fully consistent after refactor
* `B` outside cutting direction in roughing mode inverted
* `F` add layout spacing preference
* `F` import SVG into a path that can be overlaid onto a 3D mesh (laser?)
* `F` intelligently turn circle hole pocket clear into spiral down
* `F` trace follow hole that matches endmill should turn into a drill op

View file

@ -46,7 +46,6 @@
platform = API.platform,
selection = API.selection,
proto = location.protocol,
root = "grid.space",
ver = Date.now().toString(36);
let currentDevice = null,
@ -1403,8 +1402,6 @@
function init_one() {
API.event.emit('init.one');
$('gsbox').src = `${proto}//${root}/kiri/gsbox.png?ver=${ver}`;
// ensure we have settings from last session
API.conf.restore();

View file

@ -101,8 +101,8 @@
retSpeed = process.outputRetractSpeed * 60; // range
retDwell = process.outputRetractDwell || 0; // range
timeDwell = retDwell / 1000;
nozzleTemp = process.outputTemp;
bedTemp = process.outputBedTemp;
nozzleTemp = process.outputTemp || process.firstLayerNozzleTemp;
bedTemp = process.outputBedTemp || process.firstLayerBedTemp;
fanSpeed = process.outputFanSpeed;
Object.assign(subst, {
temp_bed: bedTemp,