This commit is contained in:
casperlamboo 2018-01-16 18:52:08 +01:00
parent f20f5b95b8
commit e1d833d4f3

View File

@ -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));