Open evanreierson opened 2 months ago
It appears that the first stitch in a pattern and the first stitch after a move is not written to the output. I am new to machine embroidery-- is this expected?
move
For example,
import pyembroidery as pyemb def stitch_square (pattern): #pattern.stitch(0, 0) pattern.stitch(0, 10) pattern.stitch(10, 0) pattern.stitch(0, -10) pattern.stitch(-10, 0) pattern = pyemb.EmbPattern() stitch_square(pattern) pattern.move(20, 0) stitch_square(pattern) pattern.end() pyemb.write(pattern, "example.png")
Produces this:
However, when pattern.stitch(0,0) is un-commented at the beginning of stitch_square, the output is as I expect it:
pattern.stitch(0,0)
stitch_square
I see the same behavior when writing to different outputs (I have tried .exp and .dst) and using a 3rd-party renderer.
.exp
.dst
Thank you!
It appears that the first stitch in a pattern and the first stitch after a
move
is not written to the output. I am new to machine embroidery-- is this expected?For example,
Produces this:![image](https://github.com/EmbroidePy/pyembroidery/assets/31623887/a5f7d0be-0555-4d62-8490-0cda4a92a775)
However, when![image](https://github.com/EmbroidePy/pyembroidery/assets/31623887/201a7261-67ac-4a38-82c0-31ee87741e40)
pattern.stitch(0,0)
is un-commented at the beginning ofstitch_square
, the output is as I expect it:I see the same behavior when writing to different outputs (I have tried
.exp
and.dst
) and using a 3rd-party renderer.Thank you!