24057 Commits

Author SHA1 Message Date
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
b70e6b0172
Merge pull request #7969 from maukcc/master
HMS434 update
2020-06-29 11:48:55 +02:00
Nino van Hooff
2fed7a835e
Merge pull request #7990 from cclauss/patch-1
Avoid SyntaxWarning on Python >= 3.8
2020-06-29 11:48:03 +02:00
Ghostkeeper
8ab765576f
Attempt at improving documentation of Slicing Tolerance setting
Make it more clear that it's about the vertical tolerance only.
Also correct the interpretation at the end. Inclusive retains more details, while exclusive makes parts fit better, not the other way around.

Contributes to issue #6093.
2020-06-29 11:32:13 +02:00
Christian Clauss
e78248eaf3
Avoid SyntaxWarning on Python >= 3.8 2020-06-28 15:20:44 +02:00
Ghostkeeper
8b10bef0a6
Actually compress the 3MF archive
Yeah, I only compressed one of the files in it previously.
2020-06-26 19:00:15 +02:00
Ghostkeeper
51d0545201
Actually compress the 3MF file
It was a zip archive but just using the archive 'compression' method, not LZMA or Zip or anything.
2020-06-26 18:58:37 +02:00
Ghostkeeper
ec66ce3445
Merge branch 'master' of https://github.com/louiswouters/Cura into louiswouters-master 2020-06-26 18:35:38 +02:00
Ghostkeeper
574f2426ef
Correct alignment after applying transformations
I had deleted the 2.5mm manually. Sorry.

Contributes to issue CURA-7534.
2020-06-26 17:59:49 +02:00
Ghostkeeper
922986a3f9
Apply transformation inside 3MF file
It turns out that we have another bug in Uranium: Transformations from 3MF files are not applied to the platform mesh. This makes sense because UM.Scene.Platform takes the mesh data (without transformations) from the node that it read and squashes that into the SceneNode for the platform. This SceneNode already has a transformation for the platform offset. The 3MF node also has a transformation from the 3MF's convention to have the origin in the front left. The 3MF reader then squishes the transformation from the node into that.
To fix this we'd need to either:
* separate the transformation of the 3MF file from the transformation from the 3MF convention to have the origin in the front left, so that we can pick and choose, or
* remove the transformation from the 3MF convention and apply it only on loading normal printed meshes, and then modify all of the 3MF platform files.

Both require significant effort. So instead I applied the transformation directly to the vertex data.
To do that I imported the file into Blender using my own Blender plug-in, exported to STL and imported that STL again to apply the transformations, and then exported the file from Blender again.
In Blender I also combined a lot of flat faces together, which reduced the file type losslessly.

Contributes to issue CURA-7534.
2020-06-26 17:56:52 +02:00
Ghostkeeper
201b6b6f89
Merge branch 'master' of https://github.com/beamup3d/Cura into beamup3d-master 2020-06-26 16:55:27 +02:00
Ghostkeeper
aa1964dd7b
Remove overrides of combing mode for CPE+
CPE+ must have combing mode set to 'all' now.

Contributes to issue CURA-7535.
2020-06-26 16:32:02 +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
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