19923 Commits

Author SHA1 Message Date
Ghostkeeper
02b0242807
Fix translatability of caution message
Never put the formatting within the i18nc call. Always put the formatted string inside, but the formatting call outside of the function, like this:

    catalog.i18nc('@info', 'I am {age} years old.').format(age = my_age)

Otherwise, when looking up the translation for the string, it's going to try to look up the translation for the formatted string (with the age already filled in). It won't be able to find that because this sentence was not translated for all possible ages of a human.
In this case I can make it even easier on the translator because the list must always follow after the text.
2019-06-14 11:00:52 +02:00
Ghostkeeper
52ed79805e
Enable numerous settings that just work fine with tree support
Found via a report in #5453.
2019-06-14 09:51:27 +02:00
Ghostkeeper
b5a59d19ff
Set acceleration to 500 for Tevo Tornado
The users of this printer in #5702 found this to be a better value to prevent layer shifting. Fixes #5702.
2019-06-12 10:38:54 +02:00
Ghostkeeper
9bcf1cd761
Reduce Tevo Tornado's jerk to 10 by default
This prevents layer shifts, according to the users in #5702.
2019-06-12 10:35:37 +02:00
Diego Prado Gesto
de5de8b9f1 Merge branch 'master' of github.com:Ultimaker/Cura 2019-06-11 09:54:14 +02:00
Diego Prado Gesto
b90fb9f810 Make the layer and path slider a bit longer 2019-06-11 09:53:37 +02:00
Jaime van Kessel
f842769c1d Fix situation where _calculateMoveFromWallRadius could cause exception 2019-06-07 17:21:28 +02:00
Jaime van Kessel
4018c24b4c Split out all the individual steps for getting the edgeDisallowedSize
This makes it so much easier to write tests for it
2019-06-07 17:14:51 +02:00
Jaime van Kessel
3967c995f1 Split out updating the machine size properties so it can be tested easily 2019-06-07 16:42:51 +02:00
Jaime van Kessel
2f83fa1a42 Small code simplification 2019-06-07 16:34:38 +02:00
Jaime van Kessel
887f50dee4 Add tests for calculating the extra z clearance 2019-06-07 16:30:29 +02:00
Jaime van Kessel
54740dd486 Add some unhappy flow tests for rebuild 2019-06-07 16:09:18 +02:00
Jaime van Kessel
090b7ac225 Refactor the rebuild function to cut it up in smaller bits 2019-06-07 16:08:47 +02:00
Jaime van Kessel
8fcec63ccb Add tests for computing raft thickness 2019-06-07 15:52:35 +02:00
Jaime van Kessel
a98f88e6a3 Also move _getMachineTypeNameFromId to DiscoveredPrintersModel
As this is only used by that model, there is no point in keeping it in the machine manager
2019-06-07 15:04:19 +02:00
Jaime van Kessel
5eee3fc368 Move hasHumanReadableMachienTypeName to discovered printers 2019-06-07 15:01:30 +02:00
Jaime van Kessel
05a5f66856 Added few more deprecation warnings for functions that bloat the machine manager 2019-06-07 14:57:32 +02:00
Jaime van Kessel
8907a624e1 Add test to check the number of known settings 2019-06-07 14:45:36 +02:00
Jaime van Kessel
06aaf40d06 Add test for computation of prime blob 2019-06-07 14:29:15 +02:00
Jaime van Kessel
a8a4180f6f Merge branch 'master' of github.com:Ultimaker/Cura 2019-06-07 13:41:43 +02:00
Jaime van Kessel
1759e01b27 Make _geSettingFromAllExtruders use zip
This is a bit cleaner to use
2019-06-07 13:40:41 +02:00
Jaime van Kessel
a6ca49d68c Fix typing for Buildvolume 2019-06-07 13:34:57 +02:00
Ghostkeeper
ec22ddcb9a
Give infill and support interface a more distinct colour
We had complaints that infill had a too similar colour to skin.

Fixes #5827.
2019-06-07 13:30:15 +02:00
Jaime van Kessel
2d4fe5c128 Add some simple tests for meshbuilding of the build volume 2019-06-07 13:05:00 +02:00
Lipu Fei
d0f1b74bd7 Fix mistake in CLI check
CURA-6549
2019-06-06 12:16:54 +02:00
Lipu Fei
0e55b25e0b
Merge pull request #5768 from Ultimaker/CURA-5395-orthographic-view
Support for orthographic view
2019-06-06 11:49:25 +02:00
Lipu Fei
280ddea1ae Do not redirect stdout and stderr for CLI
CURA-6549
2019-06-06 11:43:14 +02:00
Ghostkeeper
81919b75df
Implement Z Hop Speed
Z Hops have their own speeds now. It no longer uses the maximum feedrate, which was unknown for some printers and therefore limited only to light speed, which was too much for some printers to handle.

Implements CURA-6532.
2019-06-06 10:15:50 +02:00
Jaime van Kessel
080cafe78f Increase the looking from offset so model doesn't get cut off
CURA-5965
2019-06-06 10:01:20 +02:00
Jaime van Kessel
7880c8d3f4 Revert "Clean up snapshot code"
This reverts commit 37b904a3c4859e1fb01fa68c59559373152cca3c.
2019-06-06 09:58:15 +02:00
Jaime van Kessel
fdea83cbd6 Merge branch 'master' of github.com:Ultimaker/Cura 2019-06-06 09:51:16 +02:00
Jaime van Kessel
37b904a3c4 Clean up snapshot code 2019-06-06 09:51:06 +02:00
Ghostkeeper
3ea68e6c7f
Fix width of labels in machine settings
- Elide the titles in the columns.
- Give the width of a ratio so that it doesn't matter if the font renders differently or if we resize the window.

Fixes #5742.
2019-06-06 09:44:42 +02:00
Jaime van Kessel
d0cf7f04bf Don't show "Your rating" for generic materials 2019-06-05 16:45:34 +02:00
Jaime van Kessel
499e02579e Fix hiding settings that were not visible by default
CURA-6556
2019-06-05 16:36:30 +02:00
Lipu Fei
c2b866fd05 Fix scale for just ungrouped objects
CURA-6565

Same as in Uranium _calculateAABB()
2019-06-05 13:29:45 +02:00
Jaime van Kessel
6e053e0bb6 Mark objects that are completely below the buildplate as outside of the buildvolume
CURA-6545
2019-06-05 13:25:43 +02:00
Remco Burema
7aa17da536
Merge pull request #5791 from Ultimaker/CURA-6490_fix_ppa_attempt2
CURA-6490 Fix settings attempt 2
2019-06-05 13:07:47 +02:00
Lipu Fei
a6fea1bf40 Simplify check
CURA-6545
2019-06-04 07:43:58 +02:00
Ghostkeeper
c00bd8c138
Merge branch 'fix_emptyviewmenucomponent_url' of https://github.com/fieldOfView/Cura into fieldOfView-fix_emptyviewmenucomponent_url 2019-06-03 14:25:38 +02:00
Ghostkeeper
228fb62e60
Handle functions in user or user-changes profiles
Normally the user hasn't got any of these unless he selected a setting to be copied for all extruders.
2019-06-03 14:15:40 +02:00
Ghostkeeper
24b1930b14
Don't erase G92 commands
They should only be read in order to detect travel moves properly. They don't need to be modified in any way.

Fixes #4878.
2019-06-03 11:17:04 +02:00
Jaime van Kessel
163b54c441
Minor fix to the FR template 2019-06-03 09:55:48 +02:00
Ghostkeeper
2f92479db2
Don't use caps for log entry of firmware update
Also it might be useful to show what the newly discovered version is.
2019-06-03 09:17:35 +02:00
fieldOfView
6c64486cd6 Fix creating QUrl to EmptyViewMenuComponent.qml 2019-06-02 14:50:10 +02:00
Jaime van Kessel
55c7f546b2 Split up the rebuild function of the buildvolume
This should make it a lot easier to test
2019-05-31 17:32:49 +02:00
Jaime van Kessel
f85095f5d8 Added simple test for BuildVolume 2019-05-31 17:19:27 +02:00
Jaime van Kessel
54ffcc478c Add some tests for DiscoveredPrintersModel 2019-05-31 17:03:38 +02:00
Jaime van Kessel
7e76505464 Add some tests for _compute2DConvexHull 2019-05-31 16:37:46 +02:00
Jaime van Kessel
1e4a73590a Merge branch 'master' of github.com:Ultimaker/Cura 2019-05-31 16:16:44 +02:00