fix topo4 and linear lathe with workers

This commit is contained in:
Stewart Allen 2025-07-12 19:11:39 -04:00
commit f314e3b40c
4 changed files with 31 additions and 16 deletions

View file

@ -2,7 +2,7 @@
import { CamOp } from './op.js';
import { Tool } from './tool.js';
import { Topo4 } from './topo4.js';
import { generate as topo4_generate } from './topo4.js';
import { newPoint } from '../../../geo/point.js';
function createFilter(op) {
@ -39,7 +39,7 @@ class OpLathe extends CamOp {
let { addSlices } = state;
let filter = createFilter(op);
this.topo = await Topo4({
this.topo = await topo4_generate({
op,
state,
onupdate: (pct, msg) => {