Embroidermodder / Embroidermodder

Free machine embroidery software supporting a variety of formats.
https://www.libembroidery.org
Other
522 stars 142 forks source link

Application not saving files #30

Closed EvanRijn closed 10 years ago

EvanRijn commented 10 years ago

Hi,

I'm trying to save the files, but the files are 'empty'

Just with letters.

Can i debug this in any way ?

Kind regards, Erik

Contents of erik.dst LA:Untitled
ST: 2 CO: 0 +X: 0 -X: 0 +Y: 0 -Y: 0 AX:+ 0 AY:+ 0 MX:+ 0 MY:+ 0 PD:** 

redteam316 commented 10 years ago

@EvrijnSD, I just pushed a commit that temporarily fixes this, but it is not perfect because it misses stitches and does not jump stitch where it should. Depending on what format you try to save the file as currently depends on what is saved. This is somewhat dependant on another issue I am working on currently trying to move duplicated code into libembroidery.

If you look at object-save.cpp, everything is an object initially. Only objects that are transformed into polylines are saved as stitches. There will be some changes going into libembroidery to make this easier in the future that just aren't in place quite yet.

redteam316 commented 10 years ago

@EvrijnSD, Grab the latest version and let me know if it works for you. There have been all kinds of bugfixes and improvements that have happened since and I would like to close this issue.

redteam316 commented 10 years ago

@EvrijnSD, I'm closing this. Please open another issue if needed.