move path utilities out of print

This commit is contained in:
Stewart Allen 2022-02-17 00:36:17 -05:00
commit 36d3f6b0b6
4 changed files with 118 additions and 109 deletions

View file

@ -7,10 +7,10 @@
let KIRI = self.kiri,
BASE = self.base,
POLY = BASE.polygons,
UTIL = BASE.util,
PATH = BASE.path,
CAM = KIRI.driver.CAM,
PRO = CAM.process,
newPoint = BASE.newPoint;
{ newPoint } = BASE,
{ tip2tipEmit, poly2polyEmit } = PATH;
/**
* DRIVER PRINT CONTRACT
@ -103,8 +103,6 @@
spindle = 0,
spindleMax = device.spindleMax,
addOutput = print.addOutput,
tip2tipEmit = print.tip2tipEmit,
poly2polyEmit = print.poly2polyEmit,
maxToolDiam = widget.maxToolDiam,
terrain = widget.terrain ? widget.terrain.map(data => {
return {