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
482bc21a9f
Merge branch 'master' of https://github.com/Ultimaker/Cura
2016-06-08 13:49:37 +02:00
Tim Kuipers
e53a961ba7
JSON fix: topbottom thickness had max value for no apparent reason (CURA-1352)
2016-06-08 13:49:27 +02:00
Arjen Hiemstra
2cedc69ed1
Remove all special floating point handling code from SettingTextField
...
Since we now always send setting values as string and the conversion
from float
to string already does the rounding, there is no need to also do it
here.
Contributes to CURA-1278
Contributes to CURA-389
2016-06-08 13:46:30 +02:00
Arjen Hiemstra
b53926b9de
Exclude machine_settings from the settings visible in the sidebar
...
Contrivbutes to CURA-1645
2016-06-08 13:29:36 +02:00
Tim Kuipers
3e10335e03
JSON fix typo: missing dot
2016-06-08 13:28:37 +02:00
Tim Kuipers
61b674b74e
JSON fix: removed sentences from jerk settings which were only applicable for speed. (CURA-1443)
2016-06-08 13:28:11 +02:00
Tim Kuipers
472477eee2
JSON fix type: effect ==> affect (CURA-1443)
2016-06-08 13:27:06 +02:00
Tim Kuipers
0dcf13a243
JSON fix typo: ar ==> or (CURA-1443)
2016-06-08 13:26:24 +02:00
Tim Kuipers
6cca612d7d
JSON rename: Raft Interface ==> Raft Middle ; Raft Surface ==> Raft Top (CURA-1443)
2016-06-08 12:30:29 +02:00
Tim Kuipers
2b3efe4329
JSON fix: type boolean should be bool (CURA-1443)
2016-06-08 12:23:54 +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
Ghostkeeper
af484b03d8
Fix typo in variable name
2016-06-08 11:29:24 +02:00
Jaime van Kessel
761d3f1a27
Merge branch 'master' of github.com:Ultimaker/Cura
2016-06-08 11:02:45 +02:00
Jaime van Kessel
77431b01a3
Inherit button now has the same behaviour as 2.1 again
...
CURA-1278
2016-06-08 11:02:04 +02:00
fieldOfView
41ab485af0
Merge branch 'master' of https://github.com/Ultimaker/Cura
2016-06-08 10:56:02 +02:00
fieldOfView
1a8fe6aa1f
Fix customised settings indicator
...
CURA-1585
2016-06-08 10:55:48 +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
Ghostkeeper
f461ed0f5f
Document singleton
...
Contributes to issues CURA-340 and CURA-1278.
2016-06-08 10:38:59 +02:00
Ghostkeeper
ec26579473
Remove unused _repopulate function
...
It is replaced by the addMachineExtruders function.
Contributes to issues CURA-340 and CURA-1278.
2016-06-08 10:38:48 +02:00
Thomas Karl Pietrowski
076398d4ca
Merge remote-tracking branch 'refs/remotes/Ultimaker/master'
2016-06-08 09:42:32 +02:00
fieldOfView
b452af5dbf
Update Profile dropdown when renaming a quality profile
...
CURA-1585
2016-06-07 19:31:35 +02:00
fieldOfView
f7480baca2
Fix selecting another quality when the currently active quality is removed
...
CURA-1585
2016-06-07 19:25:12 +02:00
fieldOfView
21b1891c0e
Make unique name generation more robust and simpler
...
CURA-1585
2016-06-07 18:55:27 +02:00
Tim Kuipers
fc0a3c8347
JSON feat: replaced global_only with four properties settable_per_[mesh|extruder|meshgroup] and settable_globally for fdmextruder settings (CURA-1558)
2016-06-07 18:30:30 +02:00
Tim Kuipers
406baf49af
JSON feat: replaced global_only with four properties settable_per_[mesh|extruder|meshgroup] and settable_globally (CURA-1558)
2016-06-07 18:25:03 +02:00
fieldOfView
4d0bb217af
Fix crash when enabling setting visibility for adhesion_extruder_nr or support_extruder_nr
...
The fix is likely not what was intended by the author of the offending code (and does not seem to be functional), but at least it fixes the hard crash outlined in CURA-1666
2016-06-07 18:13:19 +02:00
fieldOfView
e33eb52e93
Hide Support Extruder in advanced mode when support is disabled
...
CURA-1663
2016-06-07 17:32:28 +02:00
fieldOfView
cca432742b
Fix creating a name for a new MachineManagerModel
...
CURA-1585
2016-06-07 17:01:08 +02:00
Simon Edwards
44d9fefd5d
Profile export from the Profiles window.
...
Contributed to CURA-1667 Profile import/export
2016-06-07 16:13:12 +02:00
fieldOfView
f7e299a750
Merge branch 'master' of https://github.com/Ultimaker/Cura
2016-06-07 15:58:08 +02:00
fieldOfView
b2782ced0a
Fix "renaming" profiles/machines to their current name without adding an increment
...
CURA-1585
2016-06-07 15:56:59 +02:00
Jaime van Kessel
9a14a3e8b7
Per object settings no longer watches "state" property
...
CURA-1278
2016-06-07 15:46:37 +02:00
Jaime van Kessel
5761307b33
Updated deepcopy to correctly copy the instance container
...
CURA-1636
2016-06-07 15:45:51 +02:00
Jaime van Kessel
57ce8edcd3
Merge branch 'master' of github.com:Ultimaker/Cura
2016-06-07 14:56:46 +02:00
Jaime van Kessel
d2405a24d2
Perobject stacks are no longer saved
...
CURA-1278
2016-06-07 14:56:29 +02:00
Ghostkeeper
499a0557bd
Fix checking if an extruder train already exists
...
Contributes to issues CURA-340 and CURA-1278.
2016-06-07 14:00:31 +02:00
Ghostkeeper
a9376cffd1
Fix logging
...
Specify the fully qualified name.
Contributes to issues CURA-340 and CURA-1278.
2016-06-07 14:00:31 +02:00
Ghostkeeper
8feed746bf
Re-apply part of b991743053
that worked
...
This was indeed a mistake.
Contributes to issues CURA-340 and CURA-1278.
2016-06-07 14:00:31 +02:00
Ghostkeeper
08d116590d
Revert "Fix ExtruderManager.py"
...
That is not a fix. That is a patch.
This reverts commit b991743053
.
2016-06-07 14:00:31 +02:00
Jaime van Kessel
84a9691390
Merge branch 'master' of github.com:Ultimaker/Cura
2016-06-07 13:33:46 +02:00