optimize verticesToPoints when not decimating (no hash). make slice async for future minion work

This commit is contained in:
Stewart Allen 2023-01-14 18:22:41 -05:00
commit 14c4338534
4 changed files with 41 additions and 26 deletions

View file

@ -59,8 +59,7 @@ CAM.slice = async function(settings, widget, onupdate, ondone) {
unsafe = proc.camExpertFast,
units = settings.controller.units === 'in' ? 25.4 : 1,
axisRotation,
axisIndex,
thruHoles;
axisIndex;
if (tabs) {
// make tab polygons