add control over decimal rounding with SCALE gcode header directive
This commit is contained in:
parent
0b320bc1e1
commit
ebd4de2a5a
1 changed files with 1 additions and 0 deletions
|
|
@ -332,6 +332,7 @@ CAM.export = function(print, online) {
|
|||
if (map.X) scale.x = map.X;
|
||||
if (map.Y) scale.y = map.Y;
|
||||
if (map.Z) scale.z = map.Z;
|
||||
if (map.DEC !== undefined) decimals = parseInt(map.DEC);
|
||||
console.log('scaling axes', scale);
|
||||
} catch (e) {
|
||||
console.log('malformed scale directive', line);
|
||||
|
|
|
|||
Loading…
Reference in a new issue