Commit graph

7835 commits

Author SHA1 Message Date
Ghostkeeper
3032221b70
Prevent division by 0 if total download size is 0
This can happen if the downloads are all so small that it gets rounded to 0kB.

Fixes Sentry issue CURA-ZM.
2020-07-06 17:23:58 +02:00
Konstantinos Karmas
f0456526b3
Merge pull request #8023 from Ultimaker/CURA-6915_identify_objects_on_buildplate
CURA-6915_remaining_issues
2020-07-06 11:44:54 +02:00
Kostas Karmas
72310919c3 Fix coding style
CURA-6915
2020-07-06 11:08:33 +02:00
Konstantinos Karmas
56d21ee190
Merge pull request #8026 from Ultimaker/CURA-5479_job_name_template
CURA-5479_job_name_template version upgrade
2020-07-06 10:06:39 +02:00
Nino van Hooff
c64cff9a47 Merge remote-tracking branch 'origin/CURA-6915_identify_objects_on_buildplate' into CURA-6915_identify_objects_on_buildplate 2020-07-03 14:47:17 +02:00
Nino van Hooff
b1cc651a6a Use DepthFirstIterator to get all descendant Nodes
CURA-6915
2020-07-03 14:46:59 +02:00
Nino van Hooff
6cfdda0842
Apply suggestions from code review
CURA-6915

Co-authored-by: Jaime van Kessel <nallath@gmail.com>
2020-07-03 14:42:08 +02:00
Nino van Hooff
fe7e89835b Version upgrade for jobname_prefix -> job_name_template
CURA-5479
2020-07-03 14:39:05 +02:00
Nino van Hooff
ead0594c56 Write group content metadata for ufp export
CURA-6915
2020-07-03 09:56:28 +02:00
Nino van Hooff
a56489b885 Exclude non-printing nodes from ufp export
CURA-6915
2020-07-02 17:19:21 +02:00
Nino van Hooff
49f83cbdb5 Fix printer counts for the auto-added printer message
CURA-7546
2020-07-02 16:23:46 +02:00
Jelle Spijker
e8f0d41d29
Merge pull request #7995 from Ultimaker/CURA-7199_remove_spaghetti_infill
Cura 7199 remove spaghetti infill
2020-07-02 15:12:54 +02:00
Jaime van Kessel
f2b209b79f
Apply suggestions from code review
Fix the codestyle

CURA-6915
2020-07-01 14:20:22 +02:00
jelle Spijker
d31c7407ee
Delete removed settings from profiles when upgrading
Part of CURA-7199
2020-06-30 15:10:26 +02:00
Nino van Hooff
707745b2bf Revert "Revert "Write a list of object names to the global metadata of ufp files""
Was accidentally committed to master, now on a separate branch

CURA-6915

This reverts commit f660755b
2020-06-30 13:53:25 +02:00
Nino van Hooff
99f4c1a2d3 Merge remote-tracking branch 'origin/master' 2020-06-30 13:51:26 +02:00
Nino van Hooff
f660755b07 Revert "Write a list of object names to the global metadata of ufp files"
This was accidentally committed to master

This reverts commit 67836851
2020-06-30 13:51:02 +02:00
Jaime van Kessel
db65a092c3
Merge branch 'master' of github.com:Ultimaker/Cura 2020-06-30 13:41:38 +02:00
Jaime van Kessel
440474b1e8
Pass the cached normal transformation to the rendere
CURA-7106
2020-06-30 13:39:32 +02:00
Nino van Hooff
6783685126 Write a list of object names to the global metadata of ufp
files

CURA-6915
2020-06-30 13:32:08 +02:00
jelle Spijker
8af4e0d05a
Remove spaghetti settings from 462 visible_settings when upgrading
Part of CURA-7199
2020-06-29 16:07:34 +02:00
Jaime van Kessel
22de878e5c
Merge branch 'CURA-7473_account_pending_update_button' of github.com:Ultimaker/Cura 2020-06-29 15:11:42 +02:00
Jaime van Kessel
ae6e78f5ed
Add a don't show me again option to x-ray message 2020-06-29 13:43:19 +02:00
Jaime van Kessel
d2280b9afb
Fix disabling show_xray_warning 2020-06-29 13:31:08 +02:00
Konstantinos Karmas
c6fd25e7e9
Merge pull request #7971 from Ultimaker/CURA-7106-Speedup-multiple-objects-on-build-plate
CURA-7106 Speedup multiple objects on build plate
2020-06-29 12:36:02 +02:00
Nino van Hooff
979407eddf Additional typing fixes
CURA-7473
2020-06-29 11:10:50 +02:00
Ghostkeeper
ec66ce3445
Merge branch 'master' of https://github.com/louiswouters/Cura into louiswouters-master 2020-06-26 18:35:38 +02:00
Nino van Hooff
c815b098d4 Fix a bug where a package sync dialog would incorrectly not be shown
1. user subscribes to a package
2. dismisses the license/unsubscribes
3. subscribes to the same packafe again

in this scenario we want to notify the user again after step 3. This was
not the case because situations in step 1 and  3 are equal and thus the
user was considered notified.

CURA-7473
2020-06-26 16:28:03 +02:00
Nino van Hooff
4f1a18f102 Add Install Pending Updates button to Account popup
CURA-7473
2020-06-26 11:37:01 +02:00
Kostas Karmas
572ded8c95 Fix crash while reading 3mf if extruder list is empty
CURA-7527
2020-06-25 14:52:07 +02:00
Jaime van Kessel
05f35a07e4
Fix mypy issues
For some reason my local mypy didn't spot them but the CI did.

CURA-7106
2020-06-24 15:40:33 +02:00
Jaime van Kessel
b1fe4793e4
Put all objects normal models in a single render batch
THis speeds things up a fair bit for build plates with multiple models

CURA-7106
2020-06-24 10:42:35 +02:00
Louis Wouters
c87bd83618 Improved readability of putValue 2020-06-23 21:46:40 +02:00
Jaime van Kessel
03e66beafd
Re-use some render batches
This prevents us from having to re-create them everytime

CURA-7106
2020-06-23 17:12:47 +02:00
Jaime van Kessel
b0ed47daf1
Don't copy transformations if it's not needed
CURA=7106
2020-06-23 16:24:34 +02:00
Jaime van Kessel
90c6183634
Add process events triggers to startSliceJob
Prevents a freeze when the setting message is being calculated

CURA-7106
2020-06-23 14:12:28 +02:00
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