ruida icon indicating copy to clipboard operation
ruida copied to clipboard

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

Open cakuba opened this issue 7 years ago • 4 comments

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

cakuba avatar Dec 31 '18 07:12 cakuba

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)

jnweiger avatar Dec 31 '18 18:12 jnweiger

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?

cakuba avatar Jan 02 '19 04:01 cakuba

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 avatar May 27 '20 13:05 tatarize

And I mapped out all the commands and properties.

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

tatarize avatar May 29 '20 00:05 tatarize