3053 Commits

Author SHA1 Message Date
Ghostkeeper
c24f4be8ae
Add extruders model
Hasn't been tested much because there is no display for this in the front-end yet. It needs a setting data type to go with in order to display it. This model is for the drop-down boxes to select an extruder to print, for instance, the support with.

Contributes to issues CURA-1278 and CURA-351.
2016-06-02 14:17:12 +02:00
Ghostkeeper
e16fedf2d8
Changing name of extruder also changes name in container stack
This name may be used to get a unique human-readable name. Just for consistency really.

Contributes to issues CURA-1278 and CURA-351.
2016-06-02 14:17:12 +02:00
Ghostkeeper
df363a024a
Expose definition container of extruders
This contains important metadata which we'll need.

It's also more consistent with the rest.

Contributes to issues CURA-1278 and CURA-351.
2016-06-02 14:17:12 +02:00
Ghostkeeper
25a6a99286
Make name of extruder a property
This stores the name for later use, for instance when displaying the extruder.

Contributes to issues CURA-1278 and CURA-351.
2016-06-02 14:17:12 +02:00
Ghostkeeper
8a8de95969
Add iteration over extruder manager
This iteration iterates over the extruders.

Contributes to issues CURA-1278 and CURA-351.
2016-06-02 14:17:12 +02:00
Ghostkeeper
8369316236
Use modern import method
This is more robust to cyclic dependencies, and also the intended way of importing these classes in Python in general.

Contributes to issues CURA-1278 and CURA-351.
2016-06-02 14:17:12 +02:00
Ghostkeeper
8a8b0016ba
Add signal for when extruder list changes
The ExtrudersModel will need to listen to this.

Contributes to issues CURA-1278 and CURA-351.
2016-06-02 14:17:12 +02:00
Ghostkeeper
06f7f90bb0
Make ExtruderManager into a singleton
This way we don't need to load it in CuraApplication but we can just load it whenever it is first needed. ExtruderManager should be robust against initialising it at any point in Cura's runtime.

Contributes to issues CURA-1278 and CURA-351.
2016-06-02 14:17:12 +02:00
Ghostkeeper
1f9805a73c
Remove unused imports
These are unused because the code was moved to Extruder.py

Contributes to issues CURA-1278 and CURA-351.
2016-06-02 14:17:12 +02:00
Ghostkeeper
b9f2d498b4
Fix typo in documentation 2016-06-02 14:17:12 +02:00
Jaime van Kessel
ca218d7a1f Removed too generic exception handling
CURA-1278
2016-06-02 13:52:11 +02:00
Jaime van Kessel
a33b6c2cd3 Merge branch 'master' of github.com:Ultimaker/Cura 2016-06-02 13:42:10 +02:00
Jaime van Kessel
1af6e63b35 Removed unused model 2016-06-02 13:41:46 +02:00
fieldOfView
14a8b8a1a4 Fix showing formatted tooltip when exiting reset-value-icon
CURA-1278
2016-06-02 13:30:26 +02:00
fieldOfView
02b8fa9043 Add missing tooltip
CURA-1643
2016-06-02 12:46:01 +02:00
Arjen Hiemstra
070e791b94 Add a preference to change LayerView top layers between 1 and 5
Fixes CURA-1643
2016-06-02 11:23:18 +02:00
Arjen Hiemstra
5873f1d4d0 Limit layer processing to 99% to indicate more stuff needs to happen
Fixes CURA-1644
2016-06-02 11:22:39 +02:00
Ghostkeeper
95e633f16c
Load extruder manager on start-up
This will consequently also load all extruder stacks of the current machine whenever the current machine changes.

Contributes to issues CURA-1278 and CURA-351.
2016-06-02 11:17:52 +02:00
Ghostkeeper
73f12ffd99
Incorporate switching of global extruder stack
When the global extruder stack switches, we need to re-connect the reloading of extruders to the new containersChanged signal of the new global container stack. This now also bootstraps the listening for the first time, when the global container stack changes from None to the first stack.

Contributes to issues CURA-1278 and CURA-351.
2016-06-02 11:17:52 +02:00
Ghostkeeper
c369202957
Fix unknown variable
Was probably a copy-paste mistake here. Fixed it for him.

Contributes to issue CURA-1278.
2016-06-02 11:17:52 +02:00
fieldOfView
e03f65c471 Remove stray debug print
CURA-1278
2016-06-02 11:12:37 +02:00
Ghostkeeper
1603bb3075
Give access to nozzle, material and quality profiles
You can now swap them out in the extruder model.

Contributes to issues CURA-1278 and CURA-351.
2016-06-02 10:56:17 +02:00
Ghostkeeper
9772d95984
Add user profile to extruder stack
This profile is empty to start with. The user can fill it.

Contributes to issues CURA-351 and CURA-1278.
2016-06-02 10:56:17 +02:00
Ghostkeeper
7993775feb
Make profiles only load if the extruder says it has them
For instance, only load materials if has_materials is True.

Contributes to issues CURA-351 and CURA-1278.
2016-06-02 10:56:17 +02:00
Ghostkeeper
72bc68f38a
Use self._definition instead of local definition parameter
This is supposedly more defensive coding.

Contributes to issues CURA-1278 and CURA-351.
2016-06-02 10:56:17 +02:00
Arjen Hiemstra
7f7b56ff08 Add additional quality profiles
Low quality and machine-specific qualities for UM2+

Contributes to CURA-1612
2016-06-02 08:10:55 +02:00
Arjen Hiemstra
5ce9bc64f4 Remove non-xml material profiles
Contributes to CURA-1612
2016-06-02 08:10:55 +02:00
Arjen Hiemstra
48c8e7a189 Update generic PLA profile
Contributes to CURA-1612
2016-06-02 08:10:55 +02:00
Arjen Hiemstra
6847365e09 Indicate the UM2+ should use machine specific materials and qualities
Contributes to CURA-1612
2016-06-02 08:10:55 +02:00
Arjen Hiemstra
2b91e3639e Add basic ABS and CPE material profiles
Contributes to CURA-1612
2016-06-02 08:10:55 +02:00
Arjen Hiemstra
ceb21ce89b Filter material/quality by machine only when we should filter
Contributes to CURA-1612
2016-06-02 08:10:55 +02:00
Arjen Hiemstra
123af4e3e4 Use metadata to determine what materials/qualities to use when adding a machine
Contributes to CURA-1612
2016-06-02 08:10:55 +02:00
Arjen Hiemstra
eaea940aa2 Add support for some additional properties to XmlMaterialProfile
Contributes to CURA-339
2016-06-02 08:10:55 +02:00
Arjen Hiemstra
90ac1c1380 Add support for hotend-specfic overrides to XmlMaterialProfile
Contributes to CURA-339
2016-06-02 08:10:55 +02:00
Arjen Hiemstra
f491405eb1 Use a copy of the metadata for Xml materials
Contributes to CURA-339
2016-06-02 08:10:55 +02:00
Arjen Hiemstra
e0fab7aa11 Add some logging and documentation to XmlMaterialProfile
Contributes to CURA-339
2016-06-02 08:10:55 +02:00
Arjen Hiemstra
803dcdcec7 Stop the Item's hover timer when showing a different tooltip 2016-06-02 08:10:55 +02:00
Arjen Hiemstra
d5aa75f2cf Remove obsolete file 2016-06-02 08:10:55 +02:00
fieldOfView
ed3d01ed7b Add icon to Machine category to squelch some warnings
CURA-1278
2016-06-02 06:38:57 +02:00
fieldOfView
907de8b586 Improve performance of advanced sidebar
Prevent a delegate being loaded when the item is "filtered out" by the model.
CURA-1278
2016-06-02 00:01:08 +02:00
fieldOfView
7d65475bf9 Fix mouseover highlight of checkbox settings
CURA-1278
2016-06-01 23:59:09 +02:00
fieldOfView
12fe6d8fe7 Merge branch 'master' of https://github.com/Ultimaker/Cura 2016-06-01 22:21:32 +02:00
fieldOfView
c6dd9d2c8c Fix codestyle and change faux-"hovered" property mechanism
hovered_ex was a bool property that was set in onEntered and onExited, and has been replaced with an alias to the mouseArea.containsMouse that necessitated the clutch.

CURA-790
2016-06-01 22:21:12 +02:00
fieldOfView
ffa6a0376d Fix typo
Contributes to CURA-1540, CURA-1278
2016-06-01 21:44:56 +02:00
Arjen Hiemstra
49e5b1938a Reduce number of top layer to increase processing speed 2016-06-01 15:45:54 +02:00
Ghostkeeper
faf647dca0
Git ignore resources/firmware
It is also compiled and will only be included by including the cura-binary-data repository. However it is also useful to have this in your testing environment.
2016-06-01 15:14:03 +02:00
Ghostkeeper
0e108f0c04
Document filtering nozzles by extruder better
Contributes to issues CURA-1278 and CURA-351.
2016-06-01 15:12:20 +02:00
Ghostkeeper
91fc90a423
Link extruder stack to global container stack
Each extruder stack is linked to the same global container stack.

Contributes to issues CURA-1278 and CURA-351.
2016-06-01 15:05:14 +02:00
Ghostkeeper
d1566ef637
Also reload extruders at init
Not a reload really, just a load.

Contributes to issues CURA-1278 and CURA-351.
2016-06-01 14:55:15 +02:00
Ghostkeeper
60a71fcc33
Only list extruders in extruder manager
Let the extruders themselves take care of which profiles are attached to each.

Contributes to issues CURA-1278 and CURA-351.
2016-06-01 14:54:30 +02:00