Git Product home page Git Product logo

Comments (9)

stephanschulz avatar stephanschulz commented on June 24, 2024

I am only a user of PE (not developer) but with a much simpler machine than yours. On my Janome I need to cut those jump threads by hand, which is easy since they are only attached on start and end points.

from pembroider.

golanlevin avatar golanlevin commented on June 24, 2024

Sorry about the inconvenience. We have not had access to higher-end machines with e.g. automatic trimming features in order to test our library. I would guess that thread trimming is probably an "unimplemented feature" in PEmbroider, i.e. a place where our code is unfinished. There may be special jump codes that can be added to DST files in order to properly trigger the trimmer. We can have a look into this, but would be unable to test without your assistance.
One way you could help would be to process the DST file through your preferred software until it correctly trims the thread. Then we (well... @LingDong-) could do a bytewise diff to identify the magic codes.

from pembroider.

ddnnggmm avatar ddnnggmm commented on June 24, 2024

Thanks for your input, Stephan. I snipped the threads, but the remaining thread isn't fixed to the fabric and starts to come loose with just a little movement of the fabric. This was especially noticeable on the single-line lettering, less so for the larger shapes.

from pembroider.

ddnnggmm avatar ddnnggmm commented on June 24, 2024

Hi Golan! I'd be happy to help you test this. So I have PEmbroider export a DST, open it in PE Design, resave it as a DST, test that the threads are trimmed, and send to you if it works?

from pembroider.

golanlevin avatar golanlevin commented on June 24, 2024

@ddnnggmm If I understand you correctly, we have a special command to help with the thread-coming-loose. Please check out the repeatEnd() command described here: #28.

Regarding the testing: YES, that would be the procedure, thank you for your generosity in helping us test. Please make sure the design is as simple and as minimal as possible, so that any changes in the file are easy to spot. Then upload both files (before/after) here, and we'll try to figure it out.

from pembroider.

ddnnggmm avatar ddnnggmm commented on June 24, 2024

@golanlevin , PE Design reports "There is no sewing data" when I try to import the PEmbroider-generated DST. :-/ Running it through that online embroider converter produced a file that still had the jump stitches. I'd be happy to try other options you suggest.

Tried repeatEnd() but The function repeatEnd(int) does not exist. Do I need to compile the library from source?

from pembroider.

LingDong- avatar LingDong- commented on June 24, 2024

Hi @ddnnggmm ,
cc @golanlevin

The correct functions are beginRepeatEnd(int) and endRepeatEnd(). There's an example here: https://github.com/CreativeInquiry/PEmbroider/blob/master/examples/PEmbroider_ruler/PEmbroider_ruler.pde

The DST format does support jumps, so I just added the feature to the encoder: f99966a

Before this commit, jumps were already encoded when the distance between two stitches is too far, and DST cannot hold the offset value in one byte. So this commit only affects shorter jumps, which were previously ignored.

However I don't have the hardware to confirm.

Please let me know if there're any issues, thank you very much!

from pembroider.

ddnnggmm avatar ddnnggmm commented on June 24, 2024

Thanks, @LingDong-, I'll give beginRepeatEnd() a shot. But do I understand that it only works for lines? It wouldn't cover, for example, the jumps in the cursive script that I showed in my screenshot above?

Is the DST update something I can test for you?

from pembroider.

ddnnggmm avatar ddnnggmm commented on June 24, 2024

Hi @LingDong- and @golanlevin, I got around to trying a few things. Three things to report back.

  1. Whatever @LingDong- did with the DST updates, PE Design 10 could now import a PEmbroider-generated DST without complaint. I then re-exported it as a DST, and am attaching that file here. However, when I embroidered that file there was no change in behaviour from before. It still stitched between shapes.

ruler20201027_resavedInPE.DST.zip

  1. The PEmbroider-generated DST could not be opened by our Brother PR1050X. The display rendered a correct preview, but when I tried to import it, it produced the error

Cannot recognize the data for the selected pattern. The data may be corrupted.

So there's something it doesn't like in the file.

  1. I tried embroidering the standard PEmbroider_ruler sketch, and the machine did not do any of the double-stitched repeatEnds that it was supposed to, either when it was fed a .PES, or when it was fed a .DST that had been resaved by PE Design.

from pembroider.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.