Commit graph

12694 commits

Author SHA1 Message Date
Jaime van Kessel
0bcde6a41c Merge branch 'master' of github.com:Ultimaker/Cura 2017-04-12 16:21:26 +02:00
Jaime van Kessel
d7e5e5780b Fixed width & height not being settable to 0 2017-04-12 16:21:03 +02:00
CRojasV
28df570311 Modify versión Number
fixed the versión number.
2017-04-12 09:06:57 -05:00
Jack Ha
2879ec0e30 Permission for file. CURA-3676 2017-04-12 15:58:37 +02:00
Jack Ha
c7a6d42920 Fixed arranger multiplying too big objects and arrange All. CURA-3676 2017-04-12 15:58:09 +02:00
Ghostkeeper
c2fdf68caf
Set Equalize Filament Flow to True for all 0.8mm profiles
Orders from the materials team. They mistakenly set this to False in their original profiles.

Contributes to issue CURA-3650.
2017-04-12 15:42:09 +02:00
Ghostkeeper
397c2666f0
Optimise profiles for 0.8mm cores
Sample testing confirms that these are equal to their originals. Nylon, PLA and PVA were already optimised, but ABS and CPE weren't. Now all are optimised except some 0.4mm core profiles. I'll see to those next. Note that the filament flow compensation setting is still wrong in these profiles (it was wrong in the original profiles as well).

Contributes to issue CURA-3650.
2017-04-12 15:38:07 +02:00
Jaime van Kessel
3e75583f2b Huge models no longer block loading
CURA-3676
2017-04-12 15:09:31 +02:00
MaukCC
0768cea49b Add files via upload 2017-04-12 15:08:36 +02:00
MaukCC
a78bb88ebc Add files via upload 2017-04-12 15:07:11 +02:00
MaukCC
46426db8e6 Create cartesio_global_Coarse_Quality.inst.cfg 2017-04-12 15:06:23 +02:00
MaukCC
fb3966d8f5 Delete cartesio_0.8_pla_draft.inst.cfg 2017-04-12 15:05:38 +02:00
MaukCC
bcbe7bdbd4 Delete cartesio_0.4_pla_draft.inst.cfg 2017-04-12 15:05:28 +02:00
MaukCC
99afe3648e Delete cartesio_0.25_pla_draft.inst.cfg 2017-04-12 15:05:16 +02:00
MaukCC
f6799d64b7 Update cartesio_0.25.inst.cfg 2017-04-12 15:04:39 +02:00
MaukCC
2bcbd7415e Update cartesio_0.4.inst.cfg 2017-04-12 15:04:15 +02:00
MaukCC
383c62218d Update cartesio_0.8.inst.cfg 2017-04-12 15:03:59 +02:00
MaukCC
3319d07729 Update cartesio.def.json 2017-04-12 15:02:19 +02:00
Jaime van Kessel
299ad624da Minor refactor; Return None instead of weird 999999 if no suitable location was found 2017-04-12 15:01:39 +02:00
MaukCC
f35a4bf276 Update cartesio_0.4.inst.cfg 2017-04-12 13:15:09 +02:00
MaukCC
f019d05422 Update cartesio_0.25.inst.cfg 2017-04-12 13:13:24 +02:00
MaukCC
10dbd7e683 Update cartesio_0.8.inst.cfg 2017-04-12 13:12:55 +02:00
Arjen Hiemstra
0c232c9462 ExtruderStack requires a next stack, so make sure it has that in tests 2017-04-12 12:06:02 +02:00
Arjen Hiemstra
d29ae60d38 Add missing Any import 2017-04-12 12:05:40 +02:00
Jaime van Kessel
bfc8cc8a9e Codestyle 2017-04-12 10:51:46 +02:00
MaukCC
642dfa9372 Update cartesio_0.8_pla_draft.inst.cfg 2017-04-12 10:47:30 +02:00
MaukCC
c41392a101 Update cartesio_0.25_pla_draft.inst.cfg 2017-04-12 10:47:15 +02:00
MaukCC
a6346b1277 Add files via upload 2017-04-12 10:45:17 +02:00
MaukCC
d0cc5c1a0c Update cartesio.def.json 2017-04-12 10:44:29 +02:00
MaukCC
8da7fbb119 Create cartesio_0.4_pla_draft.inst.cfg 2017-04-12 10:43:36 +02:00
MaukCC
1f4bc708ca Update cartesio_0.25.inst.cfg 2017-04-12 10:33:44 +02:00
MaukCC
952fce4eda Update cartesio_0.4.inst.cfg 2017-04-12 10:33:24 +02:00
MaukCC
5069dfbf65 Update cartesio_0.8.inst.cfg 2017-04-12 10:32:54 +02:00
MaukCC
14e65ae2b8 Update cartesio.def.json 2017-04-12 10:10:57 +02:00
Ghostkeeper
70055d35c0
Remove superfluous mocking and fixtures
These are now no longer used by the tests.

Contributes to issue CURA-3497.
2017-04-12 10:00:45 +02:00
Ghostkeeper
eaf180c150
Let setProperty tests test only whether setProperty on container is called
This makes these tests more simple to mock and stuff and also removes all dependencies of these tests.

Contributes to issue CURA-3497.
2017-04-12 10:00:45 +02:00
Ghostkeeper
06797abafe
Change expected exception in test_set...ByIdDoesntExist
It should raise an InvalidContainerError rather than a KeyError.

Contributes to issue CURA-3497.
2017-04-12 10:00:45 +02:00
Ghostkeeper
0e82c84790
Let test_setVariantByIdExists use new container registry functionality
It sets the container it expects beforehand and tests for its ID.

Contributes to issue CURA-3497.
2017-04-12 10:00:45 +02:00
Ghostkeeper
4db7c6ae66
Let test_setQualityChangesByIdExists use new container registry functionality
It sets the container it expects beforehand and tests for its ID.

Contributes to issue CURA-3497.
2017-04-12 10:00:44 +02:00
Ghostkeeper
972e94386c
Let test_setQualityByIdExists use new container registry functionality
It sets the container it expects beforehand and tests for its ID.

Contributes to issue CURA-3497.
2017-04-12 10:00:44 +02:00
Ghostkeeper
27f053ad7b
Let test_setMaterialByIdExists use new container registry functionality
It sets the container it expects beforehand and tests for its ID.

Contributes to issue CURA-3497.
2017-04-12 10:00:44 +02:00
Ghostkeeper
361b58f49c
Let container_registry return a pre-set value for what containers it finds
This makes a lot of tests more simple, without requiring elaborate mocks, patches and fixtures.

Contributes to issue CURA-3497.
2017-04-12 10:00:44 +02:00
Ghostkeeper
479176bc6f
Remove superfluous mocking and fixtures
There, that's better.

Contributes to issue CURA-3497.
2017-04-12 10:00:44 +02:00
Ghostkeeper
09ab895feb
Only test whether setProperty calls setProperty on proper container
It sets up a mock container and records whether setProperty is called on that container. Whether that actually sets the property correctly is up to the instance container.

Contributes to issue CURA-3497.
2017-04-12 10:00:44 +02:00
Ghostkeeper
2161cf9f52
Remove superfluous output_value parameter
It's not used any more since we don't test the actual instance container any more.

Contributes to issue CURA-3497.
2017-04-12 10:00:44 +02:00
Ghostkeeper
7f1930d452
Rewrite test_setPropertyUser
It now only checks if setProperty is being called on the user changes instance, not what the result of that should be.

Contributes to issue CURA-3497.
2017-04-12 10:00:44 +02:00
Ghostkeeper
52d6c074f5
Align parameters of test_setPropertyUser
For readability.

Contributes to issue CURA-3497.
2017-04-12 10:00:44 +02:00
Ghostkeeper
2c9e115488
Add test for hasUserValue returning false
When a value is not in user changes or in quality changes, it is no longer a user value so it shouldn't get marked as one.

Contributes to issue CURA-3497.
2017-04-12 10:00:44 +02:00
Ghostkeeper
bbddc2308e
Don't use MockContainer in hasUserChanges tests
This makes the testing code much simpler.

Contributes to issue CURA-3497.
2017-04-12 10:00:44 +02:00
Ghostkeeper
e0c8a52eec
Fix test_setVariantByIdExists
It now also uses the return_value construct.

Contributes to issue CURA-3497.
2017-04-12 10:00:44 +02:00