Commit graph

4076 commits

Author SHA1 Message Date
Arjen Hiemstra
2ee2bc7348 Properly implement ContainerManager::createQualityChanges
Contributes to CURA-2006
2016-08-04 17:37:15 +02:00
Arjen Hiemstra
b76ebbb850 Ensure we have an empty quality changes container in the extruder stack
Contributes to CURA-2006
2016-08-04 17:36:39 +02:00
Arjen Hiemstra
70dee38c95 Show quality_changes instance containers for custom containers in the profile menu
Contributes to CURA-2006
2016-08-04 17:35:33 +02:00
Arjen Hiemstra
9d0acf5b03 Properly send global settings to the global stack
Contributes to CURA-2006
2016-08-04 17:35:01 +02:00
Arjen Hiemstra
7613274686 Properly hide link icon if setting is not settable per extruder
Contributes to CURA-2006
2016-08-04 17:34:41 +02:00
Arjen Hiemstra
ec383b46b9 Emit blurSettings for ContainerManager::merge/clear user containers
Contributes to CURA-2006
2016-08-04 17:33:35 +02:00
Arjen Hiemstra
b6d0c40852 Store "quality_changes" type containers in the quality directory
Contributes to CURA-2006
2016-08-04 17:32:38 +02:00
Arjen Hiemstra
4eb4a90ded Call the new clearUserContainers/updateQualityChanges from the relevant actions
Contributes to CURA-2006
2016-08-04 02:13:24 +02:00
Arjen Hiemstra
9ef709962f Start implementing a createQualityChanges method in ContainerManager
It will be used to create the quality change containers from the
existing user containers.

Contributes to CURA-2006
2016-08-04 02:12:32 +02:00
Arjen Hiemstra
0934ae70a8 Introduce clearUserContainers and updateQualityChanges methods in ContainerManager
They are moved from MachineManager which is really getting too large and
complicated.

Contributes to CURA-2006
2016-08-04 02:11:35 +02:00
Arjen Hiemstra
95c3aa8251 Split ContainerManager::mergeContainer into a checking bit and a function that does the actual work
Contributes to CURA-2006
2016-08-04 02:10:28 +02:00
Arjen Hiemstra
6eed25f145 Only write property changes to extruder stack if we actually should
Now global settings are once again stored in the global stack

Contributes to CURA-2006
2016-08-04 02:09:02 +02:00
Arjen Hiemstra
4de4053490 Properly implement "set as active extruder" menu entry
Contributes to CURA-2006
2016-08-04 02:08:06 +02:00
Arjen Hiemstra
aa8561fec7 Remove globalPropertyChanged
There should be no need for this if we properly store settings where
they should be stored.

Contributes to CURA-2006
2016-08-04 02:05:12 +02:00
Arjen Hiemstra
d42f390ed6 Add the new empty quality_changes container to new machines
Contributes to CURA-2006
2016-08-04 02:03:57 +02:00
Arjen Hiemstra
ab99100c56 Introduce an empty quality_changes container
Contributes to CURA-2006
2016-08-04 02:02:47 +02:00
Arjen Hiemstra
81f3422e36 Make settable_per_* properties read-only
Contributes to CURA-2006
2016-08-04 02:02:14 +02:00
Ghostkeeper
557044b11c
Remove print statement
Wasn't meant to be committed, I reckon.

Contributes to issue CURA-2022.
2016-08-03 12:39:01 +02:00
Ghostkeeper
df1b6b8e88
Only get from extruder if global_inherits_stack is valid
Sometimes it is set to give -1 for some settings.

Contributes to issue CURA-2040.
2016-08-03 10:27:17 +02:00
Arjen Hiemstra
78aaf4caf0 Use the new extruderValues() function to determine max_warning of layer_height
Contributes to CURA-2009
2016-08-02 19:42:40 +02:00
Arjen Hiemstra
791d51df2a Expose an extruderValue() function to value functions
It can be used to get the value of a specific extruder

Contributes to CURA-2009
2016-08-02 19:42:40 +02:00
Arjen Hiemstra
a7187e7fe3 Document getExtruderValues 2016-08-02 19:42:40 +02:00
Arjen Hiemstra
3c35830cb8 Expose an extruderValue() function to value functions
It returns the value of a setting of a specific extruder.

Contributes to CURA-2009
2016-08-02 19:42:40 +02:00
Arjen Hiemstra
b102a6cedd Expose an extruderValues() function to value functions
It returns a list of values for all extruders so that things like max()
work.

Contributes to CURA-2009
2016-08-02 19:42:40 +02:00
Ghostkeeper
f568014e67
Add setting with value from support extruder stack
Upon adding the setting (making it visible) it takes the setting from the support extruder stack. It doesn't update afterwards.

Contributes to issue CURA-2011.
2016-08-02 16:49:38 +02:00
Ghostkeeper
5bd3d83c9e
Fix typos in documentation
Contributes to issue CURA-2011.
2016-08-02 16:49:38 +02:00
fieldOfView
95b06f317a Fix "create" button on profiles page
CURA-2036
2016-08-02 16:13:17 +02:00
fieldOfView
f39b48459e Merge branch 'master' of https://github.com/Ultimaker/Cura 2016-08-02 15:57:18 +02:00
fieldOfView
ab843b8187 Reset qml component when resetting a Machine Action
Contributes to CURA-2019 and fixes CURA-1978
2016-08-02 15:57:01 +02:00
Arjen Hiemstra
0f1c59c925 Properly catch when either extruder or global quality is not properly set
Cornercase, but it avoids bubbling odd error messages to the UI.

Fixes CURA-1997
2016-08-02 15:20:03 +02:00
Arjen Hiemstra
4f9fab9418 Set the right default extruder for the main property provider
Fixes CURA-2024
2016-08-02 14:49:57 +02:00
Arjen Hiemstra
b97b694f41 Force recreating the socket when using external-backend
This may recreate the socket with a new port number but at least it
recreates the socket now.

Partially fixes CURA-1877
2016-08-02 13:58:16 +02:00
Arjen Hiemstra
22b6ab9c42 Set the extruder stack to a proper default when creating SettingOverrideDecorator
Turns out it otherwise fails to send the right data.

Fixes CURA-2032
2016-08-02 13:58:16 +02:00
fieldOfView
0f9b989ae8 Revert "Show "ghosts" for all objects on the buildplate in layerview"
This reverts commit b765855ba5.
2016-08-02 12:30:22 +02:00
Tim Kuipers
dc3d22f148 JSON: disabled flow temp again (CURA-1174) 2016-08-02 11:48:47 +02:00
Arjen Hiemstra
186cd2034c Remove forced setting of extruder 0 on component complete
This would force the object's extruder to 0 every time the per object
panel would update, causing the extruder to be reset.

Fixes CURA-2026
2016-08-02 11:42:04 +02:00
Arjen Hiemstra
9773a16bc6 Properly set active extruder when deepcopying SettingOverrideDecorator
Fixes CURA-2022
2016-08-02 11:33:23 +02:00
Arjen Hiemstra
278d6c122d Merge branch 'feature_layerview_ghosts' of github.com:ultimaker/Cura
* 'feature_layerview_ghosts' of github.com:ultimaker/Cura:
  Show "ghosts" for all objects on the buildplate in layerview
2016-08-02 10:22:39 +02:00
fieldOfView
7d65e0d62b Add title to machine action window 2016-08-02 09:51:58 +02:00
fieldOfView
a2fa8246b6 Disable UM2 material-related settings depending on gcode flavor...
...instead of hardcoding them as disabled.

The fdmprinter inheritance-functions for "enabled" are combined with a check for the flavor. This way it will be easier to switch an UM2 to a functional Reprap flavor in a variant. CURA-580
2016-08-02 09:50:42 +02:00
fieldOfView
42fc25ab09 Move sorting of DefinitionContainerModel out of qml
Add printer dialog now has sections by a configurable metadata property. A prefered section is set to always show on top.
Add weights to the Ultimaker printer definitions to create a sensible list (newest on top).

CURA-1593
2016-08-01 19:18:56 +02:00
fieldOfView
b765855ba5 Show "ghosts" for all objects on the buildplate in layerview
CURA-1601
2016-08-01 17:33:00 +02:00
fieldOfView
0d9d4b88ce Hide "Type" label when no printer is selected on the manager printers page 2016-08-01 16:56:56 +02:00
fieldOfView
9b4383f361 Merge branch 'master' of https://github.com/Ultimaker/Cura 2016-08-01 16:38:41 +02:00
fieldOfView
68fc9af4c2 Fix removing extruder stacks and extruder user profile
CURA-1898 broke fix for CURA-1896
2016-08-01 16:38:31 +02:00
Ghostkeeper
e7452cd644
Make speed_layer_0 and cousin settings not per-mesh
Fixed up some of the settable_per stuff.

Contributes to issue CURA-1507.
2016-08-01 16:35:48 +02:00
fieldOfView
7b873fc397 Fix renaming profiles
CURA-2017
2016-08-01 16:05:57 +02:00
fieldOfView
1808c44d02 Change behavior of the "Close" button on a machineaction dialog
Pressing close now "rejects" the action, similar to pressing "cancel" in the add machine wizard (instead of accepting, like pressing "ok").

CURA-2019
2016-08-01 15:36:43 +02:00
fieldOfView
0c8d0a11a9 Fix a couple of qml casting errors 2016-08-01 15:22:21 +02:00
fieldOfView
a9ed562a58 Allow machine actions to reference the dialog they are shown in
This way they can respond to the onAccepted and onRejected actions of the dialog
Contributes to CURA-2019
2016-08-01 15:21:12 +02:00