mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-26 15:34:57 +01:00
remove overlap setting
This commit is contained in:
parent
ccc88bdb77
commit
bcfbe99579
@ -35,7 +35,6 @@ innerLine:
|
|||||||
fill:
|
fill:
|
||||||
flowRate: 1.0
|
flowRate: 1.0
|
||||||
speed: 50.0
|
speed: 50.0
|
||||||
overlap: 0.0
|
|
||||||
gridSize: 5.0
|
gridSize: 5.0
|
||||||
brim:
|
brim:
|
||||||
flowRate: 1.0
|
flowRate: 1.0
|
||||||
|
@ -8,8 +8,7 @@ export default function generateInfills(slices, settings) {
|
|||||||
fill: { gridSize: fillGridSize },
|
fill: { gridSize: fillGridSize },
|
||||||
bottom: { thickness: bottomThickness },
|
bottom: { thickness: bottomThickness },
|
||||||
top: { thickness: topThickness },
|
top: { thickness: topThickness },
|
||||||
nozzleDiameter,
|
nozzleDiameter
|
||||||
fill: { overlap: infillOverlap }
|
|
||||||
} = settings;
|
} = settings;
|
||||||
|
|
||||||
fillGridSize /= PRECISION;
|
fillGridSize /= PRECISION;
|
||||||
@ -47,13 +46,7 @@ export default function generateInfills(slices, settings) {
|
|||||||
let lowFillArea;
|
let lowFillArea;
|
||||||
let highFillArea;
|
let highFillArea;
|
||||||
if (surroundingLayer) {
|
if (surroundingLayer) {
|
||||||
highFillArea = fillArea.difference(surroundingLayer);
|
highFillArea = fillArea.difference(surroundingLayer).intersect(fillArea);
|
||||||
|
|
||||||
if (infillOverlap > 0) {
|
|
||||||
highFillArea = highFillArea.offset(infillOverlap);
|
|
||||||
}
|
|
||||||
|
|
||||||
highFillArea = highFillArea.intersect(fillArea);
|
|
||||||
lowFillArea = fillArea.difference(highFillArea);
|
lowFillArea = fillArea.difference(highFillArea);
|
||||||
} else {
|
} else {
|
||||||
highFillArea = fillArea;
|
highFillArea = fillArea;
|
||||||
|
Loading…
Reference in New Issue
Block a user