Commit graph

24017 commits

Author SHA1 Message Date
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
Louis Wouters
c87bd83618 Improved readability of putValue 2020-06-23 21:46:40 +02:00
Nino van Hooff
f35ca0eb7d Add Multiply Objects to Edit menu
CURA-7524
2020-06-23 15:03:25 +02:00
Nino van Hooff
2e0489c509 Merge remote-tracking branch 'origin/master' 2020-06-23 14:47:01 +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
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
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
Kostas Karmas
364769d821 Remove only the hidden printers when removing a printers
When printers share the same group_id, they are removed, regardless if
they are hidden or not. This was resulting in sometimes removing
multiple printers when removing a printer that was created by a project
file.
This PR fixes that by actually checking whether the printer to be
removed is hidden.

CURA-7522
2020-06-18 13:49:50 +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
Jaime van Kessel
466ec7c42a
Remove duplicated variable
It was holding the same data as extruders_to_disable
2020-06-18 11:08:17 +02:00
Jaime van Kessel
207138e49c
Merge branch 'master' of github.com:Ultimaker/Cura 2020-06-18 11:04:14 +02:00
Jaime van Kessel
930d92869a
Fix syncing empty material with cloud
For some reason the cloud gives a 0000 guid when the material is empty.
2020-06-18 11:03:40 +02:00
Konstantinos Karmas
6634a2bff3
Merge pull request #7928 from Ultimaker/CURA-7509_plugin_versions_on_crash
[CURA-7509] On crash report unbundled plugins + version numbers.
2020-06-18 09:54:54 +02:00
Kostas Karmas
039823e68e Merge branch 'master' into CURA-7509_plugin_versions_on_crash 2020-06-18 09:13:28 +02:00