Commit graph

7295 commits

Author SHA1 Message Date
Jelle Spijker
eb4451f25c
Don't test with is not for a literal 2022-11-30 22:23:17 +01:00
Jelle Spijker
46df77543b
Don't test with is not for a literal 2022-11-30 22:22:28 +01:00
Casper Lamboo
1672cd639f
Merge pull request #13914 from Ultimaker/CURA-9808_UltiMaker
CURA 9808 UltiMaker
2022-11-29 16:36:07 +01:00
jspijker
f76f711790 Update mentions to UltiMaker
Contributes to CURA-9808
2022-11-28 14:11:21 +01:00
c.lamboo
be40920042 Fix cura crashing
`activeQualityDisplayNameMap` no longer returned a dict and could thus not be a pyqt property

Cura-9773
2022-11-28 13:14:47 +01:00
c.lamboo
8e8437eab0 Split of getStringParts function
Spit into `getMainStringParts` and `getTailStringParts` so we can easily differentiate between the two in the front-end.

Cura-9773
2022-11-28 13:10:52 +01:00
Joey de l'Arago
8dcccd941b Add dataclass for ActiveQuality. Move some logic out of MachineManager into ActiveQuality.
CURA-9793
2022-11-28 12:40:35 +01:00
Casper Lamboo
f297909a82
Fix type signature of function
Co-authored-by: Joey de l'Arago <joeydelarago@gmail.com>
2022-11-28 11:23:53 +01:00
Casper Lamboo
a645fa7d96
Use bracket to initialise list
Co-authored-by: Joey de l'Arago <joeydelarago@gmail.com>
2022-11-28 11:22:53 +01:00
jspijker
61623720ca Update copyright using UltiMaker
Contributes to CURA-9808
2022-11-28 10:48:38 +01:00
jspijker
0bb59acdf8 Update company name to UltiMaker
Contributes to CURA-9808
2022-11-28 10:14:51 +01:00
jspijker
696c0f8547 Update company name to UltiMaker
Contributes to CURA-9808
2022-11-28 09:05:21 +01:00
c.lamboo
4fa024cd31 Group intent and quality
Bit of an ugly hack. At later point in the code it is assumed the first element of the list is the main part and the remaining elements form the suffix. Intent and the profile form both the main part so these need to be grouped together.

Cura-9773
2022-11-25 16:48:06 +01:00
c.lamboo
52ee149edc Unify activeQualityDisplayNameMap string creation
Generation quality display names in `CustomPrintSetup.qml` and `PrintSetupSelectorHeader.qml` were so similar that I decided to combine the logic.

Cura-9773
2022-11-25 16:09:55 +01:00
c.lamboo
e8f6786e97 Revert "Add quality type to ufp files"
This reverts commit 7e84082aff.
2022-11-24 22:56:35 +01:00
c.lamboo
7e84082aff Add quality type to ufp files
Cura-9773
2022-11-24 13:55:31 +01:00
Joey de l'Arago
dd0411f171 isOnline was incorrectly being used instead of isNetworked. This caused offline printers not to show an Icon.
Fixed

CURA-9424
2022-11-15 14:56:25 +01:00
Joey de l'Arago
e947959ca9 Merge branch 'main' into CURA-9424_update_loading_projects_design 2022-11-14 12:56:47 +01:00
Joey de l'Arago
57e1c7a4ce Commit suggestion by Jelle
CURA-9424
2022-11-11 17:08:45 +01:00
Joey de l'Arago
62274c4dac Revert Some of "Fix show/hide button in WorkSpaceDialog printer selector"
This reverts commit 0c79ec73
2022-11-11 17:04:39 +01:00
Joey de l'Arago
bbadc9c887
Apply suggestions from code review
Co-authored-by: Jelle Spijker <j.spijker@ultimaker.com>
2022-11-11 13:44:37 +01:00
c.lamboo
0c79ec738e Fix show/hide button in WorkSpaceDialog printer selector
CURA-9424
2022-11-09 23:05:06 +01:00
c.lamboo
06a2886139 Clean up section property logic
CURA-9424
2022-11-09 17:11:31 +01:00
Joey de l'Arago
1ebf5bb650 Update MachineListModel to optionally take a list of global stack to show in list instead of searching the container registry.
Add option not to listen to container change events in MachineListModel.

CURA-9424
2022-11-04 16:42:07 +01:00
c.lamboo
5cb67ab8c4 Add new pages in add-printer flow
Pages added
- Page to select Ultimaker or third party printer
- Page with information how to add Ultimaker printer(s)

contributes to CURA-8689
2022-11-01 16:11:34 +01:00
Remco Burema
24bb1e96fa Fix unlinked brim settings behaviour.
Some brim settings seemed to behave as if they where linked, when in fact for any extruder set to -1 the 'default extruder' was set by some hacky code that supposedly fixes a 'dissallowed area' issue, very likely also related to the skirt/brim settings. Since dissalowed area for skirt/brim will not be a thing anymore, at least in the front-end, due to CURA-9066 (the 'parent' jira ticket that was blocked by this bug); it was sinplest just to remove the hack altogether. (Otherwise we'd have to make an artificial distinction between -1 and None as it relates to 'Not Set/Used' versus 'Not Overridden', only to then force it back to -1 in situations that call for it -- like communicating to the engine.)

CURA-9553
2022-10-30 11:09:12 +01:00
Remco Burema
ab51bd699e Merge branch 'main' into brim_per_material_optimized_order 2022-10-25 17:31:13 +02:00
Remco Burema
b4405d886b Reverse sorting, newer machines on top.
Same brand or name, but with a higher number should generally be first, so reverse sorting.

CURA-9769
2022-10-20 10:24:01 +02:00
c.lamboo
4a30bbaf2b Merge branch '5.2' 2022-10-14 16:39:05 +02:00
Remco Burema
ce6f7c20ca Abstract printer types: Sort newer ones on top.
Partial (manual) revert of initial implementatio of CURA-9748 -- that first commit deleted the 'reverse = True' needed to make sure (read hack) the most recent abstract printer types on top, instead of the other way around.
2022-10-12 16:14:32 +02:00
Remco Burema
d3305585fc Merge branch '5.2' 2022-10-12 15:33:26 +02:00
c.lamboo
9bacbb5825 Sort cloud printers in printer selection dropdown menu
CURA-9748
2022-10-12 14:37:26 +02:00
Remco Burema
7dd37c6a53 Filter material lists for compatible printers.
So that only one identical entry shows up per material, per extruder (per printer).

CURA-9689
2022-10-12 12:02:20 +02:00
Jelle Spijker
48ea4cee9f Merge branch '5.2'
# Conflicts:
#	conanfile.py
2022-10-10 10:23:01 +02:00
Joey de l'Arago
8e883cf546 This fixes a crash when loading a 3mf with a printer that has no extruders while the current global stack also has no extruders.
This was caused by trying to compare "extruders_enabled_count" which was None with an integer.

CURA-9714
2022-10-06 11:44:30 +02:00
c.lamboo
2079bd5a6e Sort "other printers" list
CURA-9687
2022-10-05 13:26:12 +02:00
Remco Burema
9a4500f847 Update SDK to 8.2.0 for release 5.2 2022-09-28 10:37:08 +02:00
Jaime van Kessel
f52a9ad0fe
Add missing return
CURA-9663
2022-09-26 10:25:42 +02:00
Jaime van Kessel
ea16597dd6
Merge branch 'machine-actions-improvement' of github.com:julianCast/Cura 2022-09-26 10:22:18 +02:00
Julian
df16108938 Fixes for better decorators using pyqtProperty 2022-09-23 11:49:30 +02:00
Jaime van Kessel
1dc42cb69a
Fix refresh of ChoosePrinterDialog not working
CURA-9278
2022-09-16 14:39:36 +02:00
Jaime van Kessel
90fae7ddb4
Fix crash when duplicating a model when in one at a time mode
CURA-9647
2022-09-16 13:28:40 +02:00
Jaime van Kessel
3400210f9b
Merge branch 'per-object-autodropdown' of github.com:Piezoid/Cura 2022-09-14 14:46:08 +02:00
Jaime van Kessel
ce71cbb57b
Merge pull request #13209 from Ultimaker/CURA-9224_approver_settings_json
[CURA-9224] Approver settings json
2022-09-13 14:07:42 +02:00
Jaime van Kessel
8dc2eaf783
Move CreateFlattendContainerInstance to InstanceContainer
It didn't really belong in the stack builder, as it's not a containerstack

CURA-9224
2022-09-13 13:35:37 +02:00
Jaime van Kessel
246f0f02fe
Merge pull request #13280 from digitalfrost/050922b
PrintInformation.py: Fix grammar in docstrings
2022-09-13 11:10:53 +02:00
digitalfrost
fe483d4656 Merge branch 'main' into 050922b 2022-09-13 10:50:39 +02:00
c.lamboo
d97dddcfe2 Revert "More agressivly check online printers"
This reverts commit 92b371cd50.
2022-09-13 10:41:46 +02:00
c.lamboo
ad14e60d26 Show printer even if the configuration does not match
CURA-9278
2022-09-13 10:34:33 +02:00
Remco Burema
8935ab4a2d Defensive coding: What if no extruder position.
part of CURA-9278
2022-09-13 10:12:32 +02:00