Skip to content

factor out park_nozzle#1075

Open
schiele wants to merge 1 commit intoVoronDesign:mainfrom
schiele:park_nozzle
Open

factor out park_nozzle#1075
schiele wants to merge 1 commit intoVoronDesign:mainfrom
schiele:park_nozzle

Conversation

@schiele
Copy link
Contributor

@schiele schiele commented Feb 18, 2026

This factors out the final positioning of the nozzle over the bucket into a separate macro park_nozzle. Sometimes it is desired to park the nozzle over the bucket without scrubbing the nozzle, for instance when there is a risk that the nozzle might ooze some filament when pausing a print.

This also refactors the calculation of the y position into a single place of calculation instead of calculating it multiple times inside the macro.

Which mods are added by this PR?

This slightly refactors the orphaned nozzle_scrub macros in the way described above.

How was it tested?

I tested this code in my Voron 2.4r2 printer, which has the purge bucket and nozzle scrubber installed.

Any background context you want to provide?

Nothing more than what is said above already.

Screenshots (if appropriate)

Code change only.

⚠️⚠️PLEASE READ AND COMPLETE THE CHECKLIST BELOW⚠️⚠️

  • I have read the rules available here and
    my mod adheres to these rules.
  • This mod was created by myself and I agree to publish it under the repository
    license

This factors out the final positioning of the nozzle over the bucket
into a separate macro park_nozzle.  Sometimes it is desired to park the
nozzle over the bucket without scrubbing the nozzle, for instance when
there is a risk that the nozzle might ooze some filament when pausing a
print.

This also refactors the calculation of the y position into a single
place of calculation instead of calculating it multiple times inside the
macro.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments