mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-12-23 19:43:48 +01:00
use default dimensionsZ name
This commit is contained in:
parent
9d828e3fda
commit
c8150c3bf7
@ -3,9 +3,9 @@ import THREE from 'three.js';
|
|||||||
export default function calculateLayersIntersections(lines, settings) {
|
export default function calculateLayersIntersections(lines, settings) {
|
||||||
console.log('calculating layer intersections');
|
console.log('calculating layer intersections');
|
||||||
|
|
||||||
const { layerHeight, dimensionsZ: height } = settings.config;
|
const { layerHeight, dimensionsZ } = settings.config;
|
||||||
|
|
||||||
const numLayers = Math.floor(height / layerHeight);
|
const numLayers = Math.floor(dimensionsZ / layerHeight);
|
||||||
|
|
||||||
const layerIntersectionIndexes = [];
|
const layerIntersectionIndexes = [];
|
||||||
const layerIntersectionPoints = [];
|
const layerIntersectionPoints = [];
|
||||||
|
Loading…
Reference in New Issue
Block a user