mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-22 05:37:55 +01:00
fix mapping to object
This commit is contained in:
parent
8313982342
commit
1434006f95
@ -8,7 +8,7 @@ export default function calculateLayersIntersections(lines, settings) {
|
|||||||
|
|
||||||
const numLayers = Math.floor((dimensionsZ - Z_OFFSET) / layerHeight);
|
const numLayers = Math.floor((dimensionsZ - Z_OFFSET) / layerHeight);
|
||||||
|
|
||||||
const layerPoints = Array.from(Array(numLayers)).map(() => {});
|
const layerPoints = Array.from(Array(numLayers)).map(() => ({}));
|
||||||
const layerFaceIndexes = Array.from(Array(numLayers)).map(() => []);
|
const layerFaceIndexes = Array.from(Array(numLayers)).map(() => []);
|
||||||
|
|
||||||
for (let lineIndex = 0; lineIndex < lines.length; lineIndex ++) {
|
for (let lineIndex = 0; lineIndex < lines.length; lineIndex ++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user