Vectric DIRECT OUTPUT from Cut2D (and/or other Vectric programs) uses a secondary program ('VTransfer.exe') to 'jog' the CNC machine, set workspace home and manage the transfer of the automatically generated G-Code file to the CNC Machine/Controller.
When DIRECT OUTPUT is selected Cut2D writes the relevant G-Code into a file called 'VectricTransfer.dat' which is placed in the 'C:\Users\<user>\AppData\Local\Temp' directory . . . It then executes and passes control to a program called 'VTransfer.exe' which is normally installed in the directory 'C:\Program Files\VTransfer\x64'. This program automatically accesses 'VectricTransfer.dat' and manages its output to the CNC machine.
Once the job is completed 'VTransfer.exe' must be exited and terminated, at which point control is returned to Cut2D.If there are issues getting 'VTransfer' to work with a particular CNC Machine/Controller (or additional functionality such as probing is required), it is possible to substitute another program in place of 'VTransfer'
For example, if 'SourceRabbit Gcode Sender' (https://www.sourcerabbit.com/Downloads/
) has been installed and proven with the CNC Machine/Controller, then this could be substituted in place of 'VTransfer'.
To achieve this simply copy all of the files from the 'SourceRabbit Gcode Sender' installed directory (C:\Program Files\SR-GCodeSender) to the 'VTranfer' installed directory (C:\Program Files\VTransfer\x64) ... then rename 'VTransfer.exe' to 'VTransfer.exe.old' and rename 'SourceRabbit-GCode-Sender.exe' to 'VTransfer.exe'.
In order to get 'SourceRabbit Gcode Sender' to recognise and open the '.VectricTransfer.dat', the file 'SourceRabbit-GCODE-Sender.jar' file must be modified with a Hex Code Editor such as 'Hex Editor Neo' https://www.hhdsoftware.com/free-hex-editor
). Use the 'Find' function to locate the following text 'GCode Files (.nc, ggcode, .da
t' in the '.jar' file. Replace the text '.tap
' and the text 'tap
' immediately after it with '.dat
' and 'dat
' respectively to make it possible for 'SourceRabbit Gcode Sender' to be able to recognise and open files of type '.dat'.
Now, when DIRECT OUTPUT is selected in Cut2D, 'SourceRabbit Gcode Sender' will be executed in place of 'VTransfer'. Use 'SourceRabbit Gcode Sender' to set up the CNC Machine workspace, optionaly using a touch probe if you have one, and browse to the directory 'C:\Users\<user>\AppData\Local\Temp' and select the 'VectricTransfer.dat' to send to your CNC Machine/Controller..
I expect a similar approach could be adopted for other GCode senders ... this would allow users to select the GCode sender they prefer rather than be limited to using 'VTransfer' ... I would also propose that Vectric make the name/location of the GCode sender (and name/location/type of the 'VectricTransfer' file) configurable items in the Post Processor/Configuration file to make the option and implementation of this choice easy for users
I found it necessary to adopt this approach as, after implementing a wirelesss bluetooth serial connection between my PC and CNC Controller, 'VTransfer' would no longer find or recognise my CNC Machine/Controller ... the wireless bluetooth serial connection allows me to locate my laptop 5m-10m away from my CNC Machine and move it around as required without the hassle and risk of cables between it and the CNC Machine.