Ultimaker / Cura

3D printer / slicing GUI built on top of the Uranium framework
GNU Lesser General Public License v3.0
6.09k stars 2.06k forks source link

Cura ignores Retraction and Z Hop Settings #19444

Open jseiffert14 opened 2 months ago

jseiffert14 commented 2 months ago

Cura Version

5.7.1

Operating System

Windows 10

Printer

RatRig V-Core 3 (Klipper)

Reproduction steps

Hi, I want to print a part with two different extruders. In the Travel settings, I set the Retraction Distance and Z-Hop for each extruder (see pictures attached). Extruder 4 (T3) is the main extruder. Extruder 3 (T2) is the second extruder used. When I slice the part, Cura outputs a G-Code file, but always uses the retraction settings for the main extruder used (see G-Code file attached). Settings-main-extruder Settings-second-extruder G-Code retraction

Actual results

Cura ignores the extruder specific settings and always uses the settings for the "main" extruder, which was selected to print the part. If features (like infill or walls) are printed with a different extruder, Cura still uses the settings of the first/main extruder. That's actually quite dangerous, as wrong settings can lead to damage and malfunction. I attached all the pictures, G-Code file and project file in the *.zip file.

Expected results

Cura should use the settings, which can be set in the respective extruder-specific settings. I don't understand why it is possible to adjust all the settings for each extruder and then they're ignored. Am I doing something wrong ?

Add your .zip and screenshots here ⬇️

Cura-RetractionBug.zip

GregValiant commented 2 months ago

Thanks for the report. This looks like a bug to me as well. Changing the project to involve T0 and T1 yields the same erroneous results. The same condition exists with a UM S7 as the active printer. @jseiffert14 the gcode file you provided does not seem to have been created from the project file you provided. That makes for a confusing situation. Please provide matched project and gcode files.

I sliced with 5.8beta.

@HellAholic and the Cura team will take a look.

Cura settings: ;Extruder 3 (T2): ; Retraction Enabled........................: True ; Retraction at Layer Change................: False ; Retraction Distance.......................: 10 mm ; Retraction Retract Speed..................: 10.0 mm/sec ; Retraction Prime Speed....................: 10.0 mm/sec ; Retraction Extra Prime Amount.............: 0 mm³

;Extruder 4 (T3): ; Retraction Enabled........................: True ; Retraction at Layer Change................: False ; Retraction Distance.......................: 6.5 mm ; Retraction Retract Speed..................: 45.0 mm/sec ; Retraction Prime Speed....................: 25.0 mm/sec ; Retraction Extra Prime Amount.............: 5.5mm³

HellAholic commented 2 months ago

The Gcode you're highlighting is for the retraction during nozzle switch: image image

This is an example with travel retraction set to 60 and nozzle switch retraction set to 16. image

jseiffert14 commented 2 months ago

Hi,

thanks for the quick answers. Here's the correct G-Code file and the corresponding project file. Sorry for uploading a G-Code file sliced with a slightly different profile. @HellAholic you're right, I showed a wrong part of the G-Code. The bug is still there though. I attached a better screenshot below. It seems that the nozzle change retraction distance is used according to each extruder, but the travel retraction settings are ignored. Hope that helps to clarify the issue here.

G-Code retraction_T2 Cura BugV2.zip

HellAholic commented 2 months ago

Added a ticket of investigation. Internal Cura reference: CURA-12065