add cooling control. remove accelcomp

This commit is contained in:
Stewart Allen 2018-01-03 07:39:55 -05:00
commit 2cf90ac77c
4 changed files with 7 additions and 18 deletions

View file

@ -442,8 +442,8 @@ var gs_kiri_fdm = exports;
}
// second layer fan on
if (layer === 1 && fan_power) {
append(constReplace(fan_power,consts));
if (layer === 1 && fan_power && process.outputCooling) {
append(constReplace(fan_power, consts));
}
// move Z to layer height