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

Anyone knows if there is a C implementation of this tool? #8

Open
cakuba opened this issue Dec 31, 2018 · 4 comments
Open

Anyone knows if there is a C implementation of this tool? #8

cakuba opened this issue Dec 31, 2018 · 4 comments

Comments

@cakuba
Copy link

cakuba commented Dec 31, 2018

Great tool to decode RD file... and wondering if there is any C implementation of this tool? Thanks.

@jnweiger
Copy link
Contributor

jnweiger commented Dec 31, 2018

Not that we know of. The decoder exists in Ruby, encoder implementations exist in Java and Python (https://github.com/jnweiger/ruida-laser/tree/master/src)

@cakuba
Copy link
Author

cakuba commented Jan 2, 2019

Thanks for the quick response. I'm actually wondering where this software of Rdworks comes from... since we have observed that some of those laser-cutting softwares surprisingly follow the same protocol when communicating with the device. Any hint?

@tatarize
Copy link

Also, if you're writing something to decode RD files in general keep in mind the magic number for the 634XG is 0x11 and not 0x88. So if you're reading parsing an .rd file and the first byte of the file which is a command isn't above 0x80 you should xor the magic number by 0x99, and redo that byte. That way you can decode them in either form.

@tatarize
Copy link

And I mapped out all the commands and properties.

https://edutechwiki.unige.ch/en/Ruida

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

3 participants