8 Commits

Author SHA1 Message Date
Jelle Spijker
dead016ed9 Add error messages to BackendPlugin and enhance exception handling
Exception handling in BackendPlugin has been improved by adding
user-friendly error messages for various exceptions. Errors during
backend plugin start or stop will now trigger a message to the user,
providing more context about the cause of the failure. This makes it
easier for users to understand and resolve possible issues. In addition,
 the EngineBackend stop function has been modified to forcibly stop all
 running backend plugins instead of allowing multiple plugins to run
 simultaneously.
2023-08-10 05:56:24 +02:00
Casper Lamboo
4f2b038a59
Use "PLUGIN" as default appender_type 2023-08-03 13:04:14 +02:00
Remco Burema
4c82098745 Backend-plugins don't have to register separately for extra setting-defs.
Also they now have their own appender-type (previously it was _always_ 'PLUGIN', now the other plugins are 'EXTRA').

part of CURA-10722
2023-07-28 15:13:48 +02:00
Remco Burema
7c810eeca8 Ease of use; each backend-plugin can now provide additional settings.
Any overriding cals that does so, should just add 'self.definition_file_paths' to load their additional settings. However, at the moment of this commit, you should still suppy setting_definitions_appender in the list of __init__.register for the plugin.

part of CURA-10722
2023-07-28 14:52:56 +02:00
Jelle Spijker
982ba7e36b
Add log statement when starting plugin
Revert =

Contributes CURA-10475 and CURA-10625
2023-07-18 11:17:15 +02:00
Jelle Spijker
289b71cd9f
Use common cmdline practices for named args
Contributes CURA-10475 and CURA-10625
2023-07-18 11:11:27 +02:00
Jaime van Kessel
3037320b03
Send slotID's for backend_plugins
CURA-10717
2023-07-11 15:18:52 +02:00
Jaime van Kessel
f3bc7bf28a
Move backend plugin logic to Cura from Uranium
I was running into abstraction issues when it was defined in Uranium.
Instead of trying to fight those, it's just easier to move it to Cura

CURA-10717
2023-07-11 11:24:28 +02:00