kopia lustrzana https://github.com/inkstitch/inkstitch
rodzic
d2805f23de
commit
b1ffd8ad92
|
@ -63,7 +63,8 @@ def write_embroidery_file(file_path, stitch_plan, svg, settings={}):
|
||||||
pattern = pyembroidery.EmbPattern()
|
pattern = pyembroidery.EmbPattern()
|
||||||
|
|
||||||
# For later use when writing .dst header title field.
|
# For later use when writing .dst header title field.
|
||||||
pattern.extras['name'] = os.path.splitext(os.path.basename(file_path))[0]
|
svg_docname = svg.root.attrib['{http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd}docname']
|
||||||
|
pattern.extras['name'] = os.path.splitext(os.path.basename(svg_docname))[0]
|
||||||
|
|
||||||
stitch = Stitch(0, 0)
|
stitch = Stitch(0, 0)
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue