Commit graph

9400 commits

Author SHA1 Message Date
Jaime van Kessel
3c9010fde4 Minor refactor to improve readability
CURA-3390
2017-03-13 15:29:25 +01:00
Jack Ha
d7e35fa480 Added global qualities for Superdraft and Verydraft. CURA-3510 2017-03-13 14:32:45 +01:00
Ghostkeeper
94c607e785
Also tests whether the upgrade didn't remove any good settings
It shouldn't remove any settings that are not set for removing.
It's now also using the actual _removed_settings property to make sure that the test upgrades for the simple case of another removed setting.

Contributes to issue CURA-3479.
2017-03-13 14:08:56 +01:00
Ghostkeeper
ad0d0bbd96
Add test for removing settings from instance containers
Currently only the happy path. I plan to add tests whether the rest of the settings are still intact.

Contributes to issue CURA-3479.
2017-03-13 13:49:19 +01:00
Ghostkeeper
d866216f0c
Add tests for removed settings from preferences files
Contributes to issue CURA-3479.
2017-03-13 13:39:10 +01:00
Jaime van Kessel
6167dc2350 Merge branch '2.5' of github.com:Ultimaker/Cura 2017-03-13 13:31:53 +01:00
Tim Kuipers
7213d3b5e6 fix: disable infill_sparse_thickness and gradual_infill_steps when spaghetti infill is enabled (CURA-3238) 2017-03-13 13:30:27 +01:00
Ghostkeeper
14faf1abad
Use correct naming scheme for functions
It needs to start with 'test_' for pytest. But otherwise it needs to follow our naming conventions for function names.

Contributes to issue CURA-3479.
2017-03-13 12:49:48 +01:00
Ghostkeeper
ce50a6ebf1
Add tests for cfg_version
These test if the output of cfg_version is as expected.

Contributes to issue CURA-3479.
2017-03-13 12:44:18 +01:00
Ghostkeeper
f15990e89c
Implement version upgrade from 2.4 to 2.5
The version upgrade currently only removes the setting start_layers_at_same_position.

Contributes to issue CURA-3479.
2017-03-13 12:42:25 +01:00
Ghostkeeper
cbfbc70fa3
Upgrade built-in instance containers
These are now upgraded to version 3, meaning that they will have to increase their version numbers and remove any start_layers_at_same_position settings they define. None of these profiles define any start_layers_at_same_position so it's just the version number then.

Contributes to issue CURA-3479.
2017-03-13 12:42:25 +01:00
Ghostkeeper
b29ccdc659
Add Uranium to PYTHONPATH for testing
This 'assumes' you have Uranium as a sister-directory next to Cura. This is how it's always been. We should probably change that to a CMake variable some day.
2017-03-13 12:41:59 +01:00
Ghostkeeper
e83fd3a321
Remove old adding of tests
No longer needed.
2017-03-13 12:40:47 +01:00
Ghostkeeper
1d22d87ae0
Ignore .cache directory created by unit tests
CTest creates this directory for its test results.
2017-03-13 12:40:10 +01:00
Ghostkeeper
ecc973951e
Support running unit tests for plug-ins 2017-03-13 12:30:47 +01:00
jack
7b9ea1073c Merge pull request #1530 from Ultimaker/bugfix_CURA-3507_more-robust-quality-lookup
CURA-3507 Make quality lookup more robust
2017-03-13 10:26:15 +01:00
Lipu Fei
55727f20e5 CURA-3507 Make quality lookup more robust 2017-03-13 09:45:23 +01:00
Ghostkeeper
8becc9b119
Merge branch '2.5' 2017-03-13 09:34:47 +01:00
Ghostkeeper
41e3336ea9
Merge branch 'feature_omp_writeGcode' into 2.5 2017-03-13 09:34:37 +01:00
Ghostkeeper
5d0f7f9042 Merge branch '2.5' 2017-03-10 18:20:58 +01:00
Ghostkeeper
137de23221
Always prefer 0.4mm nozzles at initial loading
Otherwise we might end up with 0.8mm AA cores, and those don't have a normal quality profile so that gives all sorts of trouble.
2017-03-10 18:20:42 +01:00
Ghostkeeper
74d6d879f7
Implement version upgrade from 2.4 to 2.5
The version upgrade currently only removes the setting start_layers_at_same_position.

Contributes to issue CURA-3479.
2017-03-10 16:58:58 +01:00
Ghostkeeper
b162be4df8
Upgrade built-in instance containers
These are now upgraded to version 3, meaning that they will have to increase their version numbers and remove any start_layers_at_same_position settings they define. None of these profiles define any start_layers_at_same_position so it's just the version number then.

Contributes to issue CURA-3479.
2017-03-10 16:49:57 +01:00
Tim Kuipers
f321417d9e Merge branch '2.5' 2017-03-10 16:03:38 +01:00
Tim Kuipers
5e782ae85b fix: type fix for last commit (CURA-3440) 2017-03-10 16:03:23 +01:00
Tim Kuipers
0f6c47f467 Merge branch '2.5' 2017-03-10 16:00:57 +01:00
Tim Kuipers
b03ac3ea78 JSON fix: skin angle for expansion is max angle; better description (CURA-3440) 2017-03-10 15:59:47 +01:00
Jaime van Kessel
d93b137c95 No longer add nodes that don't have children or MeshData
CURA-3493
2017-03-10 15:48:29 +01:00
Jaime van Kessel
370f90db68 Merge branch '2.5' of github.com:Ultimaker/Cura 2017-03-10 14:24:05 +01:00
Jaime van Kessel
1d7bf51152 Added confirmation message for starting new project
CURA-3494
2017-03-10 14:10:24 +01:00
MaukCC
0ea296f240 Update cartesio.def.json 2017-03-10 13:55:08 +01:00
MaukCC
e5e518ba76 Update cartesio.def.json 2017-03-10 13:52:24 +01:00
MaukCC
e451737faf Update cartesio.def.json 2017-03-10 13:29:34 +01:00
Lipu Fei
c9d223acd4 CURA-3452 Save spool cost and weight upon change 2017-03-10 12:41:28 +01:00
Jaime van Kessel
66afc2a391 Added new project option
CURA-3494
2017-03-10 11:02:27 +01:00
Ghostkeeper
039c1b92de
Add profiles for 0.8mm nozzle sizes 2017-03-09 18:11:06 +01:00
Jaime van Kessel
fc929428d4 Merge branch 'bugfix_CURA-3480' of github.com:Ultimaker/Cura 2017-03-09 14:25:39 +01:00
Lipu Fei
2ac4a7aca9 CURA-3482 _onMaterialMetaDataChanged() should take argument(s) 2017-03-09 14:17:25 +01:00
Lipu Fei
fa71f22bf6 CURA-3480 Fix boolean values for Cartesio config files 2017-03-09 14:14:05 +01:00
MaukCC
fb7c0e3fea Create extra_coarse.inst.cfg 2017-03-09 10:37:35 +01:00
MaukCC
68017996a0 Create coarse.inst.cfg 2017-03-09 10:33:47 +01:00
MaukCC
00bcc1e6aa Update cartesio.def.json 2017-03-09 10:32:48 +01:00
Jack Ha
9d6dd1580b WIP Added first arranger functions. CURA-3239 2017-03-09 10:21:25 +01:00
MaukCC
2ea8029a81 Update cartesio.def.json 2017-03-09 09:43:43 +01:00
Lipu Fei
e67aecb041 CURA-3221 Translate column name "Default" 2017-03-08 15:36:11 +01:00
Lipu Fei
8b8fb8db95 Coding style fixes 2017-03-08 15:09:02 +01:00
Lipu Fei
5724ee71d0 CURA-3221 Group items into categories for the profile change summary 2017-03-08 15:08:45 +01:00
Tim Kuipers
3be6a0966b Merge branch 'smartavionics-mb-combing-retract-before-outer-wall' 2017-03-08 13:11:57 +01:00
Jack Ha
af6506e4bb Merge branch 'master' of github.com:Ultimaker/Cura 2017-03-08 12:56:58 +01:00
Jack Ha
fc8bd75ffe Added changelog line for layerview slider. 2017-03-08 12:56:47 +01:00