Arjen Hiemstra
86d3cbadca
Also search through groups when figuring out the extruders of the selection
...
Contributes to CURA-3609
2017-04-24 17:09:18 +02:00
Jaime van Kessel
01f33d3f28
Merge pull request #1732 from Ultimaker/feature_extruder_contextmenu
...
Add Extruders to Context Menu and Refactor
2017-04-24 14:55:57 +02:00
Arjen Hiemstra
27256cae9e
Revert import change
2017-04-24 13:12:36 +02:00
Jaime van Kessel
fb0df3109c
Fixed inhertiance manager getting update from a Category setting
2017-04-24 13:10:33 +02:00
Jaime van Kessel
2297a6e80b
Fixed inhertiance manager crashing if there is no parent
2017-04-24 13:05:39 +02:00
Arjen Hiemstra
9fd0239cd5
Add a selectedObjectExtruders property to ExtruderManager
...
It exposes a list of the extruders used by the current selection.
Contributes to CURA-3609
2017-04-20 17:42:06 +02:00
Arjen Hiemstra
61f542c215
Add a SetObjectExtruderOperation class
...
It handles setting an extruder for an object.
Contributes to CURA-3609
2017-04-20 17:42:06 +02:00
Arjen Hiemstra
8e95c894fb
Add material and variant names to ExtruderModel
...
Contributes to CURA-3609
2017-04-20 17:41:53 +02:00
Jaime van Kessel
53ecaba7f2
Added more typing.
...
These typing hints should have prevented the previous issue from happening
2017-04-14 14:21:36 +02:00
Jaime van Kessel
09d624dcfe
Fixed accidental switch of function properties
2017-04-14 14:15:43 +02:00
Jaime van Kessel
397b08ce6d
Merge branch 'feature_filter_materials_by_diameter' of git://github.com/fieldOfView/Cura
2017-04-14 11:22:35 +02:00
Jaime van Kessel
437c78711d
Added typing to all singletons
...
This greatly helps with pycharms ability to do auto code completion
2017-04-13 16:32:17 +02:00
fieldOfView
db6cdad956
Filter preferred materials by approximate material diameter
2017-04-12 23:27:34 +02:00
Lipu Fei
db1c6e4163
Merge pull request #1649 from Ultimaker/fix_setting_speed
...
Fix delays when settings change from error to valid
2017-04-04 14:33:44 +02:00
Arjen Hiemstra
7015702832
Add a change timer to perform the error state checking
...
This pulls the checkStackHaveErrors code out of the critical path when
editing settings, instead moving it to be handled later. This greatly
reduces the delay that happens when editing settings.
Fixes CURA-3653
Contributes to #1631
2017-04-04 13:39:18 +02:00
Jaime van Kessel
6314d872e1
If we find multiple materials for a new extruder, prefer a read only material
...
CURA-3147
2017-03-30 16:07:26 +02:00
Jaime van Kessel
90a92dce19
If a container_changes can not be found, handle it more gracefully
...
CURA-3560
2017-03-21 13:23:50 +01:00
Jack Ha
32d5fbe557
Fixed choosing a quality that is compatible with multiple extruders as fallback. CURA-3510
2017-03-13 17:17:56 +01:00
Lipu Fei
55727f20e5
CURA-3507 Make quality lookup more robust
2017-03-13 09:45:23 +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
Lipu Fei
a3dce9f6d1
CURA-3471 importProfiles() takes QVariantList
2017-03-07 20:17:29 +01:00
Jaime van Kessel
4514f53ea4
Formulas are no longer shown in discard changes dialog
...
CURA-3221
2017-03-03 10:22:06 +01:00
Jaime van Kessel
87336c4c01
Fixed exception for clean start
2017-03-02 17:11:33 +01:00
jack
fee73c352c
Merge pull request #1481 from Ultimaker/feature_override_profile
...
Feature override profile
2017-03-01 13:52:05 +01:00
Jaime van Kessel
6cf1fa4121
Removed uneeded global container changed signal hook
...
CURA-3221
2017-03-01 13:27:25 +01:00
Jaime van Kessel
1ba8ee2051
Fixed issue that in some cases not all changed settings for all extruders were shown
...
CURA-3221
2017-03-01 11:35:06 +01:00
Jaime van Kessel
9b63f1237a
Instead of the setting function we now show the calculated value for settingoverride dialog
...
CURA-3221
2017-03-01 09:48:26 +01:00
Simon Edwards
807542cc1f
Fixed a merge problem.
...
CURA-3431 Not possible to export a profile
2017-02-28 14:38:28 +01:00
Jaime van Kessel
4d32bbda99
Values are now converted to string.
...
For some reason this causes a different rounding to occur. I don't know why, but it does solve the problem
CURA-3221
2017-02-28 13:42:35 +01:00
Jaime van Kessel
85b58c9296
Pressing the discard button now actually discards the changes
...
CURA-3221
2017-02-28 12:35:08 +01:00
Jaime van Kessel
2462699982
Switching profiles now shows a new dialog with all the changes.
...
CURA-3221
2017-02-28 10:25:42 +01:00
Simon Edwards
18368f3ad4
Type hints and fixes for ContainerManager.
2017-02-26 21:07:08 +01:00
Simon Edwards
4ab6b74930
Fixed a bunch of error which were reported by PyCharm's code analysis.
2017-02-26 21:05:09 +01:00
Jaime van Kessel
ab28cb4615
Fix import changes
...
These broke the importing & exporting of profiles
2017-02-22 17:06:28 +01:00
Jack Ha
bb955ca5ab
Tickle the backend if per object settings are changed. CURA-3273
2017-02-21 16:12:25 +01:00
Ghostkeeper
83b290b8d3
Use full import path for parent class
...
Something seems off with the build for some reason. I'm trying to fix it this way.
2017-02-17 12:42:11 +01:00
Ghostkeeper
cec3eebace
Replace list-to-set cast with normal set literal
...
Don't know who did this but he did wrong, yo.
2017-02-17 10:16:11 +01:00
Jack Ha
78de5412a2
Merge branch 'master' into layer_view3_cleanup
2017-02-15 10:57:24 +01:00
Simon Edwards
92cee4a9d7
Merge branch 'master' into python_type_hinting
2017-02-13 16:31:31 +01:00
Jaime van Kessel
e8c5f81c79
Merge branch 'feature_preheat_bed' of github.com:Ultimaker/Cura
2017-02-13 14:16:50 +01:00
Ghostkeeper
34dccfd6a6
Fix updating extruder names on machine switch
...
The extruder name is asked from the extruder manager, so that the signal from extruder manager properly updates it once the new name is available.
Contributes to issue CURA-3161.
2017-02-13 11:57:01 +01:00
Arjen Hiemstra
a63b4646e9
Postpone containersChanged signals of all active stacks
...
This avoids things taking longer because the not-active extruder stack
was still emitting containersChanged.
2017-02-07 17:01:52 +01:00
Arjen Hiemstra
0292756ad7
Do not limit containersChanged methods to a single container type
...
This may trigger a few extra updates, but allows us to use signal
compression in the postponesignals context manager, which greatly
improves performance.
2017-02-07 16:28:08 +01:00
Arjen Hiemstra
927055806c
Postpone containersChanged signals when doign setActive* calls
...
This makes sure we do not trigger everything three times when switching
variants.
2017-02-07 16:26:44 +01:00
Ghostkeeper
425dbf1ad8
Only check for validationState changes if it's not already a value change
...
No need to check the second if-statement in most cases.
Contributes to issue CURA-3291.
2017-02-01 16:29:59 +01:00
Ghostkeeper
3ac9036b4a
Only listen for other container stack errors if multi-extrusion
...
It's not even necessary to check otherwise. Requesting an extruder stack would give None anyway, which would give errors.
Contributes to issue CURA-3291.
2017-02-01 16:28:45 +01:00
Ghostkeeper
a0ba1188a1
Always listen to changes on all extruder stacks of the current machine
...
We need to listen for changes on all extruder stacks because the values might change and therefore the validation states might change. The value of a different extruder stack could change if you change a global value that has impact on a per-extruder value via inheritance, or in this case if a limit-to-extruder property specifies that the setting should be changed on a different stack. It could change on the stack that is not active in either case.
This might have some performance impact, but it is very small. Other than layer_height there aren't many global settings that have impact on multiple extruders via inheritance. And via limit-to-extruder there will typically only be one changed value which you want to update for. Changing layer height will be a bit slower though.
Contributes to issue CURA-3291.
2017-02-01 16:17:12 +01:00
Ghostkeeper
362c5835ee
Don't use limit_to_extruder if it evaluates to -1
...
The default value for the limit_to_extruder property is -1. So no need to check if the property exists. Just check if it is positive.
Contributes to issue CURA-3291.
2017-02-01 14:42:06 +01:00
Ghostkeeper
ed2b09c975
Fix getting limit to extruder property
...
Apparently it didn't even reach this code up until now. Well, now it does.
Contributes to issue CURA-3291.
2017-02-01 14:26:37 +01:00