Jaime van Kessel
3985406634
Speed up generation of extruder message
...
CURA-7106
2020-06-23 14:06:13 +02:00
Jaime van Kessel
e001839512
Replace getUsedExtruderNumbers with the faster alternative
...
CURA-7106
2020-06-23 13:53:28 +02:00
Jaime van Kessel
ba34fb6e35
Decrease amount of nested if statements
...
Wont add anything to speed, but it will make it easier to read
CURA-7106
2020-06-23 10:05:05 +02:00
Jaime van Kessel
ac7f27fddc
Remove another unneded call in the solidview
...
The check is called a lot, especially if there are a ton of models.
CURA-7106
2020-06-22 17:32:30 +02:00
Jaime van Kessel
333b2959cd
Decrease the frequency of the non-manifold check
...
CURA-7106
2020-06-22 17:27:46 +02:00
Jaime van Kessel
f4cc8b4870
Remove another check from rendering code
...
CURA-7106
2020-06-22 17:22:47 +02:00
Jaime van Kessel
570efc8310
Remove unneeded checks in convex hull node
...
CURA-7106
2020-06-22 17:18:22 +02:00
Jaime van Kessel
16bc2071ee
Cache values to speed up the rendering
...
CURA-7106
2020-06-22 16:49:42 +02:00
Jaime van Kessel
1b973b3f3c
Remove bit of code duplication
...
CURA-7106
2020-06-22 16:31:37 +02:00
Louis Wouters
3b4833a7e6
Fixed double ";" when using putValue on a line with a comment
2020-06-19 11:38:27 +02:00
Ghostkeeper
43c5d05853
Merge branch 'CURA-7505_Refactor_registration_of_cloud_printers'
2020-06-18 17:21:05 +02:00
Ghostkeeper
f8a88642c2
Don't crash when failing to create Toolbox.qml dialogue
...
Basically we should never be raising the master Exception class, really.
The enclosing class has error handling in case this returns None already, so this fix is easy.
Contributes to Sentry issue CURA-Y5.
2020-06-18 14:53:18 +02:00
Ghostkeeper
85bfb02228
Show an error if trying to open a project file with unknown machine
...
Previously it would crash.
Fixes Sentry issue CURA-Y1.
2020-06-18 14:31:47 +02:00
Kostas Karmas
18f3d187d5
Remove extra newlines in printers added from account message
...
Since \n are now replaced by <br>, the \n should be removed from this specific message.
Required after the changes in efaad4f6c8
2020-06-18 14:08:35 +02:00
Nino van Hooff
c810ae97a7
Merge pull request #7919 from adripo/patch-2
...
Fixed next XY return position after pause
2020-06-18 11:27:32 +02:00
Kostas Karmas
8abaf69873
Update CloudOutputDevice of the machine when it is rediscovered
...
Even though the metadata of the machine was updated when it was
rediscovered, the new cluster id was not updated in all its references
(such as in the _remote_clusters and in the _um_cloud_printers dicts).
This commit fixes that issue by properly updating all the entries
that depend on the machine's cluster id.
CURA-7505
2020-06-17 16:11:18 +02:00
Jaime van Kessel
5a77595807
Fix workspace reader not taking upgrade into account
...
CURA-7517
2020-06-17 11:15:55 +02:00
Jaime van Kessel
daa6b4f28d
Add upgrade script for dagoma discoeasy
...
CURA-7517
2020-06-17 10:46:09 +02:00
Ghostkeeper
5286be77a1
Merge branch 'CURA-7492_Change_how_the_connection_status_is_determined'
2020-06-16 16:11:26 +02:00
Konstantinos Karmas
b4188bdc52
Merge pull request #7917 from adripo/patch-1
...
Adjusted correct pause_method for FlyingBear Ghost 4S
2020-06-15 17:23:29 +02:00
Kostas Karmas
37be7f5410
Merge branch 'master' into CURA-7505_Refactor_registration_of_cloud_printers
2020-06-15 15:05:08 +02:00
Kostas Karmas
3b6ac5eb8d
Add host_guid to the cloud printers' metadata
...
Since the host_guid is unique to the printer, it is more reliable for
identifying the cloud printers. This comes in handy when the cloud
printer is removed from the account and re-added. With the host_guid,
the printer that is added again can be properly identified as an
existing Cura cloud printer, and be linked to the original. To
achieve that, the META_CLUSTER_ID of the printer is updated with the
new one that is generated when the printer is added again to the
account.
CURA-7505
2020-06-15 15:01:14 +02:00
Nino van Hooff
6071161d88
Merge remote-tracking branch 'origin/master' into CURA-7492_Change_how_the_connection_status_is_determined
2020-06-15 14:19:35 +02:00
Ghostkeeper
0f3a977a58
Consistent typing with function this is overriding
...
The function in the parent class has changed its type in commit 7968fe6d56205b20be9ba47e5a19be9f5914b084. This one should also change type.
2020-06-15 13:58:12 +02:00
Nino van Hooff
994f9fbde7
Re-implement ConnectionStatus by adding a pyqtSignal to HttpRequestMgr
...
and using ConnectionStatus as proxy for it.
CURA-7492
2020-06-15 11:39:06 +02:00
Kostas Karmas
ddf312eca5
Refactor the connection status to be informed by the autosync
...
The autosync, which happens every 30 seconds, will now also inform the
connection status when the get request succeeds or fails, which is an
indicator of whether the internet is reachable.
CURA-7492
2020-06-15 09:34:56 +02:00
adripo
2fc06069ba
Added whitelist G0..G4 instead of blacklist
2020-06-11 17:38:06 +02:00
adripo
d568531aed
Fixed next XY return position after pause
2020-06-11 17:14:53 +02:00
adripo
8c369a79fa
Adjusted correct pause_method for FlyingBear Ghost 4S
2020-06-11 14:56:13 +02:00
Kostas Karmas
defa3fd940
Remove lifetime of message, since it is the same as the default
...
In response to feedback comment https://github.com/Ultimaker/Cura/pull/7904#discussion_r438023812
CURA-7454
2020-06-10 13:00:55 +02:00
Kostas Karmas
ad36903cbb
Convert removed_printers_message into private
...
In response to feedback comment https://github.com/Ultimaker/Cura/pull/7904#discussion_r438023220
CURA-7454
2020-06-10 12:59:39 +02:00
Kostas Karmas
984426fabb
Merge branch 'master' into CURA-7454_Add_remove_printers_button_in_removed_printers_from_account_message
2020-06-10 12:06:41 +02:00
Kostas Karmas
fdc555caf3
Merge branch 'master' into CURA-7455_Keep_printer_configurations_when_cloud_printer_removed_from_account
2020-06-10 11:51:50 +02:00
Nino van Hooff
feeeb972f7
Merge pull request #7873 from Ultimaker/CURA-7438_Show_cloud_connection_not_available_printer_removed_from_account
...
CURA-7438 Handle the case when a cloud printer is removed from the account
2020-06-10 11:46:10 +02:00
Kostas Karmas
b9956f2ae2
Fix failing tests
...
CURA-7454
2020-06-09 17:51:06 +02:00
Nino van Hooff
8ea6908935
Merge pull request #7775 from sgtnoodle/fix_stretch_feed
...
Fix extruder and feed rate after extruder-only moves in post stretch …
2020-06-09 17:46:17 +02:00
Remco Burema
ac36aeb831
Merge pull request #7903 from Ultimaker/CURA-7493_prefer_online_cloud_printers
...
Sort new_devices on online status first, name second
2020-06-09 17:46:05 +02:00
Kostas Karmas
2442371c2f
Hide the message if a manual check is initiated
...
This has to be done in order to avoid weird actions taking place, such
as the user pressing to remove the printers while another sync is
happening.
CURA-7454
2020-06-09 17:42:53 +02:00
Remco Burema
a38fac9e67
Fix typing.
2020-06-09 17:34:23 +02:00
Remco Burema
29442e29e4
Make printer name sorting case insensitive again.
...
part of CURA-7493
2020-06-09 17:28:02 +02:00
Kostas Karmas
1c9ce25614
Change lifetime of the removed_printers_message to 30 seconds
...
After 30 seconds a new sync will be initiated, which will alter the
conents of self.reported_device_ids, thus making the current message
deprecated. Therefore, it is best to have a maximum lifetime of 30
seconds.
CURA-7454
2020-06-09 17:24:36 +02:00
Nino van Hooff
b734830fcf
Sort new_devices on online status first, name second
...
Since the first device might be activated in case there is no active printer yet,
it would be nice to prioritize online devices
CURA-7493
2020-06-09 17:02:21 +02:00
Kostas Karmas
567f6dabdc
Add option to remove all printers not linked to the account
...
When the "Printers removed from account" message pops up, it will give
the option to the user to remove all the printers that are not linked
to his/her account from Cura. Since this action removes all
configurations, it first pops a confirmation question box, and if the
user insists, these printers are purged from Cura.
Note: In order to properly delete all the files, the printers have to
be activated first before they are removed, or else some extruder
files in %appdata%/cura/<version>/user and %appdata%/cura/<version>/
extruders remain.
CURA-7454
2020-06-09 15:40:30 +02:00
Kostas Karmas
f0dda6553b
Merge branch 'CURA-7455_Keep_printer_configurations_when_cloud_printer_removed_from_account' into CURA-7454_Add_remove_printers_button_in_removed_printers_from_account_message
2020-06-09 15:04:54 +02:00
Kostas Karmas
01230cff00
Merge branch 'CURA-7438_Show_cloud_connection_not_available_printer_removed_from_account' into CURA-7455_Keep_printer_configurations_when_cloud_printer_removed_from_account
2020-06-09 15:04:41 +02:00
Kostas Karmas
8e1ed6cd29
Merge branch 'master' into CURA-7454_Add_remove_printers_button_in_removed_printers_from_account_message
2020-06-09 15:03:23 +02:00
Jaime van Kessel
b6b3646f32
Merge branch 'CURA-7437_no_internet_cloud_bugs' of github.com:Ultimaker/Cura
2020-06-09 13:45:21 +02:00
Nino van Hooff
1024879f9d
Process Review feedback for CURA-7438
...
Renames UltimakerCloudAuthentication to UltimakerCloudConstants
Cura-7438
2020-06-09 13:41:30 +02:00
Nino van Hooff
32f57b8770
Merge remote-tracking branch 'origin/master' into CURA-7437_no_internet_cloud_bugs
2020-06-09 10:47:53 +02:00
Ghostkeeper
c6af6565a3
More descriptive and appropriate logging
...
Contributes to issue CURA-7488.
2020-06-08 17:58:42 +02:00