mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-22 21:47:59 +01:00
Fix generate inner lines
Use correct number of shells
This commit is contained in:
parent
1ee1321859
commit
b62e3b5cb8
@ -32,7 +32,7 @@ export default function generateInnerLines(slices, settings) {
|
|||||||
if (outerLine.paths.length > 0) {
|
if (outerLine.paths.length > 0) {
|
||||||
part.outerLine.join(outerLine);
|
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 offset = shell * nozzleDiameter;
|
||||||
|
|
||||||
const innerLine = outerLine.offset(-offset, offsetOptions);
|
const innerLine = outerLine.offset(-offset, offsetOptions);
|
||||||
|
Loading…
Reference in New Issue
Block a user