Commit graph

26315 commits

Author SHA1 Message Date
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
294afdb7ca Connect sync timer to sync() for consistency and add unit tests.
Also rename a function to camelCase

CURA-7473
2020-06-26 16:09:33 +02:00
BeamUp 3D
88c0746fa8
Update beamup_l.3mf
Rotated
2020-06-26 15:46:35 +03:00
BeamUp 3D
2f48b93bb3
Delete beamup_l.3mf 2020-06-26 15:45:46 +03:00
Nino van Hooff
4f1a18f102 Add Install Pending Updates button to Account popup
CURA-7473
2020-06-26 11:37:01 +02:00
Ghostkeeper
b63ac06e71
Update bundled packages with renamed version upgrade plug-ins
These were renamed and split. If it's not up-to-date the Marketplace will warn that they are sideloaded, which is incorrect.
2020-06-25 15:56:07 +02:00
Jaime van Kessel
e03c767b0d
Merge branch 'CURA-7527_Fix_3mf_reader_crashing_if_printer_has_no_extruders' of github.com:Ultimaker/Cura 2020-06-25 15:33:43 +02:00
Ghostkeeper
ffac9adb96
Add default for extruder position
The position argument metadata always be there. However if it's not (because the file is old, or manually modified, or a version upgrade worked incorrectly, or whatever) then we shouldn't crash. We just don't know how to order it correctly then. This tries to repair it as best it can.
2020-06-25 15:08:08 +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
Ghostkeeper
79cc6ec897
Also report failure if the file system can't handle the archive contents
For instance if the file name is too long for this file system, if the computer is running out of disk space or if there is a general failure to write here.

Fixes Sentry issue CURA-YQ.
2020-06-25 09:47:59 +02:00
Kostas Karmas
0738696312 Revert the geeetech_A10 size to the official size (220x220x260)
Related to https://github.com/Ultimaker/Cura/pull/7752
2020-06-24 16:14:44 +02:00
Konstantinos Karmas
abeed3281d
Merge pull request #7752 from keleticsaba/master
Update geeetech_A10.def.json
2020-06-24 16:13:57 +02:00
Konstantinos Karmas
374a6b7b68
Merge branch 'master' into master 2020-06-24 15:59: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
27277d4e54
Add missing typing 2020-06-24 15:28:41 +02:00
Jaime van Kessel
68807d99d2
Fix issue that no disallowed areas were show if there were no active objects
CURA-7106
2020-06-24 15:18:20 +02:00
maukcc
c9e5f8ac54 HMS434 update
Max temps updated
2020-06-24 11:12:03 +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
Nino van Hooff
f35ca0eb7d Add Multiply Objects to Edit menu
CURA-7524
2020-06-23 15:03:25 +02:00
Jaime van Kessel
ac0c0d0698
Let the error checker calculate the error values a bit more "on demand"
Previously it would just re-try all settings, but this really isn't needed (since
we have a setting relationship object that can tell us what settings depend on what).
This won't speed things up in a worst case scenario (since that will still be "caluclate
all the settings") but it will speed it up in most cases.

Most setting changes now only trigger a calculation that takes <0.2 sec isntead of the 1.1 sec.
Yes, those numbers seem big, but the error checking is already built in such a way that it spreads this
out over multiple frames (so it's not actually freezing that time, but it is doing shit it shouldn't do!)

CURA-7106
2020-06-23 14:54:56 +02:00
Nino van Hooff
2e0489c509 Merge remote-tracking branch 'origin/master' 2020-06-23 14:47:01 +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
7e8e051eb2
Short circuit finding the extruders that are active
CURA-7106
2020-06-23 13:38:00 +02:00
Jaime van Kessel
f9b288f3c6
Move checking for some global features outside of the per node loop
CURA-7106
2020-06-23 13:24:22 +02:00
Jaime van Kessel
1f698fd664
Further simplify the getUsedExtruderStacks function
Should be a tiny bit faster

CURA-7106
2020-06-23 13:13:49 +02:00
Jaime van Kessel
1d9c92c47f
Use cached values for anti overhang and support mesh
CURA-7106
2020-06-23 13:08:03 +02:00
Jaime van Kessel
d897299b31
Simplify recomputeConvexHull code
CURA-7106
2020-06-23 12:55:13 +02:00
Jaime van Kessel
1900b0841a
Use cheaper convexhull function when not using raft
CURA-7106
2020-06-23 12:03:15 +02:00
Jaime van Kessel
1dc688dd4a
Prevent double updateNextStack during deepcopy
CURA-7106
2020-06-23 11:40:52 +02:00
Jaime van Kessel
4729bd1d0f
Remove unneeded check from deepcopy of settingoverride decorator
CURA-7106
2020-06-23 11:32:57 +02:00
Jaime van Kessel
85797c4cf5
Add processEvents calls to multiply job
Because we want them delicious updates

CURA-7106
2020-06-23 11:17:38 +02:00
Jaime van Kessel
9014fa79e2
Cache result of getEdgeDisallowedSize
CURA-7106
2020-06-23 11:01:43 +02:00
Kostas Karmas
d0d7e671ed Make the deletion of the definitionChanges safer
Just in case findContainerStacks returns an empty list
2020-06-23 10:56:48 +02:00
Jaime van Kessel
ea568f4ad5
Make the updating of the buildvolume a bit trigger happy
CURA-7106
2020-06-23 10:52:39 +02:00
Jaime van Kessel
1505d59f4b
Add extra process events to arrange job
Doesn't actually speed up something, but it does prevent the GUI from
freezing, so it looks less laggy.

CURA-7106
2020-06-23 10:38:21 +02:00
Jaime van Kessel
737a9faa5f
Speed up the objects model
It was using a few expensive calls that had already been cached.

CURA-7106
2020-06-23 10:32:42 +02:00
Jaime van Kessel
46076bf21d
Simplify the renameNodes method
Especially when duplicating large amounts of items this would cause a bit of a slowdown

CURA-7106
2020-06-23 10:14:44 +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
f00e3f7363
Remove useless code
CURA-7106
2020-06-23 09:21:24 +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