0
0
mirror of https://github.com/Doodle3D/Doodle3D-Slicer.git synced 2025-06-04 06:44:28 +02:00
This commit is contained in:
casperlamboo 2018-01-16 18:52:08 +01:00
parent f20f5b95b8
commit e1d833d4f3

@ -18,6 +18,9 @@ export default function generateInfills(slices, settings) {
const bidirectionalInfill = infillPercentage < 0.8;
const infillGridSize = nozzleDiameter * (bidirectionalInfill ? 2 : 1) / infillPercentage;
const bottomSkinCount = Math.ceil(bottomThickness / layerHeight);
const topSkinCount = Math.ceil(topThickness / layerHeight);
const nozzleRadius = nozzleDiameter / 2;
const outerFillTemplateSize = Math.sqrt(2 * Math.pow(nozzleDiameter, 2));