Add spaces to boundsMin & boundsMax

This commit is contained in:
Ravi Riley 2023-03-31 02:19:07 -07:00
parent 217c699587
commit e6e38eb533

View File

@ -118,8 +118,8 @@ function parseBinaryResult(stl) {
}
}
var boundsMin = `[${minx.toFixed(3)},${miny.toFixed(3)},${minz.toFixed(3)}]`;
var boundsMax = `[${maxx.toFixed(3)},${maxy.toFixed(3)},${maxz.toFixed(3)}]`;
var boundsMin = `[${minx.toFixed(3)}, ${miny.toFixed(3)}, ${minz.toFixed(3)}]`;
var boundsMax = `[${maxx.toFixed(3)}, ${maxy.toFixed(3)}, ${maxz.toFixed(3)}]`;
saveResult(vertices, triangles, boundsMin, boundsMax);
}
@ -194,8 +194,8 @@ function parseAsciiResult(stl) {
}
}
var boundsMin = `[${minx.toFixed(3)},${miny.toFixed(3)},${minz.toFixed(3)}]`;
var boundsMax = `[${maxx.toFixed(3)},${maxy.toFixed(3)},${maxz.toFixed(3)}]`;
var boundsMin = `[${minx.toFixed(3)}, ${miny.toFixed(3)}, ${minz.toFixed(3)}]`;
var boundsMax = `[${maxx.toFixed(3)}, ${maxy.toFixed(3)}, ${maxz.toFixed(3)}]`;
saveResult(vertices, triangles, boundsMin, boundsMax);
}
}