23221 Commits

Author SHA1 Message Date
Ghostkeeper
b03b41ac59
Optimise deflate compression with ECT
This would be completely lossless, except that I also told ECT that it can do away with the metadata of the zip archive such as timestamps. But they aren't being used by Cura anyway.
2020-04-21 08:57:28 +02:00
Ghostkeeper
10b04e5803
Merge branch 'master' into 3mf_platform_meshes
Conflicts:
	resources/definitions/skriware_2.def.json -> File was rewritten while I modified the platform mesh. All indentation was changed to tabs which caused a merge conflict.
2020-04-21 08:46:43 +02:00
Jaime van Kessel
3af44cb634
Ensure consistant spacing 2020-04-20 11:05:33 +02:00
Jaime van Kessel
ecdaecf1db
Merge branch 'patch-1' of https://github.com/skriDude/Cura 2020-04-20 11:03:08 +02:00
Jaime van Kessel
94f8b7dcd7
Merge branch 'optimise_obj_meshes' of github.com:Ultimaker/Cura 2020-04-20 10:46:36 +02:00
Ghostkeeper
ac23c9df22
Replace STL meshes with 3MF files
These are much smaller than their STL counterparts. This saves on download and installation time. Maybe also on loading time.
2020-04-18 22:40:43 +02:00
Ghostkeeper
fb4aec96a8
Decimate mesh models that were oversized
We have a guideline for 1MB. I thought we had a unit test for that that makes the tests fail if the models were oversized. But apparently not.
2020-04-18 21:23:13 +02:00
skriDude
933c44374d
Removed unnecessary parameters. 2020-04-17 17:17:39 +02:00
Kostas Karmas
e49d5f9156 Fix trailing slash in wanhao printers
CURA-7358
2020-04-16 18:00:57 +02:00
Jaime van Kessel
9ec606af5c
Merge branch '4.6' of github.com:Ultimaker/Cura 2020-04-16 13:25:04 +02:00
Jaime van Kessel
ab62ac6e01
Merge branch 'CURA-7364_cloud_sync_message_duplicated' of github.com:Ultimaker/Cura into 4.6 2020-04-16 13:17:40 +02:00
Jaime van Kessel
14f9228a1d
Merge branch '4.6' of github.com:Ultimaker/Cura into 4.6 2020-04-16 13:17:30 +02:00
Ghostkeeper
33a20fb10b
Merge branch '4.6' 2020-04-15 18:37:24 +02:00
Ghostkeeper
9f38374960
Also track Z coordinates and retract extra for the distance travelled then
Otherwise if a retracted move had a different Z coordinate, this would not be put in the final print. It's pretty simple to extend it this way.

Fixes #7458.
2020-04-15 18:37:13 +02:00
Ghostkeeper
76d401df9b
Merge branch '4.6' 2020-04-15 18:28:29 +02:00
Ghostkeeper
0ec020c963
Update Czech translations for Cura 4.6
These have been mailed to me by DenyCZ.

Contributes to issue CURA-7344.
2020-04-15 18:26:58 +02:00
Ghostkeeper
4876339d12
Remove extraneous space
This throws the translation checks off. Fixed it for next time.

Contributes to issue CURA-7344.
2020-04-15 18:16:44 +02:00
Ghostkeeper
8d51a80a9d
Merge branch '4.6' 2020-04-15 18:15:06 +02:00
Ghostkeeper
972b2e852f
Merge branch '4.6' of https://github.com/Patola/Cura into Patola-4.6 2020-04-15 18:12:49 +02:00
Ghostkeeper
0f6c53c2cb
Merge branch '4.6' 2020-04-15 18:08:08 +02:00
Ghostkeeper
a314c4943b
Fix import script if Uranium is not on your PYTHONPATH
It was doing an os.path.exists on the relative path which has no context of where we're looking from. So make it absolute first and then check for the existence of the file. Also take the correct parent folder then and improve debug output.
2020-04-15 18:08:04 +02:00
Ghostkeeper
47073268f9
Corrections to translations
These were some things that were found by automatic checks in PoEdit.

Contributes to issue CURA-7344.
2020-04-15 18:06:30 +02:00
Ghostkeeper
1cef21919e
Fix missing plural forms
The import script doesn't parse these correctly yet. Keep finding them now.
Some of the plural forms were incorrect. They were like that last time as well. Lionbridge isn't translating them correctly, but it's the fault of a very annoying interface in Smartling. I was able to fix all of them decently except Russian, so Russian will have to make do with just plural everywhere.

Contributes to issue CURA-7344.
2020-04-15 18:06:10 +02:00
Ghostkeeper
7b3482fcd8
Update translations from Lionbridge for Cura 4.6
These are the new translations we got. I didn't make any corrections yet, but I did already see some mistakes in the Chinese ones.

Contributes to issue CURA-7344.
2020-04-15 18:06:07 +02:00
Nino van Hooff
db758a7e19 Add None-checks to CloudPackageChecker
Might help prevent the sync message to show multiple times

CURA-7364
2020-04-15 17:16:38 +02:00
Jaime van Kessel
7d312f2f24
Merge branch 'master' of github.com:Ultimaker/Cura 2020-04-15 12:25:19 +02:00
Jaime van Kessel
d49cca3b8b
Add warning for when libsavitar is not up to date 2020-04-15 12:25:00 +02:00
Ghostkeeper
4050d3ccde
Prevent crash when a setting is not in any setting category
I don't know what exactly caused this since it's impossible to trace. But the crash happened with a setting called 'dual_gcode' which currently doesn't exist in Cura. So I think it must be some plug-in that adds it. In any case, it's good to be defensive about this sort of thing. Good type checking would've caught this for us.

Fixes Sentry issue CURA-JB.
2020-04-14 21:06:10 +02:00
Kostas Karmas
ea2eb2ce41 Merge branch '4.6' 2020-04-14 18:14:39 +02:00
konskarm
6241ca736e
Merge pull request #7498 from Ultimaker/CURA-7343_network_troubleshooting_link
CURA-7343_network_troubleshooting_link
2020-04-14 18:12:22 +02:00
Ghostkeeper
601c21cf2f
Merge branch '4.6' 2020-04-14 17:59:48 +02:00
Ghostkeeper
3dbd154492
Fix calculation of infill wipe distance starting from infill location
Subtract the thickness of the walls from this setting. This most likely ends up negative and thus not counting because it's maxed with something that starts at 0.
I've also simplified this algorithm a bit. Easier to follow if you ask me.

Done as a 5 minute fix.
2020-04-14 17:59:33 +02:00
Ghostkeeper
f6479840f6
Fix calculation of infill wipe distance starting from infill location
Subtract the thickness of the walls from this setting. This most likely ends up negative and thus not counting because it's maxed with something that starts at 0.
I've also simplified this algorithm a bit. Easier to follow if you ask me.

Done as a 5 minute fix.
2020-04-14 17:59:00 +02:00
Nino van Hooff
214e41f983 Use a more specific link for the network troubleshooting guide
CURA-7434
2020-04-14 16:55:36 +02:00
Ghostkeeper
0e30f0bb6b
Merge branch 'master' of github.com:Ultimaker/Cura 2020-04-14 14:20:17 +02:00
Ghostkeeper
ec31d7a673
Merge branch '4.6' of https://github.com/kazooless/Cura into kazooless-4.6 2020-04-14 14:18:16 +02:00
Jaime van Kessel
52f01a71c3
Use base_file to check if a material is known
Fixes #7490
2020-04-14 11:18:40 +02:00
Jaime van Kessel
8269ae9501
Use base_file to check if a material is known
Fixes #7490
2020-04-14 09:49:34 +02:00
Cláudio 'Patola' Sampaio
df82beaff1 Updated pt_BR translations for Cura 4.6. 2020-04-13 05:08:53 +02:00
kazooless
1c315baee4 Add Ender-3 Pro without clip boundaries for magnetic bed 2020-04-10 12:19:19 -07:00
Ghostkeeper
168c55ce70
Optimise all OBJ meshes
The resolution of the coordinates in these meshes is now reduced to 1 micron. Any unnecessary trailing zeros are removed. Any unnecessary data is removed (like object name). Any comments are removed. All normals are removed and no longer used by the faces.
This should save 10MB on the download and installation size or so.
2020-04-10 18:01:25 +02:00
Jaime van Kessel
d0901c91f7
Update some documentation to the new style 2020-04-10 14:05:17 +02:00
Jaime van Kessel
2e9dca71ce
Remove a number of unused imports 2020-04-10 13:58:10 +02:00
Jaime van Kessel
fe27da5e8a
Remove a number of unused variables 2020-04-10 13:46:19 +02:00
Jaime van Kessel
6a6ad6e815
Remove unneeded semicolons 2020-04-10 13:34:57 +02:00
skriDude
ad99887693
Changed selected "default_value" to "value" 2020-04-10 12:13:10 +02:00
Ghostkeeper
96003c1335
Fix unassigned variable 'theme'
Contributes to issue CURA-7357.
2020-04-10 11:53:54 +02:00
Ghostkeeper
2f4a702606
Merge branch '4.6' 2020-04-10 11:25:17 +02:00
Ghostkeeper
9c55ae5ac5
Allow print job actions from 5.2.12
This feature was backported to 5.2 so that UM3 can actually do this as well.
2020-04-10 10:39:18 +02:00
Nino van Hooff
95a8eb6ace Merge remote-tracking branch 'origin/4.6' into 4.6 2020-04-09 17:06:06 +02:00