Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse flush multiplier and adjust flush matrix accordingly to match Orca and Bambu requested purge volumes #524

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

igiannakas
Copy link
Contributor

@igiannakas igiannakas commented Nov 18, 2024

As I was experimenting with Blobifier I noticed that the purge matrix was not changing as the flush multiplier was increased or decreased in Orca slicer as I was trying to validate this Orca slicer PR I've raised here: SoftFever/OrcaSlicer#7508

For example:
Multiplier of 1.2
image
Gcode file:
image

Multiplier of 0.5
image

Gcode file:
image

This results in an incorrect purge matrix being sent to the blobifier for use when purging that does not match the intended action from the user in the UI. Instead the purge matrix is always as if 1.0 multiplier was set in the UI.

This happens because both Orca and Bambu generate a base purge matrix and a separate multiplier and they output both to the gcode for use by Happy Hare etc. To calculate the effective purge volume, these two values need to be multiplied so they match the user intent.

This PR proposes to parse the flush multiplier and apply it to the purge matrix before use in the placeholder variables.

Results:
For example, now with a 0.5 multiplier the purge volumes correspond to what the UI displays
image

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