|
|
| Line 1: |
Line 1: |
| == Hacking RDWorks == | | == Ordibooth == |
|
| |
|
| RDWorks is a proprietary program which uses a proprietary format to save projects as .rld files. These files themselves are not sent to the laser controller as-is, they are first converted to a .rd file, which is an RDCAM format, also proprietary. The RDCAM file is read by the laser controller, which is the case of Noisebridge's KaiTan CM-1309 is the [http://en.rd-acs.com/prod_view.aspx?TypeId=50097&Id=160&FId=t3:50097:3 RDC6442G] controller.
| | === CHDK === |
| | http://chdk.wikia.com/wiki/CHDK_1.4.0_User_Manual |
|
| |
|
| While it would be great to hack the .rld format, so far I have only found a decoder for the .rd format. The .rd files are scrambled, but here is a tool which unscrambles them:
| | Download using STICK: |
|
| |
|
| [https://github.com/kkaempf/ruida ruida]
| | Remote Pameters, enable remote |
|
| |
|
| Note [https://www.cnczone.com/forums/archive/index.php/t-330952.html here]:
| | [[File:enable_remote.png]] |
|
| |
|
| == How to dump '.rd' file ==
| | http://chdk.wikia.com/wiki/USB_Remote |
| | |
| To dump a .rd file, use the 'SaveToUFile" button. Note this screenshot shows the model selection, which is only useful if you are using a locally installed copy of RDWorks. The laser machine is already set up.
| |
| | |
| [[File:Rdworks-screen.png|x640px]]
| |
| | |
| == How to decode a '.rd.' file ==
| |
| Use the decode command '/bin/decode <filename>':
| |
| | |
| [[File: Ruida-decode.png|x640px]]
| |
| | |
| This outputs a human readable command on the left and the actual commands sent to the laser controller on the right.
| |
| | |
| The ruida project linked above gives a key for the commands.
| |
| | |
| == Opening a '.rd' file ==
| |
| An '.rd' file cannot be opened in RDWorks directly, but can be viewed in the 'Preview' screen.
| |
| | |
| [[File: Rdworks-screen-preview.png|x640px]]
| |
| | |
| In the preview screen, double click on the preview area, the black background.
| |
| | |
| [[File: Rdworks-preview.png|x640px]]
| |
| | |
| This will pop-up a dialog to select a file.
| |
| | |
| [[File: Rdworks-preview-dialog.png|x640px]]
| |
| | |
| == Loading '.rd' files onto the laser ==
| |
| The easiest way is to use a USB key, plug it into the laser, and load from the controller.
| |
| | |
| == Automation ==
| |
| The codes for the laser controller are not generic, the controller do not understand G-code for example. In order to interface with the controller, the controller specific commands must be used.
| |
| | |
| One approach would be to attempt to use a different controller which can use G-code or equivalent. This of course could damage the laser.
| |
| | |
| A second is to map the commands 1:1 from G-code to RDCAM. The ruida project above provides a partial mapping, and if completed may be sufficient to fully map the two formats. Fundamentally each command does not depend on the state of the machine: turn the laser off will always turn it off, even if the laser is already off. move to (X, Y) will always move the laser to the point (X, Y), regardless of where it was previously.
| |
| | |
| | |
| == Application ==
| |
| The only useful application I can think of so far is to automating the creation of test patterns where we want many different cut speeds and power. Currently the laser is limited to 8 in any one design. By automatically generating files that change these settings, a much better example tiling can be created without a lot of work from the designer.
| |