Skip to content

Commit d52b213

Browse files
authored
Merge pull request #108 from EmbroidePy/1.4.26
Aspect ratio set.
2 parents ac43e71 + ec5bf85 commit d52b213

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pyembroidery/PmvWriter.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,9 @@ def write_length_lookup_table(f, length_range):
102102
write_values = [(0, 0), (10, 71), (20, 143), (40, 214), (60, 286), (80, 357),
103103
(100, 429), (120, 500), (140, 571), (160, 714), (180, 786), (200, 857),
104104
(250, 1000), (300, 1286), (350, 1429), (400, 1571), (450, 1786), (500, 2000)]
105-
write_int_8(f, 12) # (250, 1000)
105+
106106
steps = len(write_values)
107+
write_int_8(f, steps-1) # (500, 2000)
107108
write_int_8(f, steps)
108109
for value in write_values:
109110
length_at_step = value[0]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="pyembroidery",
8-
version="1.4.25",
8+
version="1.4.26",
99
author="Tatarize",
1010
author_email="[email protected]",
1111
description="Embroidery IO library",

0 commit comments

Comments
 (0)