Skip to content

Commit

Permalink
Update FastGyroidInfill.py
Browse files Browse the repository at this point in the history
A possible fix for the issue I have open "Dupplicating an item in cura, for each layers, the first infill is slower than the others" : RomRider#4
  • Loading branch information
themaskedbear authored Dec 29, 2021
1 parent 8ddbb37 commit bbc403c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cura/FastGyroidInfill.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ def execute(self, data):
if line.startswith(";TYPE:FILL"):
lines.insert(lineIndex + 1, GCODE_INFILL_SQV)
inInfill = True
elif (line.startswith(";TYPE") or line.startswith(";MESH:") or line.startswith(";LAYER:")) and inInfill:
elif (line.startswith(";TYPE") or line.startswith(";LAYER:")) and inInfill:
lines.insert(lineIndex + 1, GCODE_NORMAL_SQV)
inInfill = False

data[layerIndex] = "\n".join(lines)

return data
return data

0 comments on commit bbc403c

Please sign in to comment.