mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-22 21:47:59 +01:00
Fix error in slices to gcode
This commit is contained in:
parent
ef687769a1
commit
935e4eca98
@ -50,9 +50,10 @@ export default function slicesToGCode(slices, settings) {
|
|||||||
|
|
||||||
for (let i = 0; i < slice.parts.length; i ++) {
|
for (let i = 0; i < slice.parts.length; i ++) {
|
||||||
const part = slice.parts[i];
|
const part = slice.parts[i];
|
||||||
const outline = part.shell[0];
|
|
||||||
|
|
||||||
if (part.closed) {
|
if (part.closed) {
|
||||||
|
const outline = part.shell[0];
|
||||||
|
|
||||||
for (let i = 0; i < part.shell.length; i ++) {
|
for (let i = 0; i < part.shell.length; i ++) {
|
||||||
const shell = part.shell[i];
|
const shell = part.shell[i];
|
||||||
const isOuterShell = i === 0;
|
const isOuterShell = i === 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user