mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-12-31 23:33:48 +01:00
remove weird code
This commit is contained in:
parent
4dc5e4849e
commit
7906bfe43d
@ -62,11 +62,11 @@ export default function slicesToGCode(slices, settings) {
|
||||
|
||||
const unRetract = isOuterShell;
|
||||
const profile = isOuterShell ? profiles.outerShell : profiles.innerShell;
|
||||
pathToGCode(outline, combing && true, gcode, shell, false, unRetract, z, profile);
|
||||
pathToGCode(outline, combing, gcode, shell, false, unRetract, z, profile);
|
||||
}
|
||||
|
||||
pathToGCode(outline, combing && true, gcode, part.outerFill, false, false, z, profiles.outerInfill);
|
||||
pathToGCode(outline, combing && true, gcode, part.innerFill, true, false, z, profiles.innerInfill);
|
||||
pathToGCode(outline, combing, gcode, part.outerFill, false, false, z, profiles.outerInfill);
|
||||
pathToGCode(outline, combing, gcode, part.innerFill, true, false, z, profiles.innerInfill);
|
||||
} else {
|
||||
const retract = !(slice.parts.length === 1 && typeof slice.support === 'undefined');
|
||||
pathToGCode(null, false, gcode, part.shape, retract, retract, z, profiles.outerShell);
|
||||
|
Loading…
Reference in New Issue
Block a user