kopia lustrzana https://github.com/inkstitch/inkstitch
Set pattern.extras['name'] for .dst header
rodzic
31fbdf521b
commit
d2805f23de
|
@ -63,7 +63,7 @@ def write_embroidery_file(file_path, stitch_plan, svg, settings={}):
|
|||
pattern = pyembroidery.EmbPattern()
|
||||
|
||||
# For later use when writing .dst header title field.
|
||||
pattern.extras['filename'] = os.path.splitext(os.path.basename(file_path))[0]
|
||||
pattern.extras['name'] = os.path.splitext(os.path.basename(file_path))[0]
|
||||
|
||||
stitch = Stitch(0, 0)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue