Jaime van Kessel
962b4e84a9
Fixed renaming of profiles.
...
They are now correctly renamed (and saved under different name on disk as well)
CURA-1683
2016-06-10 09:38:47 +02:00
Jaime van Kessel
070a522abb
Revert "Temporarily revert "Renaming profiles now also renames them on disk""
...
Starting work on it again, so unreverting the revert (i guess)
This reverts commit d8e8b0740a
.
2016-06-10 09:17:12 +02:00
fieldOfView
d8e8b0740a
Temporarily revert "Renaming profiles now also renames them on disk"
...
This reverts commit af238d5a76
.
2016-06-10 00:12:35 +02:00
fieldOfView
2287c2daa6
Show that a value is being calculated instead of showing "QVariant..."
...
CURA-1668
2016-06-09 21:40:53 +02:00
Jaime van Kessel
ceef6a003e
Merge branch 'master' of github.com:Ultimaker/Cura
2016-06-09 19:17:57 +02:00
Jaime van Kessel
af238d5a76
Renaming profiles now also renames them on disk
...
CURA-1683
2016-06-09 19:17:31 +02:00
Ghostkeeper
9e86cd5c85
Fix call to findContainerStack[s]
...
Was a typo. Now it also checks if the stack ID is correct here. Not because it went wrong, but for defensive programming.
Contributes to issue CURA-340.
2016-06-09 19:06:17 +02:00
fieldOfView
d34d398e96
Change the implementation of creating a profile from the current settings
...
The newly created profile now combines the settings of the active quality profile and the current settings
CURA-970, CURA-1585
2016-06-09 18:40:42 +02:00
Ghostkeeper
3206650f39
Fix signal, repair per-object settings
...
This was the wrong type of signal, which gave an error.
Contributes to issue CURA-340.
2016-06-09 17:05:21 +02:00
Ghostkeeper
9f3752276f
Fix check if machine's extruders are processed
...
Luckily this did never occur anyway since the rest of the code was sound.
Contributes to issue CURA-340.
2016-06-09 17:05:21 +02:00
Ghostkeeper
9d618282ed
Save default material colour statically
...
So if you wish to change that colour, you only need to change it in one place.
Contributes to issue CURA-340.
2016-06-09 17:01:21 +02:00
Jaime van Kessel
e793ce1a2c
Use ID instead of definition
2016-06-09 16:57:40 +02:00
fieldOfView
d31153cdbb
Merge branch 'master' of https://github.com/Ultimaker/Cura
2016-06-09 16:55:17 +02:00
fieldOfView
392d237b47
Fix filtering UM2+ profiles
...
Profiles did not show before selecting a material
CURA-1278
2016-06-09 16:55:04 +02:00
Jaime van Kessel
1db74b00fd
Merge branch 'feature_send_extruder_settings' of github.com:Ultimaker/Cura
2016-06-09 16:41:22 +02:00
Ghostkeeper
bd76c3e30f
Add drop-down in per-object settings to select extruder
...
Actually selecting an extruder has no effect because there are dragons in that area and I need better armour with bonus damage against bugs before I venture in there.
Contributes to issues CURA-340 and CURA-1278.
2016-06-09 15:47:06 +02:00
Tim Kuipers
12a7b99cf7
fix: merge b3cfa62
went wrong, no slicing happened (CURA-1558)
2016-06-09 15:43:18 +02:00
Simon Edwards
97d64a0749
Move ProfileReader and ProfileWriter over to Cura itself.
...
Contributes to CURA-1667 Profile import/export
2016-06-09 14:14:49 +02:00
Simon Edwards
c03588c6e5
Profile export now goes via the plugin system, and does the same filename checks as before.
...
Contributed to CURA-1667 Profile import/export
2016-06-09 14:14:48 +02:00
Arjen Hiemstra
d57e2b2e22
Add an ID role and addGlobal property to ExtrudersModel
...
Contributes to CURA-340
2016-06-09 13:47:34 +02:00
Arjen Hiemstra
627d5e3c0d
Merge branch 'master' of github.com:ultimaker/Cura
...
* 'master' of github.com:ultimaker/Cura:
Determine readonly state from location in filesystem instead of a metadata property
Change focus upon extruder switch
Fix extruder number attached to extruders
Fix duplicating the first item on the Profiles page
Fix spelling
Document setActiveExtruderIndex
Inheritance button now works if instance containers contain functions
JSON cleanup: removed settable_per_x when they were obvious and default (CURA-1560)
feat: use settable_per_[mesh|extruder|meshgroup|globally] instead of global_only (CURA-1560)
JSON feat: replaced global_only with four properties settable_per_[mesh|extruder|meshgroup] and settable_globally for fdmextruder settings (CURA-1558)
JSON feat: replaced global_only with four properties settable_per_[mesh|extruder|meshgroup] and settable_globally (CURA-1558)
2016-06-09 13:31:08 +02:00
Arjen Hiemstra
8729dce531
Store the actual extruder stack in ExtruderManager instead of just the ID
...
Contributes to CURA-340
2016-06-09 13:30:17 +02:00
fieldOfView
f498f0237c
Merge branch 'master' of https://github.com/Ultimaker/Cura
2016-06-09 13:16:38 +02:00
fieldOfView
cd803bc36e
Determine readonly state from location in filesystem instead of a metadata property
...
CURA-1684
2016-06-09 13:16:23 +02:00
Tim Kuipers
b3cfa62775
Merge branch 'feature_settings_restricted_to_settingsbases'
2016-06-09 13:11:30 +02:00
Jaime van Kessel
8ebc75e09a
Merge branch 'master' of github.com:Ultimaker/Cura into feature_send_extruder_settings
2016-06-09 13:05:50 +02:00
Jaime van Kessel
d93044a338
Added setting sending per extruder
...
CURA-1681
2016-06-09 13:04:07 +02:00
Ghostkeeper
4bdd5713f1
Fix extruder number attached to extruders
...
It reads that from position in the extruder definition file.
Contributes to issues CURA-1278 and CURA-340.
2016-06-09 11:48:37 +02:00
Ghostkeeper
14b9294a39
Document setActiveExtruderIndex
...
Contributes to issues CURA-340 and CURA-1278.
2016-06-09 10:45:48 +02:00
fieldOfView
a6dd9e7415
Fix initialization of ContainerSettingsModel
...
CURA-1668
2016-06-09 08:14:06 +02:00
fieldOfView
b85a8ca404
Update ContainerSettingsModel when its containers have property changes
...
CURA-1668
2016-06-09 07:54:13 +02:00
Ghostkeeper
4d418a7c1a
When switching active extruder, get the extruder train from definition id
...
Not from extruder container stack ID.
Contributes to issues CURA-340 and CURA-1278.
2016-06-08 16:36:01 +02:00
fieldOfView
485ae53660
Show quality profile and user profile settings side-by-side on Profiles manager
...
Introduces ContainerSettingsModel, which can combine the settings of instances from multiple containers into one model.
Towards CURA-1668
2016-06-08 16:35:10 +02:00
fieldOfView
8608468802
Add a method to get the id of the current user profile
...
CURA-1668
2016-06-08 16:32:39 +02:00
Ghostkeeper
59c8a4e66d
Fix validation of extruder-type settings
...
Based on how ints are validated, since the data is the same.
Contributes to issues CURA-1278 and CURA-340.
2016-06-08 14:16:13 +02:00
Ghostkeeper
0a34577fdb
Add documentation for createExtruderTrain
...
Contributes to issues CURA-340 and CURA-1278.
2016-06-08 14:09:37 +02:00
Ghostkeeper
fffe9b3a94
Better naming for extruder slot
...
The name of the extruder stack is now the same as the name for the extruder definition. The IDs are different though!
Contributes to issues CURA-1278 and CURA-340.
2016-06-08 14:09:37 +02:00
Ghostkeeper
32f90ad867
Re-add per-extruder nozzles, materials, qualities
...
Slightly more efficient and correct implementation.Contributes to issue CURA-340.
2016-06-08 14:09:36 +02:00
Ghostkeeper
f6ece126c3
Don't re-create user profile if one is loaded from files
...
The user profiles are also saved because they are added to the container registry. So if one exists for this extruder, don't create a new blank name, but use the pre-loaded one which contained the user settings the user had before he closed down Cura previously.
Contributes to issues CURA-340 and CURA-1278.
2016-06-08 14:09:36 +02:00
Arjen Hiemstra
163642f9ad
Also remove the "current_settings" container when removing a machine
...
Contributes to CURA-1628
2016-06-08 14:06:14 +02:00
Tim Kuipers
56b00ad425
JSON cleanup: removed settable_per_x when they were obvious and default (CURA-1560)
...
removed:settable_globally: true
settable_per_meshgroup: true
settable_per_extruder: true when settable_per_mesh was also true
2016-06-08 11:54:25 +02:00
Ghostkeeper
8b75a230a0
Fix findContainer call without kwargs
...
It has no kwargs. This needs to be provided as dictionary.
Contributes to issues CURA-340 and CURA-1278.
2016-06-08 11:29:25 +02:00
Ghostkeeper
8c7b3a05b6
Enumerate again over the machine's extruders
...
We needed to get the index, after all.
Contributes to issues CURA-340 and CURA-1278.
2016-06-08 11:29:25 +02:00
Ghostkeeper
21545af5c8
Get only values from extruder trains dictionary
...
Instead of getting the keys, which are labeled '0' and '1', we'd like to get the values, which are the extruder train IDs themselves.
Contributes to issues CURA-340 and CURA-1278.
2016-06-08 11:29:25 +02:00
Ghostkeeper
91797c3944
Log error if the machine refers to invalid extruder train ID
...
This helped mostly for debugging but it should be a genuine warning.
Contributes to issues CURA-1278 and CURA-340.
2016-06-08 11:29:25 +02:00
Ghostkeeper
675a8c140e
Give default colour if there is no material
...
Otherwise it would try to call getMetaDataEntry on None.
Contributes to issues CURA-340 and CURA-1278.
2016-06-08 11:29:25 +02:00
Ghostkeeper
4aa495f9ef
Fix getting name and colour from extruder
...
There used to be an extruder object from which we could ask these properties. But now we have a container stack in its place, so we need to get the properties in a slightly different way.
Contributes to issues CURA-1278 and CURA-340.
2016-06-08 11:29:24 +02:00
Tim Kuipers
2e2437d163
feat: use settable_per_[mesh|extruder|meshgroup|globally] instead of global_only (CURA-1560)
2016-06-08 10:50:40 +02:00
Ghostkeeper
8b1c363932
Load current machine's extruders upon creation, start and switch of machines
...
This requires some trickery of initialising the extruder manager before the machine manager is initialised, so that it properly listens to global container stack changes.
Contributes to issues CURA-340 and CURA-1278.
2016-06-08 10:40:10 +02:00
Ghostkeeper
98a0f90dae
Remove unused variable _active_extruder_index
...
This index is managed by ExtruderManager.
Contributes to issues CURA-340 and CURA-1278.
2016-06-08 10:38:59 +02:00