7298 Commits

Author SHA1 Message Date
Kostas Karmas
3d26b6886f Fix the welcome dialog not closing when cloud printers detected
The welcome dialog was not closing because when pressing the "Sign up"
button in the cloud page, a signal is emitted that is forcing the
welcome wizard to move to the next page. Therefore the currentPageIdx
was detected as cloud_page_idx+1.

This commit fixes the check by checking whether the welcome dialog is
in the page after the Cloud page.

CURA-7019
2020-04-22 18:22:42 +02:00
Kostas Karmas
1030945c5d Merge branch 'master' into CURA-7019_Move_sign_in_screen_in_front_of_add_printer_in_first_run_wizard 2020-04-22 16:51:40 +02:00
Nino van Hooff
ec334e0891
Merge pull request #6778 from novamxd/master
ChangeAtZ 5.2.0
2020-04-22 16:18:27 +02:00
Nino van Hooff
6bbfd14d00
Merge pull request #7443 from Ultimaker/CURA-7055_auto_add_cloud_printers
CURA-7055_auto_add_cloud_printers
2020-04-22 16:05:40 +02:00
Ghostkeeper
085462667e
Merge branch 'CURA-7383_sdk_ver_7_2_0' 2020-04-21 12:03:28 +02:00
Nino van Hooff
7302e8ba7f Update missed sdk versions from 7.1 to 7.2.0 for Cura 4.6
CURA-7383
2020-04-21 11:46:12 +02:00
Ghostkeeper
f38ae5bb96
Fix i18n catalog for per-object settings panel
Turns out that all of these had not been working properly for a while.

Contributes to issue CURA-7344.
2020-04-21 11:39:49 +02:00
Nino van Hooff
e3bc304d5d Update sdk version to 7.2.0
CURA-7383
2020-04-21 11:00:06 +02:00
Kostas Karmas
7b464e5550 Close welcome wizard when user has cloud printers
If the user signs in during the welcome process, if he/she has cloud
printers connected to his/her account, then the welcome wizard will
close so that the user will not be asked to add local printers.

CURA-7019
2020-04-20 15:06:31 +02:00
Jaime van Kessel
9a2d2d32bf
Remove code that prevents Cura from starting on MAC
The renderer isn't active when the view is activated. As such,
no opengl context *ever* exists. In some cases this might cause it to get
stuck in an indefinate loop.

The comments around it are explaining a situation that can't occur. The activateView
event of SolidView isn't triggered when switching to another view...
2020-04-20 13:52:40 +02:00
novamxd
096198ec9a Revamped ChangeAtZ
Removed some derpug code
2020-04-19 04:47:54 -05:00
Nino van Hooff
0dda9df420
Merge pull request #7519 from Ultimaker/CURA-7329_Decrease_error_calculation_per_object_stack
Only check changed settings (and whatever it affects) for errors in POS
2020-04-16 17:01:50 +02:00
Jaime van Kessel
2da965e46e
Merge branch 'CURA-7147_preview_img_for_cloud' of github.com:Ultimaker/Cura into 4.6 2020-04-16 15:11:20 +02:00
Jaime van Kessel
ab62ac6e01
Merge branch 'CURA-7364_cloud_sync_message_duplicated' of github.com:Ultimaker/Cura into 4.6 2020-04-16 13:17:40 +02:00
Jaime van Kessel
14f9228a1d
Merge branch '4.6' of github.com:Ultimaker/Cura into 4.6 2020-04-16 13:17:30 +02:00
Remco Burema
ac5213d232
Fix typing.
part of CURA-7147
2020-04-16 12:59:36 +02:00
Remco Burema
006822334c
Fetch preview image from cloud for monitor page.
part of CURA-7147
2020-04-16 12:18:49 +02:00
Ghostkeeper
9f38374960
Also track Z coordinates and retract extra for the distance travelled then
Otherwise if a retracted move had a different Z coordinate, this would not be put in the final print. It's pretty simple to extend it this way.

Fixes #7458.
2020-04-15 18:37:13 +02:00
Nino van Hooff
db758a7e19 Add None-checks to CloudPackageChecker
Might help prevent the sync message to show multiple times

CURA-7364
2020-04-15 17:16:38 +02:00
Jaime van Kessel
7d312f2f24
Merge branch 'master' of github.com:Ultimaker/Cura 2020-04-15 12:25:19 +02:00
Jaime van Kessel
d49cca3b8b
Add warning for when libsavitar is not up to date 2020-04-15 12:25:00 +02:00
Jaime van Kessel
28b8ba3748
Only check changed settings (and whatever it affects) for errors in POS
CURA-7329
2020-04-15 11:31:15 +02:00
Kostas Karmas
ea2eb2ce41 Merge branch '4.6' 2020-04-14 18:14:39 +02:00
konskarm
6241ca736e
Merge pull request #7498 from Ultimaker/CURA-7343_network_troubleshooting_link
CURA-7343_network_troubleshooting_link
2020-04-14 18:12:22 +02:00
Nino van Hooff
214e41f983 Use a more specific link for the network troubleshooting guide
CURA-7434
2020-04-14 16:55:36 +02:00
Nino van Hooff
783b8e08ff Only schedule a new cloud sync after the previous one finished
Prevents concurrent syncs, which would create duplicate printers.

Also doxygen comments to docstring

CURA-7055
2020-04-14 11:40:04 +02:00
novamxd
8b206751f8 Revamped ChangeAtZ
Added an enabled flag, allowing users to enable/disable ChangeAtZ layers at will without removing them
Improved performance of GCodeCommand, deferred parsing of arguments to when it is first requested as opposed to all the time
Removed type hints because the supported python version in Cura is too low
2020-04-13 22:22:21 -05:00
Jaime van Kessel
2e9dca71ce
Remove a number of unused imports 2020-04-10 13:58:10 +02:00
Jaime van Kessel
fe27da5e8a
Remove a number of unused variables 2020-04-10 13:46:19 +02:00
Jaime van Kessel
6a6ad6e815
Remove unneeded semicolons 2020-04-10 13:34:57 +02:00
Ghostkeeper
96003c1335
Fix unassigned variable 'theme'
Contributes to issue CURA-7357.
2020-04-10 11:53:54 +02:00
Ghostkeeper
2f4a702606
Merge branch '4.6' 2020-04-10 11:25:17 +02:00
Ghostkeeper
9c55ae5ac5
Allow print job actions from 5.2.12
This feature was backported to 5.2 so that UM3 can actually do this as well.
2020-04-10 10:39:18 +02:00
Jaime van Kessel
d1337c9e22
Prevent printer from being added twice if it's in cloud and local
CURA-7055
2020-04-09 16:39:47 +02:00
Ghostkeeper
1047cdd76c
Catch OSError when actually writing the UFP stream
This includes getting an error message when we don't have write access any more or when the file was deleted or connection lost while we were writing to it.

Fixes Sentry issue CURA-GX.
2020-04-09 14:55:14 +02:00
Ghostkeeper
c79d7d89b3
Merge branch '4.6' 2020-04-09 11:29:27 +02:00
Ghostkeeper
d5166030d7
Don't detect retractions if E is almost equal, but rounding errors
Contributes to issue CURA-7351.
2020-04-09 11:27:40 +02:00
Ghostkeeper
9b997d421b
Keep current_e updated even if not finding retractions
Otherwise the new E is never going to be lower than the current E. I don't know how this ever worked then.

Contributes to issue CURA-7351.
2020-04-09 11:22:05 +02:00
Ghostkeeper
d9649dc3dd
Reduce indentation and complexity by using a pre-check
Contributes to issue CURA-7351.
2020-04-09 11:03:10 +02:00
Nino van Hooff
74253e420a
Merge pull request #7441 from Ultimaker/xray_in_solid_sidequest
CURA-7262 X-Ray in solid-view (colors instead)
2020-04-08 15:45:00 +02:00
Nino van Hooff
e43768ebde Revert "Revert "Merge pull request #7384 from Ultimaker/CURA-7333_Fix_reloading_3mf_files_with_many_objects""
This reverts commit 4f55c8d8
2020-04-08 11:06:31 +02:00
Jaime van Kessel
33b3bb77c3
Fix typing
List wasn't added, so mypy borked. CURA-7055
2020-04-07 16:58:08 +02:00
Nino van Hooff
ff017e6a52 Remove unnecessary call to remove printer from qt model
Since cloud printers are not added to that model anymore

CURA-7055
2020-04-07 14:44:24 +02:00
Nino van Hooff
99b4b86052 Display max 3 printer names in the printer discover message
CURA-7055
2020-04-07 14:43:26 +02:00
Nino van Hooff
22a06fca3b Shorten new cloud printers message
So the plural form also fits on one line

CURA-7055
2020-04-07 13:50:24 +02:00
Remco Burema
b7e6b2888a
Actually remove xray error image (because colors).
part of CURA-7262
2020-04-07 12:57:07 +02:00
Nino van Hooff
0ec3e0972b Add an image to the cloud printer sync message
CURA-7055
2020-04-06 18:01:57 +02:00
Nino van Hooff
b141bb139e Update documentation of _connectToActiveMachine
CURA-7055
2020-04-06 15:04:39 +02:00
Nino van Hooff
52ef794c4d Add a Message informing users of progress on cloud syncing printers.
CURA-7055
2020-04-06 14:49:45 +02:00
Nino van Hooff
a80a5f36ff Add a Message informing users of progress on cloud syncing printers.
CURA-7055
2020-04-06 13:44:48 +02:00