Fix generate inner lines

Use correct number of shells
This commit is contained in:
casperlamboo 2017-07-25 14:19:26 +02:00
parent 1ee1321859
commit b62e3b5cb8

View File

@ -32,7 +32,7 @@ export default function generateInnerLines(slices, settings) {
if (outerLine.paths.length > 0) {
part.outerLine.join(outerLine);
for (let shell = 1; shell < shells; shell += 1) {
for (let shell = 1; shell <= shells; shell += 1) {
const offset = shell * nozzleDiameter;
const innerLine = outerLine.offset(-offset, offsetOptions);