OrcaSlicer icon indicating copy to clipboard operation
OrcaSlicer copied to clipboard

Feature: Retract amount after wipe

Open valerii-bokhan opened this issue 3 months ago • 23 comments

Description

Hopefully, it will fix #3150.

Note: This feature helps me a lot to fix the stringing I have when I use the eSUN PLA+ filament. I have no such issues with, for example, SUNLU PLA+ 2.0, but this filament doesn't have the features I need, so I decided to continue with eSUN PLA+ and fix the issue via code. It's not a must-have feature, but sometimes it can be beneficial. Depends on a filament.

The retract_after_wipe setting was added, along with minor naming fixes in Wipe::calculateWipeRetractionLengths and around.

The BBS still contains a hack in the wipe code that also existed in Orca, but it was reverted 2 years ago. Then the issue #3150 was created.

This hack allows a retraction of only 95% of the planned retraction length during a wipe, leaving the last 5% as a standard retraction action.

Basically, my change adds a separate setting for Retract amount after wipe to let users decide for themselves if they need it.

It gives better control. For example, if needed, retraction during the wipe can be skipped entirely, and the set amount of filament will be retracted afterward, etc.

Screenshots

image image image image

Data validation:

retract_after_wipe_data_validation

Tests

In my case, I managed to decrease the wipe distance from 2mm to 0.2mm, resulting in clean seams and cleaner delicate/fine parts of the models.

image image

More test photos will be posted later in the comments.

valerii-bokhan avatar Oct 11 '25 15:10 valerii-bokhan