mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-12-23 11:33:49 +01:00
syntax
This commit is contained in:
parent
f20f5b95b8
commit
e1d833d4f3
@ -18,6 +18,9 @@ export default function generateInfills(slices, settings) {
|
|||||||
|
|
||||||
const bidirectionalInfill = infillPercentage < 0.8;
|
const bidirectionalInfill = infillPercentage < 0.8;
|
||||||
const infillGridSize = nozzleDiameter * (bidirectionalInfill ? 2 : 1) / infillPercentage;
|
const infillGridSize = nozzleDiameter * (bidirectionalInfill ? 2 : 1) / infillPercentage;
|
||||||
|
|
||||||
|
const bottomSkinCount = Math.ceil(bottomThickness / layerHeight);
|
||||||
|
const topSkinCount = Math.ceil(topThickness / layerHeight);
|
||||||
const nozzleRadius = nozzleDiameter / 2;
|
const nozzleRadius = nozzleDiameter / 2;
|
||||||
const outerFillTemplateSize = Math.sqrt(2 * Math.pow(nozzleDiameter, 2));
|
const outerFillTemplateSize = Math.sqrt(2 * Math.pow(nozzleDiameter, 2));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user