kopia lustrzana https://github.com/EmbroidePy/pyembroidery
Trim loads have no displacement.
rodzic
a2b79180a3
commit
abaca51112
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
|
@ -66,12 +66,14 @@ def read_sunstar_dat_stitches(f, out):
|
|||
out.move(x, y)
|
||||
continue
|
||||
if ctrl == 0x80:
|
||||
out.trim(x, y)
|
||||
out.trim()
|
||||
if x != 0 or y != 0:
|
||||
out.move(x, y)
|
||||
continue
|
||||
if ctrl == 0x87:
|
||||
out.color_change()
|
||||
if x != 0 or y != 0:
|
||||
out.stitch(x, y)
|
||||
out.move(x, y)
|
||||
continue
|
||||
if ctrl == 0x84: # Initialized info.
|
||||
out.stitch(x, y)
|
||||
|
|
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
|
@ -81,7 +81,7 @@ class EmbPattern:
|
|||
except KeyError:
|
||||
color = thread["rgb"]
|
||||
if isinstance(color, int):
|
||||
thread_object.color = thread["color"]
|
||||
thread_object.color = color
|
||||
elif isinstance(color, str):
|
||||
if color == "random":
|
||||
thread_object.color = 0xFF000000 | random.randint(0, 0xFFFFFF)
|
||||
|
|
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
|
@ -151,7 +151,8 @@ def read_pec_stitches(f, out):
|
|||
if jump:
|
||||
out.move(x, y)
|
||||
elif trim:
|
||||
out.trim(x, y)
|
||||
out.trim()
|
||||
out.move(x, y)
|
||||
else:
|
||||
out.stitch(x, y)
|
||||
out.end()
|
||||
|
|
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Ładowanie…
Reference in New Issue