Running RDWorks on Linux

posted in: Laser cutting | 0

As a matter of interest, I thought I’d see if I could use the RDWorks laser cutter control program on Linux, even though its a WIndows only application.

Linux add-in called WINE ( https://www.winehq.org/ ) that allows Windows exe’s to be run under Linux.
However when I tried to install RDWorks using WINE I initially got a load of error messages which implied that loads of RDWorks DLL’s were missing or could not be located.

I initially thought this was because RDWorks had to run in a specific location, but after movingit to various places on my machine, I found the error messages were a red herring, and the problem was that WINE did not have one of the core Microsoft DLL files.

The fix for this was to install something called “Wine Tricks” https://wiki.winehq.org/Winetricks and use it to install the missing DLL.
MFC42.DLL

With this installed, The RDWorks installer will actually run and install RDWorks under Linux

However you do not install the USB driver, as the FT232 driver is already installed on most Linux installations.

Once installed RDWorks does run, but with one strange quirk; the vertical scaling in the design window is incorrect, and you initially get a bed shape that is very tall and narrow.

So I changed settings for page setting, and 900 x 400 looks good on screen. This setting isnt really important to the laser cutter its self, as its completely ignored even my RDWorks, as you can edit and cut objects outside of the bounds of the laser cutter (as defined in the setup)

One thing I have not managed to get working yet is the USB transfer to the laser cutter.
I think the issue is the mapping of the FT232 serial device on Linux to the COM port that RDWorks requires
The solution is probably that I need to map / link the systems’ serial port to the Wine serial port as described here
http://g8ogj.org/files/Using%20USB%20se … %20ipb.pdf

But I have not had time to test this yet.

An easier option is probably to transfer by LAN, as this works well under Windows and its likely to work on Linux.

Leave a Reply