Commit graph

1750 commits

Author SHA1 Message Date
fieldOfView
10dc8f98b8 Highlight quality_changes values in manage profiles tabs...
and strike out values that are overridden by a user value

CURA-2514
2016-10-04 13:14:04 +02:00
fieldOfView
556431b984 Fix error when no machine is selected 2016-10-03 22:40:28 +02:00
fieldOfView
f55c35df6e Load extruder profiles into the correct extruder
CURA-2478
2016-10-03 22:40:05 +02:00
fieldOfView
144dcb5a65 Slightly more defensive programming in case of extruder mismatch 2016-10-03 22:18:38 +02:00
fieldOfView
046d0b5956 Rename extruder quality changes files when renaming a custom profile
CURA-2484
2016-10-03 22:17:56 +02:00
fieldOfView
e1d70ed4b6 Fix selecting quality_changes profiles for extruders
Now that containers in a quality_changes set don't share a common name, the quality_changes containers for extruders have a metadata entry "global_profile" pointing to the global quality_changes container id.

Contributes to CURA-2478 and CURA-2484
2016-10-03 21:58:34 +02:00
fieldOfView
e7da471199 Fix showing profile values for extruders
The profiles page would show the setting values in the quality profile, ignoring the quality_changes profile, because it could not find the appropriate quality_changes profile for the extruders

CURA-2478
2016-10-03 17:04:46 +02:00
Jaime van Kessel
0e74b8eb08 setActiveMaterial now uses id instead of entire container to set quality
CURA-2494
2016-10-03 15:58:05 +02:00
Jaime van Kessel
527a503eac Added more logging to indicate changing of certain containers actually succeeded 2016-10-03 15:54:18 +02:00
Jaime van Kessel
18ba42122d Merge branch 'master' of github.com:Ultimaker/Cura 2016-10-03 15:44:20 +02:00
Jaime van Kessel
7d9d751121 ProfilesModel is now updated when active variant or material is changed
Contributes to CURA-2494
2016-10-03 15:43:42 +02:00
fieldOfView
2f57d0fb6e Import profiles for the current machine
Takes into consideration printers that use quality-profiles from other printers, while gracefully handling mismatches in the number of extruders

Fixes CURA-2500, contributes to CURA-2478
2016-10-03 15:29:25 +02:00
Simon Edwards
5d1b77c551 Rename ProfilesPageModel.py to QualityAndUserProfilesModel.py. Step 2 of 2.
Contributes to CURA-2414 Quality changes profiles are created incorrectly
2016-10-03 15:19:32 +02:00
Simon Edwards
a0f345285d Rename ProfilesPageModel.py to QualityAndUserProfilesModel.py. Step 1 of 2.
Contributes to CURA-2414 Quality changes profiles are created incorrectly
2016-10-03 15:19:32 +02:00
Jaime van Kessel
513c05b78c Extruders model now listens to global container changed, instead of definition changed.
This solves issue where switching between machines with the same definition did not cause extruder materials to be updated

CURA-2493
2016-10-03 15:03:25 +02:00
Simon Edwards
3e6cbd58f1 Added some more method docs.
Contributes to CURA-2477 Profile menu should only contain valid options for all materials
2016-10-03 12:05:59 +02:00
fieldOfView
aba01810a5 Merge branch 'master' of https://github.com/Ultimaker/Cura 2016-10-03 11:52:43 +02:00
fieldOfView
3c30275201 Import profiles as quality_changes profiles
CURA-2478
2016-10-03 11:52:28 +02:00
Jack Ha
4cc5b6d9eb Added activeStackChanged to BuildVolume, it is semantically more correct. Contributes to CURA-2232 2016-10-03 10:27:31 +02:00
Ghostkeeper
257aff7c00
Fix license reference
This file belongs to Cura.

Contributes to issue CURA-2248.
2016-09-30 11:43:33 +02:00
Ghostkeeper
9c4c4ebce2
Apply support expansion to platform adhesion and shields
Platform adhesion and shields all go around the support, the expanded support. Support expansion is almost like an expansion of the mesh itself, except that infill wipe distance and such don't apply to it.

Contributes to issue CURA-2407.
2016-09-30 11:04:22 +02:00
Simon Edwards
8c8cd86a08 Quality changes didn't have the right extruder ID set in some situations.
CURA-2414 Quality changes profiles are created incorrectly
2016-09-29 20:54:09 +02:00
Simon Edwards
cd45ef496b Handle materials which don't have any quality profiles of their own. Moved the quality_type computation code into the QualityManager.
Contributes to CURA-2477 Profile menu should only contain valid options for all materials
2016-09-29 16:39:30 +02:00
fieldOfView
3982dc2046 Merge branch 'master' of https://github.com/Ultimaker/Cura 2016-09-29 16:05:32 +02:00
fieldOfView
4fbd82cb6d Create name that conflicts with neither quality or quality changes
The same method is used when creating/duplicating profiles
CURA-2478
2016-09-29 16:05:20 +02:00
Jaime van Kessel
cd265c1136 Merge branch 'master' of github.com:Ultimaker/Cura 2016-09-29 14:45:16 +02:00
Jaime van Kessel
d4bb0d4a0b Only use profile reader if extension matches with filename
CURA-2462
2016-09-29 14:44:34 +02:00
Jack Ha
8934555bd6 Merge branch 'master' of github.com:Ultimaker/Cura 2016-09-29 14:09:54 +02:00
Jack Ha
03c66e6e62 use resolveOrValue for adhesion_type. contributes to CURA-2232 2016-09-29 14:09:19 +02:00
Jaime van Kessel
3d8336449f Fixed renaming of quality_changes
CURA-2479
2016-09-29 14:07:52 +02:00
Jaime van Kessel
6b323dff01 Merge branch 'master' of github.com:Ultimaker/Cura 2016-09-29 13:56:40 +02:00
Jaime van Kessel
02232f7ca6 Added loging if we could not find profile to rename
CURA-2479
2016-09-29 13:56:14 +02:00
fieldOfView
39a005d7e5 Merge branch 'master' of https://github.com/Ultimaker/Cura 2016-09-29 13:48:42 +02:00
fieldOfView
040f49e474 Fix cases where there is no "normal" quality
CURA-2494
2016-09-29 13:48:23 +02:00
Ghostkeeper
4ab7ea5c0f
Account for support offset in disallowed border
It is similar to travel avoid distance.

Contributes to issue CURA-2407.
2016-09-29 12:47:10 +02:00
Ghostkeeper
47b9fbc447
Add helper function for getting setting from support extruder
This splits up the helper function we already had, to prevent code duplication.

Contributes to issue CURA-2407.
2016-09-29 12:47:10 +02:00
Ghostkeeper
d8fe9462dd
Remove property-parameter from calls where it is 'value'
That is the default value for the argument anyway. Makes the code more legible.

Contributes to issue CURA-2407.
2016-09-29 12:47:10 +02:00
Ghostkeeper
2e3937dd56
Rename _getSettingProperty to _getSettingFromAdhesionExtruder
This opens up the way for other methods to get settings from different extruders.

Contributes to issue CURA-2407.
2016-09-29 12:47:10 +02:00
Simon Edwards
2742a4ef65 Show the correct list of qualities and quality change profiles.
Contributes to CURA-2248 Duplicated profile not shown in the profile manager list
2016-09-29 12:34:46 +02:00
Simon Edwards
4a85ee85c1 Update the model when something changes in the global stack.
Contributes to CURA-2477 Profile menu should only contain valid options for all materials
2016-09-29 12:27:04 +02:00
fieldOfView
bee955327b Fix quality profile selection for printers that should use generic quality
Fixes CURA-2489, contributes to CURA-2477
2016-09-29 12:04:05 +02:00
Ghostkeeper
f435dcd896
Document parameters of _offsetHull
Makes it clear that the input is a Polygon instance, not a Numpy array.

Contributes to issue CURA-2407.
2016-09-29 09:32:43 +02:00
Jaime van Kessel
b0c20eafbd Prime colission now blocks slicing
CURA-2375
2016-09-28 16:50:13 +02:00
Jaime van Kessel
78b052f66c Only start change timer if there is a global stack 2016-09-28 16:41:04 +02:00
Simon Edwards
062611a92a Handle the startup situation where there is no global stack. Fixed a bug where the wrong stack was used instead of the first extruder.
Contributes to CURA-2477 Profile menu should only contain valid options for all materials
2016-09-28 15:56:10 +02:00
Jaime van Kessel
7b7c161d93 Merge branch 'master' of github.com:Ultimaker/Cura 2016-09-28 15:20:59 +02:00
Simon Edwards
a7c58c33f7 Fixed up the profiles menu to handle multiple extruders better.
Contributes to CURA-2477 Profile menu should only contain valid options for all materials
2016-09-28 15:15:18 +02:00
Jaime van Kessel
3de4d4987c Prime positions now also intersect with oneother
CURA-2375
2016-09-28 15:14:38 +02:00
fieldOfView
299d05fa71 Prepend extruder id to extruder quality profiles
extruder quality profiles are not shown to the user, so the prepended extruder id is never visible. This way imported profiles behave the same way as normally created profiles.

CURA-2478
2016-09-28 14:23:29 +02:00
fieldOfView
54d07ae29b Fix error when no machine is active 2016-09-28 14:20:58 +02:00