checkpoint extracting probing from topo

This commit is contained in:
Stewart Allen 2023-01-14 11:35:07 -05:00
commit 14d7d06cf4
3 changed files with 145 additions and 45 deletions

View file

@ -127,7 +127,12 @@ class Tool {
}
}
this.profile = toolOffset;
// convert to shared array for use with minions
const profile = new Float32Array(new SharedArrayBuffer(toolOffset.length * 4));
profile.set(toolOffset);
this.profile = profile;
this.profileDim = {
size: shaft_diameter,
pix: profile_pix_iter + 2