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

Add LOCATION option to VORON_PURGE. #231

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

cdheiser
Copy link

@cdheiser cdheiser commented Jan 6, 2024

Permissible values are:

  • LEFT or FRONT_LEFT (the default and historical location)
  • RIGHT or FRONT_RIGHT (to the right front of the print)
  • REAR_LEFT
  • REAR_RIGHT

New variables have been added to KAMP_Settings.cfg to tell the macro the max X and Y locations for a purge.

This is incredibly useful for IDEX and multi-toolhead printers as each extruder can use a different location to purge.

Permissible values are:
  - LEFT or FRONT_LEFT (the default and historical location)
  - RIGHT or FRONT_RIGHT (to the right front of the print)
  - REAR_LEFT
  - REAR_RIGHT

New variables have been added to KAMP_Settings.cfg to tell the macro the max X and Y locations for a purge.

This is incredibly useful for IDEX and multi-toolhead printers as each extruder can use a different location to purge.
@kyleisah
Copy link
Owner

This sounds kind of neat, but something I'm worried about is it may cause some confusion for people who have it currently installed. Updating via moonraker doesn't update the KAMP_Settings file outside of the KAMP folder so they may not even be aware of the feature.

It also breaks if they're aware of the feature, but haven't updated the KAMP settings file.

I think max_x and max_y can be pulled from the printer config file. printer.configfile.settings.stepper_x.position_max or something like that.

@cdheiser
Copy link
Author

cdheiser commented Feb 23, 2024 via email

- Defaults for max_x and max_y are set to -1, preventing accidental usage with incorrect values
- Macro now also recognizes when a user has upgraded KAMP but failed to add the new config options
@cdheiser
Copy link
Author

I've updated the PR with tweaks so users MUST set proper values for max_x and max_y and the macro has defaults that prevent the use of a location without the appropriate configuration variable defined.

@santiagomoneta
Copy link

I noticed that the location of the purge don't take the brim into account and I see it tries to do the brim ON TOP of the purge line

@cdheiser
Copy link
Author

cdheiser commented Apr 20, 2024 via email

@cdheiser
Copy link
Author

Bump... any more thoughts on this? It's been working great and also doesn't cause any issues for existing users that update.

@kyleisah
Copy link
Owner

Bump... any more thoughts on this? It's been working great and also doesn't cause any issues for existing users that update.

Hey there, appreciate you checking in. Unfortunately the repo is currently on a bit of a hold until I figure out a direction to go from here. Adaptive meshing is in mainline klipper now, and the adaptive purging is still well loved, which I why I don't want to touch anything until I have a solid plan. I appreciate the work you've put in, don't get me wrong.

I'm currently noodling with some refactoring of the adaptive purging. Something that will really cook. I have big plans, it's just gonna take some work and time.

I've been working on learning python for scripting, rather than be stuck with klipper macros.

When I get something that is intuitive enough and packaged neatly, I'll be ready to update the repo. Are you by any chance on Discord? Feel free to DM me, my discord user ID is: 704121656460705944. Would be happy to share what I've been working on there.

@kyleisah
Copy link
Owner

Actually, I guess it shouldn't be a secret. Here's what I'm working on:
Slicer Handled Voron Purge
The gif is terrbile quality, but I've been working on a python script that will take some variables you enter (much like KAMP_Settings.cfg) and translates it into slicer gcode so you can visualize the purge right on your buildplate. It actually works even better than KAMP's current purging. No more brim/skirt collision, purge towers are accounted for, etc. It's amazing.

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.

3 participants