24795 Commits

Author SHA1 Message Date
Jaime van Kessel
4a47606176
Fix mypy issue 2020-08-21 15:52:13 +02:00
Jaime van Kessel
eb599a837d
Merge branch 'master' of github.com:Ultimaker/Cura 2020-08-21 15:39:18 +02:00
Jaime van Kessel
ef4fae5b80
Expand tests for hasUserSettings 2020-08-21 15:39:03 +02:00
Jaime van Kessel
e1e0a4d32c
Expand the getMachine test 2020-08-21 15:16:29 +02:00
Jaime van Kessel
ce930220e9
Add tests for SetActiveMachine 2020-08-21 15:14:44 +02:00
Ghostkeeper
a4e179533f
Copy plural forms to translation
The import script doesn't handle these.

Contributes to issue CURA-7622.
2020-08-21 14:51:27 +02:00
Kostas Karmas
4e87f37791 Fix visual issues with long labels in the open project dialog
The following issues are fixed:
 * Printer/Quality/Material names will be wrapped if they are too long
 * The width of the window is determined based on the content of the dialog.
	With that there will not longer be overlap between the dialog content and the buttons.
2020-08-21 14:50:00 +02:00
Ghostkeeper
fdd168257c
Add Czech translations for Cura 4.7
We received these via e-mail.

Contributes to issue CURA-7622.
2020-08-21 14:00:12 +02:00
Ghostkeeper
add2b5784f
Add Taiwanese translations
We received those via e-mail.

Contributes to issue CURA-7622.
2020-08-21 13:56:00 +02:00
Ghostkeeper
501361dd2b
Update PO-revision-dates
The import script should really be doing this automatically for us... Oh well.

Contributes to issue CURA-7622.
2020-08-21 13:42:07 +02:00
Ghostkeeper
1c459679b9
Import translations from Lionbridge
These are the result of running the lionbridge_import.py script on the translation files that we received from Lionbridge through Smartling. It contains the new translations for Cura 4.7.

Contributes to issue CURA-7622.
2020-08-21 13:38:15 +02:00
Ghostkeeper
37855e7d19
Merge branch '4.7' 2020-08-21 11:18:39 +02:00
Ghostkeeper
a399c8f5fb
Hide Shared Heater functionality
See the explanation in the comment here as to why.
2020-08-21 11:18:20 +02:00
Ghostkeeper
9ea418c0a1
Revert "Revert "Merge branch '4.7' of github.com:Ultimaker/Cura into 4.7""
This reverts commit 28f4d8513db7efce17bfd8b80fa7c8b237fd1c18.
The original revert was to revert an accidental merge from master to 4.7. This now reverts the revert on Master, so that we still have those changes on Master.
2020-08-20 16:35:52 +02:00
Ghostkeeper
a757dc7fa0
Merge branch '4.7' 2020-08-20 16:34:58 +02:00
Jaime van Kessel
af05aa61b7
Remove unneeded binding
This binding wasn't needed to prevent a binding loop, but it did cause
the length to not be updated correctly sometimes

CURA-7589
2020-08-20 16:05:52 +02:00
Ghostkeeper
28f4d8513d
Revert "Merge branch '4.7' of github.com:Ultimaker/Cura into 4.7"
This reverts commit 7f47f12bf0a9cf305542b6c21600ce9b804c1dfd, reversing
changes made to dd42c87da762d2030ee2220bc6f0a3e44cf85c28.
2020-08-20 16:01:46 +02:00
Ghostkeeper
7f70acbaf1
Also use FindPythonInterp when gathering the tests 2020-08-20 14:34:36 +02:00
Ghostkeeper
808a0bf4aa
Don't use the new FindPython3 script from CMake
I don't know what it is with this one, but it's finding the wrong one. We specify through the prefix that it should search in the cura-build-environment first, but apparently it's not listening to that. As a result it's getting Python 3.6, and then stops because it can't find the headers for that version. It wouldn't need the headers in this case, but if it didn't crash here it would crash during the run time because libArcus and libSavitar have been linked to Python 3.5.
2020-08-20 14:30:28 +02:00
Jelle Spijker
b685da5a24
Merge pull request #8195 from Ultimaker/GetPropertySpeedImprovements
Get property speed improvements
2020-08-19 16:41:26 +02:00
Ghostkeeper
74b9771c7d
Code style: Fields have lower camel casing
As specified in the Ultimaker/Meta repository.
2020-08-19 15:46:08 +02:00
Ghostkeeper
9145a7e9e6
Remove unused import
Done during investigation of #8075.
2020-08-19 15:35:57 +02:00
Jaime van Kessel
44885ab9a4
Merge branch '4.7' of github.com:Ultimaker/Cura 2020-08-18 14:14:11 +02:00
Jaime van Kessel
2fe9ee2cf2
Merge branch '4.7' of github.com:Ultimaker/Cura into 4.7 2020-08-18 13:54:58 +02:00
Jaime van Kessel
907caa53f0
Ensure that changing material type results in profile re-evaluation
CURA-7657
2020-08-18 13:54:21 +02:00
Ghostkeeper
cb11dd763d
Merge branch '4.7' 2020-08-18 11:12:24 +02:00
Ghostkeeper
dea53b9c02
Revert "Use extruderList rather than deprecated extruders property"
This reverts commit 458acb356f11f50c3327b5af0be8531fb761548f.
The change was wrong. The code refers to PrinterOutputModel.extruders which is not deprecated, not to GlobalStack.extruders (which is deprecated).

Fixes #8204.
2020-08-18 10:38:50 +02:00
Ghostkeeper
16d934ff96
Merge branch '4.7' 2020-08-17 15:07:38 +02:00
Ghostkeeper
6d90c85fb2
Also show Connect Support Lines for lines pattern
Previously this was disabled because you should probably use the ZigZag pattern then. But I'm enabling it now because of two inconsistencies:
* The setting still works. So you can change the setting by switching to grid, triangles, cross or gyroid, then switch back to lines and still get connected support lines.
* The same happens with the infill patterns, where this setting is visible for the lines pattern.

Rather than changing the other two things (which involves changes to CuraEngine too to make it ignore the setting value for the lines pattern), I've opted to change it here and fix both inconsistencies at once. If I were to make the setting dysfunctional, it would also lead to user confusion, because they then need to discover that they need to change the infill pattern, which may look unlogical to them.

Fixes #8192.
2020-08-17 15:07:26 +02:00
Jaime van Kessel
4bc214f859
Merge branch '4.7' of github.com:Ultimaker/Cura 2020-08-17 14:10:36 +02:00
Jaime van Kessel
ea7dc0ff01
Fix custom profiles not always being visible in menu
CURA-7589
2020-08-17 14:09:27 +02:00
Cláudio 'Patola' Sampaio
9dcdc1f28a Updated pt_BR strings for 4.7 2020-08-16 22:53:11 +02:00
Aleksey Karadzhi
573a8c8720 Add more nozzle diameter variants (0.3, 0.5, 0.6) 2020-08-16 14:10:10 +03:00
Aleksey Karadzhi
29ade75429 Add 'Coarse' quality profile (0.4h for 0.8d) 2020-08-16 14:09:15 +03:00
Aleksey Karadzhi
3522501fa8 Adjust base print settings for all FB printers 2020-08-16 14:07:10 +03:00
Aleksey Karadzhi
2c972d98d4 Add 'Flying Bear Ghost 5' printer 2020-08-16 14:04:04 +03:00
oducceu
f2b3596554
Merge pull request #2 from Ultimaker/master
Update Fork
2020-08-15 23:41:53 +03:00
Jaime van Kessel
8b70d1b89e
Move codestyle to the begining of the tests
Since it's one of the more expensive tests, it might actually knock off a few seconds
2020-08-14 16:42:22 +02:00
Jaime van Kessel
01aa729577
Split up build & test
This should make the output a bit more segmented (and thus, more readable)
2020-08-14 16:37:45 +02:00
Jaime van Kessel
dd6467303e
Add option to not print the list of plugins installed.
This should make it a lot easier to read the test output
2020-08-14 16:25:47 +02:00
Jaime van Kessel
a9c67542bf
Don't generate the translations when running the CI 2020-08-14 16:01:40 +02:00
Jaime van Kessel
04c216462a
Fix the unit test
Previously we would only look at the state, but that isn't the only thing it should look at.
It should override the value of a resolve if it's defined in user changes or QualityChanges.
2020-08-14 15:44:47 +02:00
Jaime van Kessel
43efac491d
Fix the unit test
Previously we would only look at the state, but that isn't the only thing it should look at.
It should override the value of a resolve if it's defined in user changes or QualityChanges.
2020-08-14 15:41:40 +02:00
Jaime van Kessel
bc67b057ea
Add missing required typing 2020-08-14 15:19:59 +02:00
Jaime van Kessel
eee84a82bf
Use exception instead of check if key is in dict
Since the amount of times that the key is in there is orders of magnitude
larger, it's better to catch the exception when it doesn't (as that is
slightly faster)
2020-08-14 15:15:33 +02:00
Jaime van Kessel
9c904f95ce
Add a cache for settable_per_extruder property 2020-08-14 14:51:46 +02:00
Jaime van Kessel
51737dccd6
Don't create a context when it's not provided
The rest of the functions already assume that None is an empty context
2020-08-14 14:19:19 +02:00
Jaime van Kessel
4c00a8ff2c
Add extra short-circuit for resolve 2020-08-14 13:57:09 +02:00
Jaime van Kessel
9a0264644b
Simplify the _shouldResolve function
This increases the speed of the setting resolvement.
2020-08-14 13:41:20 +02:00
Kostas Karmas
cee7ac2ccc Merge branch '4.7' 2020-08-14 13:33:53 +02:00