9434 Commits

Author SHA1 Message Date
c.lamboo
ffe6447244 Merge branch 'CURA-10475_engineplugin' into CURA-10446_modify_gcode_path 2023-08-28 10:43:37 +02:00
c.lamboo
2ffcfa37e9 Merge branch 'main' into CURA-10475_engineplugin 2023-08-28 10:42:23 +02:00
Erwan MATHIEU
281e543255 Remove exported file after fail
CURA-10180
2023-08-25 11:27:54 +02:00
c.lamboo
1f6c096bf7 Don't omit printers in printer list
Since the message is now scrollable we can do this :)
2023-08-22 16:42:34 +02:00
Jelle Spijker
037a462c97
Merge branch 'CURA-10475_engineplugin' into CURA-10446_modify_gcode_path 2023-08-21 14:05:43 +02:00
Jelle Spijker
e2584ad741
Merge branch 'main' into CURA-10446_modify_gcode_path 2023-08-19 19:46:44 +02:00
jellespijker
023f2f6e0f Merge remote-tracking branch 'origin/main' into CURA-10475_engineplugin 2023-08-17 00:16:32 +02:00
MariMakes
596b3930b6 Align Licences to LGPLv3
As discussed in https://github.com/Ultimaker/Cura/issues/15731, we should align these licences under the LGPLv3 because they fall under the Cura umbrella.
2023-08-15 14:01:22 +02:00
Jelle Spijker
f634a5bd44 Send over plugin name and version
Might be needed during the handshake between engine and plugin

Contributes to CURA-10619
2023-08-15 11:27:15 +02:00
c.lamboo
c1acfee5f1 Merge branch 'CURA-10475_engineplugin' into CURA-10446_modify_gcode_path 2023-08-11 15:08:59 +02:00
c.lamboo
0667230055 Merge branch 'main' into CURA-10475_engineplugin 2023-08-11 10:20:11 +02:00
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
Jelle Spijker
2240db9062
Add GCodePathsModify
Contributes CURA-10446
2023-08-07 16:04:25 +02:00
c.lamboo
f8b3fb3d67 Move parse/write responsibility of copy/paste to 3MFWriter/3MFReader
CURA-7913
2023-08-07 13:41:01 +02:00
Jelle Spijker
c6fb3fe59c
Merge branch 'main' into CURA-10475_engineplugin 2023-08-07 09:05:15 +02:00
Remco Burema
b1100cb4c5 Relevant comment specifically requests not to call closeApplication in most cases.
done as a 5 min fix.
2023-08-04 15:53:52 +02:00
Remco Burema
401e1eca6a
Merge pull request #16296 from Ultimaker/CURA-10719_show_missing_plugins
Show install missing packages button in open workspace dialog for plugins
2023-08-04 10:43:12 +02:00
c.lamboo
83d35ccd8b Use pytest fixtures
CURA-10719
2023-08-02 14:46:37 +02:00
c.lamboo
c436dd36cf Add unit test
CURA-10719
2023-08-02 14:03:55 +02:00
Jelle Spijker
f9d4eb9554
Sync Cura.proto with other repo's
Contributes CURA-10475
2023-08-01 07:47:22 +02:00
Casper Lamboo
9b6abf80d7
Capitalize first word of comment comment
CURA-10719

Co-authored-by: Jaime van Kessel <nallath@gmail.com>
2023-07-31 17:10:06 +02:00
Casper Lamboo
e3d482514b
Use camelCase for python function definition
CURA-10719

Co-authored-by: Jaime van Kessel <nallath@gmail.com>
2023-07-31 17:09:27 +02:00
Casper Lamboo
b1797111d5
Update message id to properly reflect action
CURA-10719
2023-07-31 17:06:58 +02:00
c.lamboo
31cb11ce63 Update more copies
CURA-10719
2023-07-27 10:31:38 +02:00
c.lamboo
0e77a05c74 Correctly differentiate between plugins and materials in missing packages dialog
CURA-10719
2023-07-27 10:15:27 +02:00
c.lamboo
42002dac36 Update copy
Now more then just materials can be installed. Update copy to reflect this.

CURA-10719
2023-07-27 10:14:43 +02:00
c.lamboo
a1f02154f1 Add used backend plugins to 3mf metadata
These are appended to project metadata. A warning can now be shown to the user when trying to load a project file while the correct plugins are not installed. These missing plugins can concequently be downloaded from the marketplace. To show the warning and install missing package dialog the same system we use to install missing materials is used.

CURA-10719
2023-07-27 09:02:28 +02:00
c.lamboo
c15a53d349 Merge branch 'main' into CURA-10475_engineplugin 2023-07-26 16:58:20 +02:00
Casper Lamboo
7e2fc1ac5b
Update plugins/Marketplace/RemotePackageList.py 2023-07-25 13:29:22 +02:00
Casper Lamboo
8c54d44cbb
Apply suggestions from code review 2023-07-25 13:27:08 +02:00
HellAholic
afc0f7c615 Update to add sort_by option
Added a class attribute "last_updated" for sort_by
Added an instance attribute for search_sort
Added if statement to add the sort_by string, currently by default.
2023-07-25 13:11:43 +02:00
Jelle Spijker
56b8205ce0 Revert "Fix wrong licenses"
This reverts commit 8b8e96429339f7543c7cd0f50c710a3539b74258.
2023-07-23 17:48:11 +02:00
MariMakes
8b8e964293 Fix wrong licenses
These seem to be wrong by accident. Let's update them to reflect the rest of Cura which falls under the LGPLv3 or higher.
2023-07-21 11:34:02 +02:00
Jelle Spijker
3713207040
Merge branch 'main' into CURA-10475_engineplugin 2023-07-18 08:12:00 +02:00
Jaime van Kessel
9d72cc6aca
Update logging for autodetect baudrate 2023-07-14 11:45:04 +02:00
Jaime van Kessel
f5785cf235
Add serialport logging to autobaudjob 2023-07-14 11:42:44 +02:00
Jelle Spijker
129e0d04b0
Sync used SlotID
Contributes to CURA-10717 and CURA-10475
2023-07-14 09:27:39 +02:00
Jelle Spijker
4aae50396b
Merge remote-tracking branch 'origin/CURA-10717_Engine_plugin_orchestration' into CURA-10475_engineplugin
# Conflicts:
#	plugins/CuraEngineBackend/Cura.proto
#	plugins/CuraEngineBackend/StartSliceJob.py
2023-07-12 18:35:21 +02:00
Jaime van Kessel
d37afe7880
Actually call startPlugins before slicing
CURA-10717
2023-07-11 15:21:36 +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
4aebd755b2
Clarify documentation of startBackendPlugin function
CURA-10717
2023-07-11 11:43:15 +02:00
Jaime van Kessel
bf32b83c82
Move signal definition to top of file
It's easier to understand what is going on if the signal definitions are not spread out

CURA-10717
2023-07-11 11:38:21 +02:00
Jaime van Kessel
19a4e0d2f8
Fix bunch of comments violating max line length
Boyscouting

CURA-10717
2023-07-11 11:37:31 +02:00
Jaime van Kessel
5d74f2d250
Convert typing in CuraEngineBackend to modern style
Boyscouting

CURA-10717
2023-07-11 11:30:49 +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
Jaime van Kessel
26bf00ccc0
Add backend_plugin messages to proto file
CURA-10717
2023-07-10 13:25:29 +02:00
Jelle Spijker
0d1bb074ce
Merge branch 'main' into CURA-10475_engineplugin 2023-07-05 11:58:56 +02:00
Remco Burema
fa8e48152e Pause-at-height: Under rare circumstances T might not be an extruder switch.
Some printers accept commands like TIMELAPSE_TAKE_FRAME or whatever, after all. Make it explciti that a line should start with T<number> in order to qualify.

Should fix #15729
2023-06-16 09:09:01 +02:00
Remco Burema
99e1fcd4f8 Pause-at-height: Under rare circumstances, T might not be temperature.
Some printers accept commands like TIMELAPSE_TAKE_FRAME or whatever.

Should fix #15729
2023-06-15 22:34:39 +02:00
Jelle Spijker
9aa098fc90
Merge branch 'main' into CURA-10475_engineplugin
# Conflicts:
#	conanfile.py
#	resources/i18n/cs_CZ/cura.po
#	resources/i18n/cura.pot
#	resources/i18n/de_DE/cura.po
#	resources/i18n/es_ES/cura.po
#	resources/i18n/fi_FI/cura.po
#	resources/i18n/fr_FR/cura.po
#	resources/i18n/hu_HU/cura.po
#	resources/i18n/it_IT/cura.po
#	resources/i18n/ja_JP/cura.po
#	resources/i18n/ko_KR/cura.po
#	resources/i18n/nl_NL/cura.po
#	resources/i18n/pl_PL/cura.po
#	resources/i18n/pt_BR/cura.po
#	resources/i18n/pt_PT/cura.po
#	resources/i18n/ru_RU/cura.po
#	resources/i18n/tr_TR/cura.po
#	resources/i18n/zh_CN/cura.po
#	resources/i18n/zh_TW/cura.po
2023-06-13 17:46:27 +02:00