23216 Commits

Author SHA1 Message Date
Nino van Hooff
797d6ed438 Convert doxygen to rst for CuraEngineBackend 2020-05-08 15:23:51 +02:00
Nino van Hooff
8f3827d5ae Convert doxygen to rst for 3MFReader/Writer and AMFReader 2020-05-08 15:14:39 +02:00
Jelle Spijker
679739d09d
Applied requested changes proposed by @ninovanhooff
Fixed a couple of missed double quotes, trailing and leading spaces, to long comment lines
2020-04-27 20:09:00 +02:00
Jelle Spijker
9b44ca37ef
Converted comments in dir Cura/cura/Arranging to rst style
Converted doxygen style comments to reStructuredText style in the files found in Cura/cura/Arranging directory recursively  using the script dox_2_rst.py (provided in the Uranium repo). Comments were manually checked and changed if needed.

Various missing return types were added to complete Typing support
2020-04-23 12:13:24 +02:00
Jelle Spijker
68318d20fd
Converted comments in dir Cura/cura/API to rst style
Converted doxygen style comments to reStructuredText style in the files found in Cura/cura/API directory recursively  using the script dox_2_rst.py (provided in the Uranium repo). Comments were manually checked and changed if needed.

Comments from the hidden attributes in the class CuraAPI (_acount, _backups, _interface) were moved to the public property getters, so they docstrings are exposed to the user.
2020-04-22 20:57:41 +02:00
Jelle Spijker
6aedab78dc
Converted comments in dir Cura/cura to rst style
Converted doxygen style comments to reStructuredText style in the files found in Cura/cura directory using the script dox_2_rst.py (provided in the Uranium repo). Comments were manually checked and changed if needed.
2020-04-21 16:58:45 +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
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
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
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
Nino van Hooff
92d605f022 Update wording for authorization server error message
CURA-7346

(cherry picked from commit ea00ff3c4742d7c9f7f9574f72e24e3255641ef6)
2020-04-09 17:05:26 +02:00
Jaime van Kessel
cf6ad0736a Gracefully handle binding erorr for local OAUTH2 Server
CURA-7346

(cherry picked from commit 849e012756595e266be66d60c32beebbbe61beac)
2020-04-09 17:05:19 +02:00
Nino van Hooff
ea00ff3c47 Update wording for authorization server error message
CURA-7346
2020-04-09 16:59:43 +02:00
Ghostkeeper
1047cdd76c
Catch OSError when actually writing the UFP stream
This includes getting an error message when we don't have write access any more or when the file was deleted or connection lost while we were writing to it.

Fixes Sentry issue CURA-GX.
2020-04-09 14:55:14 +02:00