mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-26 07:24:57 +01:00
remove overlap setting
This commit is contained in:
parent
ccc88bdb77
commit
bcfbe99579
@ -35,7 +35,6 @@ innerLine:
|
||||
fill:
|
||||
flowRate: 1.0
|
||||
speed: 50.0
|
||||
overlap: 0.0
|
||||
gridSize: 5.0
|
||||
brim:
|
||||
flowRate: 1.0
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user