Skip to content

Commit

Permalink
Add writer call for explicit_trim
Browse files Browse the repository at this point in the history
  • Loading branch information
tatarize committed Oct 27, 2023
1 parent 769f23f commit 2224a2c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyembroidery/EmbPattern.py
Original file line number Diff line number Diff line change
Expand Up @@ -1612,6 +1612,11 @@ def write_embroidery(writer, pattern, stream, settings=None):
settings["thread_change_command"] = writer.THREAD_CHANGE_COMMAND
except AttributeError:
pass
if not ("explicit_trim" in settings):
try:
settings["explicit_trim"] = writer.EXPLICIT_TRIM
except AttributeError:
pass
if not ("translate" in settings):
try:
settings["translate"] = writer.TRANSLATE
Expand Down

0 comments on commit 2224a2c

Please sign in to comment.