9453 Commits

Author SHA1 Message Date
Jelle Spijker
45510d04ed
Added ability for backend plugins to determine their usability
Modified BackendPlugin.py and StartSliceJob.py to allow plugins to decide when they should be used. The 'usePlugin'
method was added to enable a plugin to return a boolean indicating if it should be used or not, e.q.: start up and
connect to the services.

Contributes to CURA-11031
2023-09-13 07:22:07 +02:00
Jelle Spijker
66ebdae825
Use the correct plugin name
Contributes to CURA-10953
2023-09-12 17:09:16 +02:00
Jelle Spijker
6ecb1c6b79
Applied code-review comments
Contributes to CURA-10988
2023-09-12 16:46:54 +02:00
Jelle Spijker
570d6ae916
Merge branch 'main' into CURA-10953_introduce_any_color_material 2023-09-11 15:52:13 +02:00
Remco Burema
fbd5569089 Merge remote-tracking branch 'origin/main' into CURA-10951_gh_build_curapackage 2023-09-08 18:39:27 +02:00
Jaime van Kessel
bcd9f9cbf9
Add all changed materials to version upgrade regex
CURA-10953
2023-09-08 13:02:32 +02:00
Jaime van Kessel
0141b750f5
Add version upgrader
CURA-10953
2023-09-08 11:04:13 +02:00
Jaime van Kessel
e899b9987c
Merge branch 'PP-245-high-speed-profiles' of github.com:Ultimaker/Cura into CURA-10953_introduce_any_color_material 2023-09-07 15:03:27 +02:00
Jaime van Kessel
fd887a877a
Don't sync invisible materials
CURA-10953
2023-09-07 13:48:36 +02:00
Jaime van Kessel
1a41f2650a
Don't show invisible materials in material selection
CURA-10953
2023-09-07 13:24:40 +02:00
Remco Burema
c7356ccb4a Pass 'all' exceptions.
part of CURA-10942
2023-09-06 21:17:15 +02:00
Remco Burema
40cc6c7cde
Merge pull request #15954 from GregValiant/LimitXYAccel
Create LimitXYAccelJerk.py
2023-09-06 21:06:48 +02:00
Jelle Spijker
43322ff249
Merge branch 'main' into CURA-10475_engineplugin 2023-09-05 07:05:57 +02:00
Erwan MATHIEU
6848974fcc Fix project write error not reported on Windows
CURA-10180
2023-09-01 10:14:17 +02:00
Remco Burema
015e635213 Engine-plugins wouldn't always close.
... because the code to terminate them wasn't always called. Especially annoying on Windows, since the sub-program could aparently become a zomboid after termination of the main one(s).

I guess this is still part of the still open CURA-10475 'branch' in a way? There is no other ticket that fits at the moment.
2023-08-29 22:46:35 +02:00
Erwan MATHIEU
0450a3b09c Fixed possibly wrong error message
CURA-10180
2023-08-29 16:45:13 +02:00
GregValiant
8f0fb5ef12 Update LimitXYAccelJerk.py
Changes made per Rburema requests.
2023-08-29 07:51:58 -04:00
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
GregValiant
ae33d03eb2 Update LimitXYAccelJerk.py
Add Exit for Ultimaker printers.
Add notice that Accel is not-extruder specific.
Changed variable names to lower case.
2023-08-19 08:42:27 -04: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
GregValiant
e01b1406e3 Update LimitXYAccelJerk.py
Added Gradual Accel Change.

Update LimitXYAccelJerk.py

Round the Accel numbers to nearest "50".

Create LimitXYAccelJerk.py

New post processor to limit the X and or Y accel and jerk for bed-slinger printers.

Update LimitXYAccelJerk.py

Removed debug code.

Update LimitXYAccelJerk.py

Remove debug code

Update LimitXYAccelJerk.py

Bug Fix
2023-08-08 23:47:08 -04: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