continue cam driver refactor splitting out gcode export

This commit is contained in:
Stewart Allen 2020-11-05 15:25:27 -05:00
commit 5c0490314b
6 changed files with 474 additions and 465 deletions

View file

@ -12,6 +12,14 @@
PRO = CAM.process,
newPoint = BASE.newPoint;
/**
* DRIVER PRINT CONTRACT
*
* @param {Object} print state object
* @param {Function} update incremental callback
* @param {Number} [index] into widget array
* @param {Object} [firstPoint] starting point
*/
CAM.printSetup = function(print, update, index, firstPoint) {
let widgetIndex = index || 0,
widgetArray = print.widgets,