allow fdm driver override of extrusion calcs

This commit is contained in:
Stewart Allen 2022-11-13 10:50:29 -05:00
commit e96670bb05
3 changed files with 26 additions and 11 deletions

View file

@ -128,10 +128,6 @@ class Print {
return output.last().point;
}
extrudePerMM(noz, fil, slice) {
return ((Math.PI * util.sqr(noz / 2)) / (Math.PI * util.sqr(fil / 2))) * (slice / noz);
}
constReplace(str, consts, start, pad, short) {
let cs = str.indexOf("{", start || 0),
ce = str.indexOf("}", cs),