13423 Commits

Author SHA1 Message Date
Jaime van Kessel
d842013a76
Simplify onCompleted call in qml
CURA-8463
2022-08-26 13:31:48 +02:00
c.lamboo
8b84db7059 Remove AbstractMachine
Having a separate class for the AbstractMachine complicated things; it's behaviour was extremely similar to the GlobalStack so adding one more stack container type in addition to the many similar setting container types we already have adds complexity to the system. Having these different classes for machines and abstract machines also add complexity to the update script as the abstract machines were stored in a separate folder from the machine types.

Because of these reasons we decided to replace the AbstractMachine by a GlobalStack where the is_abstract_machine property metadata property is set to True.

CURA-9514, CURA-9277

Co-authored-by: joeydelarago <joeydelarago@gmail.com>
2022-08-26 10:45:45 +02:00
Jaime van Kessel
22baf8f34e
Merge branch 'main' of github.com:Ultimaker/Cura 2022-08-24 16:52:26 +02:00
Jaime van Kessel
03c88c18e6
Bump up the maximum_extrusion_area_deviation
CURA-9524
Fixes #12828
2022-08-24 16:51:47 +02:00
Joey de l'Arago
2013ad6baf
Update resources/qml/PrinterSelector/MachineListButton.qml
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>
2022-08-24 14:22:17 +02:00
joeydelarago
721f63b0d1 Give machine selector minimum width so it displays correctly on smaller screens.
CURA-9514
2022-08-24 10:06:03 +02:00
joeydelarago
db0b668739 Adjust button size according to width
CURA-9514
2022-08-23 16:17:36 +02:00
joeydelarago
90f53bbdc1 Adjust large button size
CURA-9514
2022-08-23 16:01:30 +02:00
joeydelarago
790c373b38 Show icon for offline printers
CURA-9514
2022-08-23 15:57:40 +02:00
joeydelarago
e541890c07 Fix drop down not dynamically resizing width
CURA-9514
2022-08-23 15:56:50 +02:00
joeydelarago
93e2bef303 Group printers by section (Connected Printers/Other Printers)
Cleanup redundant code.

CURA-9514
2022-08-23 15:44:16 +02:00
joeydelarago
b18080c332 Rename AbstractStacksModel.py -> MachineListModel.py since this model includes both abstract machine stacks and regular machines
Add machineCount for displaying the number of machines of a type.

MachineSelectorButton is in use in other places, swapped it out for a new Component MachineListButton.

CURA-9514
2022-08-23 14:29:05 +02:00
joeydelarago
7ffa770fb4 Searching container registry returns ContainerStacks.
Made typing more generic to work with an ContainerStack to compensate.

Made AbstractMachine getMachines a classmethod so it can be called with ContainerStacks.

CURA-9514
2022-08-23 10:35:00 +02:00
Casper Lamboo
3ef77df3fd
Merge pull request #12651 from Ultimaker/CURA-9357_hide_middle_line_threshold_settings
[CURA-9357] Remove some very difficult to explain (even to experts) settings.
2022-08-22 11:54:20 +02:00
joeydelarago
fd8d6498ee When changing to an intent with infillDensity > 100 in recommended settings the RecommendedInfillDensitySelector would set infillDensity=100.
This is because the onValueChanged function checks if the slider has a different value from the settings and updates the settings if it does. The slider has a max value of 100, so when setting the sliders value to 1000 the slider would update to have a value of 100. This would then update the setting to value to 100.

The fix is as follows. When updating the slider value > 100 just ignore the first onValueChanged. Following onValueChanged, which are triggered by the user sliding the slider, will still trigger.

CURA-9488
2022-08-10 16:45:16 +02:00
Remco Burema
81a34d1d18
Merge pull request #12692 from Ultimaker/PP-187_move_shrinkage_compensation_values_to_fdm_materials
Removed shrinkage compensation from the quality profiles. They have b…
2022-08-06 11:07:35 +02:00
Remco Burema
5b851e4630 Click on checkbox only for checkbox-setting.
People accidentally set (checkbox) settings when mis-clicking slightly when scrolling through the settings.

CURA-9530
2022-08-05 13:33:50 +02:00
Jelle Spijker
7b768ca810
Merge pull request #12866 from Ultimaker/CURA-9220_hide_if_no_permission
Hide cloud interaction buttons if the user has no permissions to them
2022-08-01 12:41:11 +02:00
j.spijker@ultimaker.com
5a8047e7d9 Don't show warning color for children of support_infill_rate when using tree support
CURA-9520 PPM: Tree support has infill density 15%, but should have 0%
2022-07-29 18:04:49 +02:00
Jelle Spijker
c27cee8a72
Merge pull request #12878 from Ultimaker/CURA-9520_Fix_support_infill_tree_support
CURA-9520_Fix_support_infill_tree_support
2022-07-29 12:32:43 +02:00
Ghostkeeper
d27ed71518
Increase maximum integer length to 12 characters
This may cause overflows if the integer type is 32-bit, but we tend to use 64-bit anyway. And 9,999,999 was already an overflow too.

Fixes #12859.
2022-07-29 10:30:25 +02:00
p.kuiper
6ea1079b60 Set the infill density of the support to 0% when tree structures are used.
Relates to CURA-9520
2022-07-27 15:38:03 +02:00
Ghostkeeper
f849df6ba3
Remove old df_access additional right
It is replaced by the new permissions system. The rights are more specific than 'digital factory access, yes or no'. It's now about whether you can read/write printers/projects/print jobs/etc and can differ whether it is your own project/job/etc or someone else's.

Contributes to issue CURA-9220.
2022-07-26 17:49:55 +02:00
Ghostkeeper
7287644324
Add specific permission requirements to application switcher
These functions require special permissions in the account now. Just checking for digital factory access is no longer enough.

Contributes to issue CURA-9220.
2022-07-26 17:46:26 +02:00
Ghostkeeper
9d820b8d02
Redirect to USB workflow if user account doesn't have permissions
If the user is not allowed to write profiles to the printers, then they'd get errors when trying to sync. Instead we'll redirect them to the USB workflow.
This also works for users that have accounts but don't have the printers in the cloud. The original requirements suggest that the entire sync button must be hidden for this case. But to allow those people to still sync via USB I'm opting for this solution instead.

Contributes to issue CURA-9220.
2022-07-26 17:21:08 +02:00
Ghostkeeper
de39918661
Add contributors to change log 2022-07-19 15:37:09 +02:00
Jaime van Kessel
69d3b4d85a
Merge branch 'master' of github.com:RVillani/Cura 2022-07-19 15:32:57 +02:00
Jaime van Kessel
9bc00b4a53
Merge pull request #12442 from amweiss/patch-1
Rename Ender-3 profile to include v2
2022-07-19 15:02:42 +02:00
Jaime van Kessel
87c6c3649f
Bump version numbers
CURA-9503
2022-07-19 14:59:14 +02:00
Jaime van Kessel
9ee948ded4
Merge branch 'master' of github.com:heed818/Cura 2022-07-19 14:55:06 +02:00
NilsRo
11800f1c49
Update anycubic_i3_mega_s.def.json (#11715)
Added nozzle size
Dynamic wall thickness by nozzle diameter
Added filament costs to standard
First layer speed inheritance
Added maximum temp warnings
Updated FAN
Optimized initial purge of filament
2022-07-19 14:54:23 +02:00
Jaime van Kessel
d7f5eeb829
Merge branch 'master' of github.com:3d-hctech/Cura 2022-07-19 14:46:10 +02:00
Jaime van Kessel
6d6058f4f1
BUmp version number for anycubic printers
CURA-9501
2022-07-19 14:44:25 +02:00
Jaime van Kessel
fb9b71a901
Merge branch 'master' of github.com:ANYCUBIC-3D/Cura 2022-07-19 14:41:05 +02:00
Jaime van Kessel
68aec6f064
Bump version number
CURA-9500
2022-07-19 14:37:27 +02:00
Jaime van Kessel
7e811025fb
Merge branch 'feat/ender3s1-profile' of github.com:Sebazzz/Cura 2022-07-19 14:34:42 +02:00
jspijker
1b427ac2a4 Merge branch '5.1' 2022-07-19 10:33:42 +02:00
Ghostkeeper
e92e815226
Add video link for 5.1 2022-07-19 10:09:09 +02:00
Ghostkeeper
9ec9ef67a9
Merge branch '5.1' 2022-07-18 14:55:50 +02:00
Ghostkeeper
e40991fcc3
Add missing feature to change log
This was actually completed quite a while ago (not in 5.0 yet, but in 5.1) but testing completed way later, making us miss this one.
2022-07-18 14:55:30 +02:00
Ghostkeeper
aeae08645b
Merge branch '5.1'
Conflicts:
	conandata.yml -> something was added in 5.1, so I kept that. Not sure why it'd be a conflict.
2022-07-18 10:58:17 +02:00
Ghostkeeper
a061024572
Add 'known issues' section of change log
I really hope this won't become a pattern... We've always had known issues and it wouldn't do anyone any good to list all of them in the stable release change logs. But it's not my decision here.
2022-07-18 10:56:07 +02:00
Ghostkeeper
3c6a2e6dc5
Merge branch '5.1' 2022-07-18 10:36:36 +02:00
Ghostkeeper
0d3ca30228
Update change log for 5.1 stable
There's still 2 more tickets in the works, that I didn't add yet. We'll see if they get merged in time.
2022-07-18 10:35:34 +02:00
Jelle Spijker
e179e15f4a Merge branch '5.1'
# Conflicts:
#	.github/workflows/unit-test.yml
2022-07-15 13:53:13 +02:00
c.lamboo
0c322a67c6 Merge remote-tracking branch 'origin/5.1' into 5.1 2022-07-15 11:42:46 +02:00
c.lamboo
2318b0dd5e Remove line break in translation string
CURA-9420
2022-07-15 11:42:27 +02:00
Ghostkeeper
ed60657b1d
Fix whitespace around slash
This was inconsistent with other uses in Chinese and just in and of itself.

Contributes to issue CURA-9420.
2022-07-15 11:40:38 +02:00
c.lamboo
e1b640528d Update translation strings
CURA-9420
2022-07-15 11:20:21 +02:00
Casper Lamboo
a8a8b6751a
Merge pull request #12700 from sustmi/czech-translations-v5.1
Czech translations for v5.1
2022-07-15 10:43:42 +02:00