remove overlap setting

This commit is contained in:
casperlamboo 2017-07-27 12:42:14 +02:00
parent ccc88bdb77
commit bcfbe99579
2 changed files with 2 additions and 10 deletions

View File

@ -35,7 +35,6 @@ innerLine:
fill:
flowRate: 1.0
speed: 50.0
overlap: 0.0
gridSize: 5.0
brim:
flowRate: 1.0

View File

@ -8,8 +8,7 @@ export default function generateInfills(slices, settings) {
fill: { gridSize: fillGridSize },
bottom: { thickness: bottomThickness },
top: { thickness: topThickness },
nozzleDiameter,
fill: { overlap: infillOverlap }
nozzleDiameter
} = settings;
fillGridSize /= PRECISION;
@ -47,13 +46,7 @@ export default function generateInfills(slices, settings) {
let lowFillArea;
let highFillArea;
if (surroundingLayer) {
highFillArea = fillArea.difference(surroundingLayer);
if (infillOverlap > 0) {
highFillArea = highFillArea.offset(infillOverlap);
}
highFillArea = highFillArea.intersect(fillArea);
highFillArea = fillArea.difference(surroundingLayer).intersect(fillArea);
lowFillArea = fillArea.difference(highFillArea);
} else {
highFillArea = fillArea;