From 26bf00ccc05f9c54ddd24f5fc952299a450c948f Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Mon, 10 Jul 2023 13:25:29 +0200 Subject: [PATCH] Add backend_plugin messages to proto file CURA-10717 --- plugins/CuraEngineBackend/Cura.proto | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/plugins/CuraEngineBackend/Cura.proto b/plugins/CuraEngineBackend/Cura.proto index b420a6ecc2..ef12ab6d6f 100644 --- a/plugins/CuraEngineBackend/Cura.proto +++ b/plugins/CuraEngineBackend/Cura.proto @@ -8,12 +8,26 @@ message ObjectList repeated Setting settings = 2; // meshgroup settings (for one-at-a-time printing) } +enum SlotID { + SIMPLIFY = 0; + POSTPROCESS = 1; +} + +message EnginePlugin +{ + SlotID id = 1; + optional string address = 2; + optional uint32 port = 3; +} + message Slice { repeated ObjectList object_lists = 1; // The meshgroups to be printed one after another SettingList global_settings = 2; // The global settings used for the whole print job repeated Extruder extruders = 3; // The settings sent to each extruder object repeated SettingExtruder limit_to_extruder = 4; // From which stack the setting would inherit if not defined per object + + repeated EnginePlugin engine_plugins = 5; } message Extruder