tomvandeneede / p2pp

Palette2/3 Post Processing tool for Prusa Slicer
143 stars 39 forks source link

P2PP Generated .mcfx files lead to error "ENOENT" #191

Open 5hiftyy opened 5 months ago

5hiftyy commented 5 months ago

I'm working on setting up my Ender 3 (Biqu H2 hotend, Klipper) with a Palette 3 Pro. I've tried PrusaSlicer 2.7.1 and 2.6.1 with P2PP 9.01.05 and 9.01.04, and followed the documents Here probably three times through. However, I have two errors I believe I'm running into.

The first, is the .mcfx file that P2PP generates, always produces the "ENOENT" error on the P3P. There's zero documentation on this error from Mosaic, either. I can only find one other reference to the error, and that's a Facebook post that no one replied to, so I'm kid of stuck.

image

I then went and tried generating a file through Canvas, and the P3P fired right up. This leads me to believe there is an issue somewhere in the P2PP export post-process that's wrong, but I can't figure out what, as the slicing completes without issue or warning.

The second, is I'm trying to figure out how to run my printer with Klipper with the P3P in accessory mode. It won't accept the .mcfx file as a .gcode substitute, (at least not the ones I'm currently generating) and P2PP only generates one file; the .mcfx, and no .gcode file for the printer, despite the ;P2PP ACCESSORYMODE_MAFX modifier in my start GCODE.

Speaking of which, here is the entirety of my P2PP start Gcode:

;P2PP PALETTE3_PRO ;P2PP P3_PROCESSPREHEAT ;P2PP P3_UPLOADFILE ;P2PP P3_HOSTNAME=192.168.0.77 ;P2PP PRINTERPROFILE=39b434ce2de5b3e57229fad939839952 ;P2PP LINEARPINGLENGTH=350 ;P2PP SPLICEOFFSET=30 ;P2PP MINSTARTSPLICE=130 ;P2PP MINSPLICE=90 ;P2PP ABSOLUTEEXTRUDER ;P2PP MATERIAL_DEFAULT_2_2_3 ;P2PP MATERIAL_PLA_PLA_4_2_3 ;P2PP MATERIAL_ABS_ABS_6_2_4 ;P2PP MATERIAL_PLA1_PLA2_2_2_3 ;P2PP MATERIAL_PLA2_PLA1_2_2_3 ;P2PP MATERIAL_PET_PET_3_2_4 ;P2PP EXTRAENDFILAMENT=150 ;P2PP CHECKVERSION ;P2PP ACCESSORYMODE_MAFX ;P2PP P3_SHOWPRINTERPAGE ;P2PP P3_ROTATEINTERFACE ;P2PP KLIPPER_TOOLCHANGE :P2PP SAVEUNPROCESSED :P2PP CONFIGEND

The files are also only 55KB in size, where I'm used to much larger .gcode files, so I'm wondering if P2PP is outputting any information at all?

5hiftyy commented 5 months ago

Debug.zip

Processed and Unprocessed files here.

5hiftyy commented 5 months ago

I found what was causing the issue. When I was exporting the files from PrusaSlicer, I had the export option "Save As Type" set to "G-code Files (.mcfx, .gcode, ...)" I changed that to "G-Code Files (*.gcode)" and got P2PP to open, process, and upload the file to the P3P, as well as exporting a Gcode file to upload to the printer.

However, two more issues have popped up: The first colour prints at 5mm/s until the print gets to the purge tower. Once the print gets to the purge tower, however, it runs into an error "move exceeds maximum extrusion" and Klipper cancels the print.

I've double-checked my start/end GCODES in Klipper to make sure it doesn't have a relative/absolute conflict with P2PP, but I can't find anything obvious. Investigation continues tomorrow.

tomvandeneede commented 5 months ago

I’ll try to take a look asap

On 11 Feb 2024, at 07:04, 5hiftyy @.***> wrote:

I found what was causing the issue. When I was exporting the files from PrusaSlicer, I had the export option "Save As Type" set to "G-code Files (*.mcfx, .gcode, ...)" I changed that to "G-Code Files (.gcode)" and got P2PP to open, process, and upload the file to the P3P, as well as exporting a Gcode file to upload to the printer.

However, two more issues have popped up: The first colour prints at 5mm/s until the print gets to the purge tower. Once the print gets to the purge tower, however, it runs into an error "move exceeds maximum extrusion" and Klipper cancels the print.

I've double-checked my start/end GCODES in Klipper to make sure it doesn't have a relative/absolute conflict with P2PP, but I can't find anything obvious. Investigation continues tomorrow.

— Reply to this email directly, view it on GitHub https://github.com/tomvandeneede/p2pp/issues/191#issuecomment-1937441611, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK6CHJOM2277ZMX3DIUXY6LYTBNNZAVCNFSM6AAAAABDCNNCSWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZXGQ2DCNRRGE. You are receiving this because you are subscribed to this thread.