-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Hi,
i really love the plugin functionallity but i have some troubles when using it with octoprint and klipper.
But since Klipper now supports the exclude objects itself it would be great if you could implement the needed commands for this.
This would mean CancelObject plugin doesnt need to do any gcode removal / editing, just sending the right command:
EXCLUDE_OBJECT [NAME=object_name]
as Gcode output to klipper. Klipper will handle all the processing itself.
While the Fuildd and Mainsail webinterfaces for klipper already support this feature, for octoprint there is currently no plugin that just forwards the needed command based on clicks on the gcode viewer. Since click on object on gcode viewer is already implemented, I would guess that adding the klipper functionallity would be an easy addition :)
From a quick search i found out what command fluidd internally uses to set a object as excluded:
https://github.com/fluidd-core/fluidd/blob/ff50e72b17089f702b23f212d4895c4e57e5d7f1/src/components/widgets/exclude-objects/ExcludeObjectsDialog.vue#L76
From the Klipper documentation there also seems not much that has to be considered:
https://www.klipper3d.org/Exclude_Object.html
I hope that you will still be able to take a look at it, even if you don't use Klipper on your own machines :)