nebarnix / img2gco

Image to reprap gcode converter
GNU General Public License v3.0
56 stars 29 forks source link

Updates and mods. Added bidirectional engraving as well as grbl gcode #1

Open McNugget6750 opened 8 years ago

McNugget6750 commented 8 years ago

Hey, I loved this php code so much when I found it that I added bi-directional engraving as well as grbl compatibility. It should run on repraps as well but you may have to change the laser on and laser off commands. We could also make this configurable using a web-form and just add the desired commands to the web-interface instead of hardcoding everything. Anyways, this now does bi-directional engraving and it works like a charm! NEEDS TESTING!

Cheers and thanks for putting the original together!

nebarnix commented 8 years ago

Wow! Thanks for putting so much work into this! I can't wait to test it, after I return from business travel next week! I hope you don't mind if I leave this pull request dangling until then?

McNugget6750 commented 8 years ago

Sure! Like I said, it needs testing :) There might be a bug somewhere because running forward through the pixel lines to find the first non white pixel it was #1 and running backwards it was #0.... I fixed it and I couldn't make out any shifting in pixels every second line so I'm guessing it's not an issue. Images look very good. Next up is adding speed dependent engraving because running at the same speed with varying power does not result in darker areas where needed, only deeper engravings. Going slower at the darker spots helps burning the material if required.

onfoot commented 3 years ago

Hey. Traveler from the future here. In 2020 lasers on 3D printers seem to have become a thing again. Has anyone tested it yet? ;) I'm about to!

nebarnix commented 3 years ago

Haha! Good luck!! Quite a few people have used it over the years, which is a fun surprise :)

In fact the code even made it to the Arctic vault?!

On Mon, Dec 21, 2020, 1:39 PM Maciej Rutkowski notifications@github.com wrote:

Hey. Traveler from the future here. In 2020 lasers on 3D printers seem to have become a thing again. Has anyone tested it yet? ;) I'm about to!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nebarnix/img2gco/pull/1#issuecomment-749185535, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE5BRCAJAEOAKC4ZEGXJELSV6XALANCNFSM4CSHENEQ .

ByteHamster commented 3 years ago

Nice tool and nice PR! I'm interested in adding a few more features but I think it would be sad if everybody had to do improvements only for themselves in 20 different forks. @nebarnix I guess you are no longer interested in developing this tool, right? Would you mind giving me admin permissions for this repo? :) I plan to merge this PR (and add a switch for grbl vs reprap). I would also love to update the UI a bit (for example, a live preview of the grayscale image would be pretty nice).

Edit: In case you are interested, the current state looks like the following. You can try it out here: https://tools.bytehamster.com/img2gco

image