add tweaks api for output line precision and gcode decimal places

This commit is contained in:
Stewart Allen 2020-09-14 09:43:34 -04:00
commit f108dfd701
8 changed files with 58 additions and 9 deletions

View file

@ -1831,7 +1831,7 @@
units = settings.controller.units === 'in' ? 25.4 : 1,
maxZd = spro.camFastFeedZ * units,
maxXYd = spro.camFastFeed * units,
decimals = 4,
decimals = BASE.config.gcode_decimals || 4,
pos = { x:null, y:null, z:null, f:null, t:null },
line,
cidx,