Kriechi / Cura-DuetRRFPlugin

Cura plugin to print directly to a DuetRRF printer
GNU Affero General Public License v3.0
39 stars 10 forks source link

Print command adds extra quotations (Duet v0.8.5) #28

Closed reneurossance closed 4 years ago

reneurossance commented 4 years ago

We have a Fusion3 F400-S which is running on a Duet v.0.8.5 board. I am able to connect to the the machine via Cura and DuetRRFPlugin and upload files. However, if I attempt to print the file I get an error that it is unable to find the file. I can see the file in "0:/gcodes/" from within Duet Web Control and I can print it from there successfully. The only potential issue I can identify is that the missing file name in the error is double quoted.

I am wondering if extra quotes are being added preventing it from successfully printing directly from within Cura via DuetRRFPlugin.

Expected behavior When pressing the "Print on Fusion3 F400-S" button the file should be uploaded and the print started.

Version Information

Cura Log

Kriechi commented 4 years ago

@reneurossance you conveniently left out the most important information: whats your RRF version running on the Duet0.8.5? I suspect its one of the older pre-1.20 series? I haven't tested those in a long time...

There is the following entry in the RRF 1.20 changelog:

String parameters (e.g. filenames) can optionally be enclosed in double quote characters, in all GCode commands for which double quote characters are not compulsory

What happens if you open Duet Web Control and type this into the Console command prompt: M32 "0:/gcodes/test.gcode"

reneurossance commented 4 years ago

My bad. Still new to this. I've denoted the RRF version below.

When I run the M32 command I get the following error:

M32 "0:/GCODES/TEST.GCODE" GCode file ""0:/GCODES/TEST.GCODE"" not found Failed to open file "0:/GCODES/TEST.GCODE"

reneurossance commented 4 years ago

The following works without quotes: M32 0:/GCODES/TEST.GCODE File 0:/GCODES/TEST.GCODE selected for printing

Kriechi commented 4 years ago

@reneurossance thanks for providing the info! Unfortunately there are a few issues: it looks like your printer came with a custom RepRapFirmware (not the official build), and even worse: it's from 2017. I don't think I can or want to support such old firmwares...

I could try implementing a fix for the quotes, but I'm certain there will be other incompatibilities along the line which would result in a big mess...

Does your printer vendor provide a new firmware that you could upgrade to? Do you know which custom changes FusionWare implemented, maybe you can upgrade to the official RRF versions?

reneurossance commented 4 years ago

Thank you for your time, efforts, and thoughts. I am reaching out to Fusion3 (https://www.fusion3design.com) to see what they might be able to do or if they have any updated firmware but in the past their statement has been that they only support Simply3D and are unable to assist further, so, we'll see.