24127 Commits

Author SHA1 Message Date
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
Jaime van Kessel
61def4ba25
Prevent crash when requested polygon is too large
CURA-6P
2020-06-19 16:59:27 +02:00
Nino van Hooff
5e921698b2
Merge pull request #7947 from Ultimaker/CURA-7522_Removing_printer_created_by_projectfile_removes_original_printer
CURA-7522: Removing printer created by project file also removes the original printer
2020-06-19 16:39:03 +02:00
Ghostkeeper
9cce800d42
Run CTest in parallel (#7952)
* Don't pre-load engine before other plug-ins

This was a fix for the post-processing plug-in that's no longer required.
It was also only applied when running from source, so obviously it's not required or we'd have seen it in the builds.

* Run automated tests in parallel

Done during Turbo Testing and Tooling.

* Pass number of processors via ctest command itself

More reliable apparently because it's a CMake variable that doesn't get cached. It shouldn't get cached or set in the CMake script because it's not the same for every computer.

Done during Turbo Testing and Tooling.
2020-06-19 16:14:10 +02:00
Ghostkeeper
ba8cb4ce4a
Don't pre-load engine before other plug-ins
This was a fix for the post-processing plug-in that's no longer required.
It was also only applied when running from source, so obviously it's not required or we'd have seen it in the builds.
2020-06-19 16:12:36 +02:00
Jaime van Kessel
f8e648fcb3
Add the no response config 2020-06-19 16:04:59 +02:00
Jaime van Kessel
cb657ac45a
Some minor stylechanges in tests 2020-06-19 15:34:13 +02:00
Louis Wouters
3b4833a7e6 Fixed double ";" when using putValue on a line with a comment 2020-06-19 11:38:27 +02:00
BeamUp 3D
b7eb3f4f75
Add beamup_l.3mf 2020-06-19 11:35:26 +03:00
BeamUp 3D
ef05cd306f
Delete beamup_l.stl 2020-06-19 11:34:53 +03:00
BeamUp 3D
e3e9aec997
version update 2020-06-19 11:31:13 +03:00
BeamUp 3D
f0463d0789
version update 2020-06-19 11:30:57 +03:00
BeamUp 3D
67d229aff0
version update 2020-06-19 11:30:41 +03:00
BeamUp 3D
52ace264ac
version update 2020-06-19 11:30:27 +03:00
BeamUp 3D
31e755f6a3
version update 2020-06-19 11:29:55 +03:00
BeamUp 3D
73d221cb46
stl to 3mf 2020-06-19 11:28:29 +03:00
Jaime van Kessel
ea0c8ff9bc
Implement setDirty for mockContainer 2020-06-18 18:05:07 +02:00
Jaime van Kessel
d0a84828ff
Remove unneeded call to autosave trigger on initializaiton 2020-06-18 17:59:35 +02:00
Jaime van Kessel
f0002e265b
Mark recently constructed stacks as not dirty
The stacks would get marked dirty for setting some metadata, but since thats
part of their construction, they aren't really dirty.

Previously, every single stack that was loaded would be marked as dirty, which causes unneeded
saving.
2020-06-18 17:39:58 +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