Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with running CLI / batch SVG file processing #29

Closed
andszwabe opened this issue Oct 25, 2022 · 5 comments
Closed

Problems with running CLI / batch SVG file processing #29

andszwabe opened this issue Oct 25, 2022 · 5 comments

Comments

@andszwabe
Copy link

Hey Sameer!
Your tool seems to be perfect for what I need in the project, but I need to use it on a larger batch of SVG files (3000), and to do so I need to figure out the CLI use. Unfortunately I can't get it to work - the details are in my question on StackOverflow (https://stackoverflow.com/questions/74193515/svg2gcode-generator-for-laser-cutting-in-rust-how-to-use-it-for-batch-svg-p )
I would be very much thankful for Your answear!
Cheers,
Andrew

@sameer
Copy link
Owner

sameer commented Oct 26, 2022

Hi andszwabe,

If it's easier for you, the web UI can do bulk processing: https://sameer.github.io/svg2gcode/

For the CLI, the usage notes should explain how to use it -- cargo run --release -- --help

@sameer
Copy link
Owner

sameer commented Oct 26, 2022

@andszwabe you can email me at s a m e e r AT purisa.me and I can help you set up bulk processing, if that would be helpful

@andszwabe
Copy link
Author

@sameer thank You for the answer!

  1. Indeed,(the web tool) now it works for batches! For some reason bulk processing didn't work when I tried it couple of times before, it picked just one file for exporting (I was on a Mac then but I don't think it matters - right?)
  2. For now I will assume that it will be enough for me and probably for the others to just use the web tool or to make their own solution for bulk processing in CLI, I have no real programming skills so this would be very difficult task for me now, but for others probably not.
    If I had any further problems I will write You an email not to clutter this post, thank You for Your offer!
    Andrew

@sameer
Copy link
Owner

sameer commented Oct 26, 2022

it picked just one file for exporting (I was on a Mac then but I don't think it matters - right?)

There might be some browser limitation...I can look into making the bulk processing download a ZIP file. How does that sound?

@andszwabe
Copy link
Author

it picked just one file for exporting (I was on a Mac then but I don't think it matters - right?)

There might be some browser limitation...I can look into making the bulk processing download a ZIP file. How does that sound?

@sameer That would be awesome! I tried it yesterday on Chrome / Windows and it processed about 80 files out of the 3000 I uploaded, and they were picked out of order too, so maybe that will tell You something about the problem... anyway - thank You for making this, Your tool will probably make my project a reality :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants