-
-
Notifications
You must be signed in to change notification settings - Fork 434
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
Exclude Region #359
Comments
hey there @lar3ry! the option to exclude regions of gcode has been in talks since day one of the gCode preview. so the cancel object / cancel area feature is in the pipeline, but we have no ETA for it yet! |
Hi, there has been a lot of work being done for this feature outside of Fluid for a while now. Moonraker has already merged its part of the workflow. A pull requrest for Klipper is is open and near approval. As a member of a group working on this feature, I've been working out of a personal fluidd branch with a functional implementation. As soon as I get some of the Klipper changes moving along, I'll be creating a pull request with my changes. I don't think my Fluidd changes are ready as is. I'm more of a back end developer. The UX could use some help, but the logic is solid. I've been using my changes since last fall with no issues. I would have posted them earlier, but with the unfortunate state of Fluidd dev for a while, I didn't make it a priority. But now that things are up and running again, I'll get it to you as soon as possible. For those interested, Klipper, obviously, takes care of the low-level functionality. There is a preprocessor in Moonraker that takes uploaded gcode files and tweaks them based on the slicer dialect so there is a uniform structure for Klipper that is not slicer dependent. For a UI like fluidd, it gets all the information needed from the Klipper status. Although I'm drawing the part outlines on the above mentioned gcode previewer, that is not necessary for this to function, nor are there any changes needed to Fluidd's gcode parser. |
waiting for upstream: Klipper3d/klipper#4716 |
Looks like the klipper functionality was merged yesterday. Looking forward to having this integrated into Fluidd. |
@troy-jacobson Hey, I just looked at your UI implementation and it looks very promising! Just wondering what the current state of it is? I'm happy to help with refactoring it a bit if that's still needed :) |
I've been testing @troy-jacobson branch changes (thank you, btw!!) with the latest Klipper and Moonraker, and this seems to work very well!! Might need some minor fixes and code reformatting, but overall it should be fine to get this over the line! 😁 |
Hey @kageurufu, I just noticed you said (in Klipper3d/klipper#5413 (comment)) that Troy was busy and you had Fluidd code you are going to submit. Is this still the plan? Big fan of this feature and would love to have this land in 1.19. Happy to help if it still needs a bit of refactoring. Big thanks for your work! |
@matmen I can take a look later this week when a little free time comes up, but if you want to take a look the code is somewhere between https://github.com/kageurufu/fluidd/tree/work-cancel-object and https://github.com/troy-jacobson/fluidd/tree/work-cancel-object. I'm not sure who's more up to date |
@kageurufu Hey, thanks for the reply. I've gone ahead and made the changes compatible with current |
@kageurufu Any news yet? We would love to land this in 1.19, which is scheduled for this sunday. Just need either your approval so we can merge this, or you to create your own PR (probably easier license and sign-off wise) 😉 Let me know if you have any questions or need help with anything |
Ooh my bad. I'll create a PR if it makes the licensing easier :) |
Hi everyone, sorry for being kind of absent on this. I forgot these changes were out there. Kageurufu's repo has a better change of being up-to-date since I've been running the same version for months now and my last attempt to merge didn't go well. I can dust things off to help if needed. If either of you have a branch or pull request ready to go, I'd be more than happy to add whatever sign-offs are needed. My main "concern" is with usability. I didn't come up with a good way to point a user to how to use the UI to cancel an object. I just kind of knew how to do it. Otherwise, its been working without issues for a long time now. |
I'm working on a rebased branch, then i'll do another branch with it squashed for the PR |
@troy-jacobson @kageurufu thank you both for your help with this! 🙂 |
Sorry to poke in a completed issue but would anyone be up to extending the functionality to regions, not just objects? That way big prints would also be covered (for the several cases you can recover most of the single-object print & fix it later) Thanks for your time! |
@jlsjonas there is no work done to add Regions Exclusion, but it is something we would be interested in integrating, yes! 🙂 |
@pedrolamas I already peeked at the klipper code for excluding objects and it seems to luckily be implemented in a way that should allow us to reuse it for regions |
@jlsjonas I think there is a fairly good chance that the current code could support regions in a straightforward way, but the success would be dependent on what gcode the various slicers generate on each side of the transitions. There may need to be some limitations, such as not crossing a boundary while extruding. Also, I think there would be some interesting work needed on the various UIs to generate decent region coordinates to pass to klipper and possibly check that region is compatible with any limitations there may be. Feel free to drop me an email or DM in discord and we can chat. |
Same, if you want to open a discord chat, feel free to add kageurufu#9003,
or ping us both in the Voron server (#klipper channel probably). I've got
some rough draft of exclude object v2 already, that skips through excluded
sections of the gcode directly to limit overhead
… Message ID: ***@***.***>
|
Thank you for using fluidd!
Nono! Thank YOU for all your hard work!
Is your feature request related to a problem? Please describe.
The main plugin I miss from my Octoprint/Klipper days is the "exclude region" one.
Describe the solution you'd like:
I'd like to see it implemented as part of the GCode Preview box,.
Describe alternatives you've considered:
There are no alternatives that I know of.
Affected users and/or setups:
Users that have ever had a print consisting of many objects, and had one get messed up, will love you for it.
The text was updated successfully, but these errors were encountered: