fix contour curvesOnly with threaded slicing. add booleans to codec

This commit is contained in:
Stewart Allen 2023-01-15 17:23:48 -05:00
commit 3f372e70aa
3 changed files with 8 additions and 4 deletions

View file

@ -133,7 +133,9 @@ class Topo {
const trace = this.trace = new Trace(probe, {
curvesOnly,
maxangle,
flatness
flatness,
bridge,
contourX
});
if (topo.raster) {
@ -472,7 +474,7 @@ class Trace {
constructor(probe, params) {
const { curvesOnly, maxangle, flatness } = params;
const { curvesOnly, maxangle, flatness, bridge, contourX } = params;
this.params = params;
this.probe = probe;
@ -559,7 +561,6 @@ class Trace {
if (minions && this.cross.concurrent) {
const { codec } = kiri;
minions.broadcast("trace_init", codec.encode({
probe: this.probe.params,
trace: this.params,