mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
commit
aafe38aa16
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class CreateThumbnail(Script):
|
||||||
|
|
||||||
encoded_snapshot_length = len(encoded_snapshot)
|
encoded_snapshot_length = len(encoded_snapshot)
|
||||||
gcode.append(";")
|
gcode.append(";")
|
||||||
gcode.append("; thumbnail begin {} {} {}".format(
|
gcode.append("; thumbnail begin {}x{} {}".format(
|
||||||
width, height, encoded_snapshot_length))
|
width, height, encoded_snapshot_length))
|
||||||
|
|
||||||
chunks = ["; {}".format(encoded_snapshot[i:i+chunk_size])
|
chunks = ["; {}".format(encoded_snapshot[i:i+chunk_size])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue