@gridspace/raster-path 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/raster-worker.js +2 -2
- package/package.json +2 -2
package/build/raster-worker.js
CHANGED
|
@@ -2037,7 +2037,7 @@ async function generateRadialToolpaths({
|
|
|
2037
2037
|
if (!strip.positions || strip.positions.length === 0)
|
|
2038
2038
|
continue;
|
|
2039
2039
|
if (diagnostic && (globalStripIdx === 0 || globalStripIdx === 360)) {
|
|
2040
|
-
debug.log(`
|
|
2040
|
+
debug.log(`GLY1HF51 | Strip ${globalStripIdx} (${strip.angle.toFixed(1)}\xB0) INPUT terrain first 5 Z values: ${strip.positions.slice(0, 5).map((v) => v.toFixed(3)).join(",")}`);
|
|
2041
2041
|
}
|
|
2042
2042
|
const stripToolpathResult = await runToolpathComputeWithBuffers(
|
|
2043
2043
|
strip.positions,
|
|
@@ -2050,7 +2050,7 @@ async function generateRadialToolpaths({
|
|
|
2050
2050
|
pipelineStartTime
|
|
2051
2051
|
);
|
|
2052
2052
|
if (diagnostic && (globalStripIdx === 0 || globalStripIdx === 360)) {
|
|
2053
|
-
debug.log(`
|
|
2053
|
+
debug.log(`GLY1HF51 | Strip ${globalStripIdx} (${strip.angle.toFixed(1)}\xB0) OUTPUT toolpath first 5 Z values: ${stripToolpathResult.pathData.slice(0, 5).map((v) => v.toFixed(3)).join(",")}`);
|
|
2054
2054
|
}
|
|
2055
2055
|
allStripToolpaths.push({
|
|
2056
2056
|
angle: strip.angle,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gridspace/raster-path",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Terrain and Tool Raster Path Finder using WebGPU",
|
|
6
6
|
"type": "module",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"clean": "rm -rf build/",
|
|
34
34
|
"dev": "npm run build && npm run serve",
|
|
35
35
|
"serve": "npx serve build --config serve.json --listen 9090",
|
|
36
|
-
"publish": "npm publish --access public",
|
|
36
|
+
"publish:public": "npm publish --access public",
|
|
37
37
|
"test": "npm run test:planar && npm run test:radial",
|
|
38
38
|
"test:planar": "npm run build && npx electron src/test/planar-test.cjs",
|
|
39
39
|
"test:planar-tiling": "npm run build && npx electron src/test/planar-tiling-test.cjs",
|