81 Commits

Author SHA1 Message Date
Remco Burema
abe7c1bf7f
Search/replace Qt5->Qt6.
part of upgrading Qt to v6.2: CURA-8591
2021-12-28 14:46:02 +01:00
Jaime van Kessel
349f3b7e11
Force update when changing nozzle size in custom FFF
Fixes #8306
2020-09-07 10:46:17 +02:00
Nino van Hooff
89f0970a88 Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
Nino van Hooff
553b09b6cf Convert doxygen to rst for GcodeWriter, LegacyProfileReader,
MachineSettingsAction, ModelChecker
2020-05-08 16:20:55 +02:00
Lipu Fei
472e6e88c3 Fix typing 2019-09-19 14:39:03 +02:00
Ghostkeeper
eaf649023a
Fix setting default material after g-code flavour changes has_materials
Don't use the material manager here any more.

Contributes to issue CURA-6600.
2019-09-17 09:23:33 +02:00
Ghostkeeper
977beb8dbb
Re-build container tree if has_materials changes during runtime
A bit of a hack and it'll be very slow. But it should work. Right now this crashes though because it still calls the Material Manager.

Contributes to issue CURA-6600.
2019-09-17 08:55:29 +02:00
Lipu Fei
bc4809d8f8 Fix metadata checking 2019-08-28 11:52:52 +02:00
Lipu Fei
a106a9ddb9 WIP: Cleanup MachineSettingsAction 2019-03-20 08:59:20 +01:00
Lipu Fei
af02dc2758 Only use setMetaDataEntry() 2018-07-11 11:14:57 +02:00
Diego Prado Gesto
49abf38210 CURA-5334 Ensure the material manager is fetched before call 2018-06-14 13:24:07 +02:00
Jack Ha
44e9d1e334 CURA-5334 factor out the need for material_diameter in machine definition for getDefaultMaterial 2018-06-12 11:25:02 +02:00
Jack Ha
89c84eb93b CURA-5327 fix crash when changing material diameter 2018-06-11 17:00:43 +02:00
Jack Ha
b3f6e5c9e0 CURA-5327 renamed MachineManager._updateMaterialWithVariant to updateMaterialWithVariant 2018-06-11 15:52:28 +02:00
Lipu Fei
c779795618 Remove unnecessary updateMaterialForDiameter()
CURA-5327
2018-06-11 10:55:10 +02:00
Jack Ha
00d8427e42 Add sanity check for GlobalStack CURA-5045 2018-05-07 10:30:45 +02:00
Lipu Fei
206d20c440 Fix empty definition_changes check in MachineSettingsAction
CURA-5060

Should check for both "empty" and "empty_definition_changes".
2018-03-09 15:04:57 +01:00
Lipu Fei
c9905449eb Clean up MachineSettingsAction imports
CURA-5060
2018-03-09 14:54:13 +01:00
Lipu Fei
48dae7b6c7 Remove commented code
CURA-5060
2018-03-09 14:35:43 +01:00
Lipu Fei
de72dd3455 Fix material update upon gcode flavour change
CURA-5060
2018-03-09 14:26:53 +01:00
ChrisTerBeke
129f9cc16c Fixes for custom FMD printer material diameter upgrade and storage - CURA-4835 2018-01-22 17:18:09 +01:00
ChrisTerBeke
d035ace40d Add method to set active extruder count to machine manager so other plugins can use it, add empty definitions container template 2018-01-19 13:32:25 +01:00
Lipu Fei
b0d2ef0f72 Correct default material diameter value for single-extrusion machines
CURA-4812
2018-01-16 15:04:21 +01:00
Lipu Fei
7c4a122767 Fix container_index for MachineSettingsAction
CURA-4708
2018-01-03 17:04:40 +01:00
Lipu Fei
cbf6f55fd8 Fix perfered material search in auto-update
CURA-4708
2018-01-03 16:42:57 +01:00
Lipu Fei
47a12b4128 Prefer materials from the same brand in auto-update
CURA-4708
2018-01-03 16:29:19 +01:00
Lipu Fei
b246a102ed Fix MachineSettings dialog
CURA-4708

- Move material diameter and nozzle size to extruder tabs
- Fix value bindings
2018-01-02 12:40:43 +01:00
fieldOfView
e8a7237391 Fix updating material container for extruder when changing gcode flavor
Since single extrusion printers have a single extruder stack now, material container needs to be set on the extruder stack instead of the global stack
2017-11-30 11:46:06 +01:00
ChrisTerBeke
657a91c525 Merge pull request #2685 from Ultimaker/container_stack_improvements
Container stack improvements
2017-11-20 17:42:26 +01:00
Lipu Fei
fe70e19089 Reset extruder numbers whose values are no longer valid
CURA-4176

After the user changes the number of extruders for a machine, some
extruder number settings may not have valid values any more. These
settings need to be reset.`
2017-10-27 10:59:03 +02:00
fieldOfView
ad1c0046d9 Fix crash when exiting Machine Settings
fixes #2609
2017-10-15 11:54:49 +02:00
Jaime van Kessel
437da52f65 Merge branch 'fix_multiple_extruder_issues' of github.com:Ultimaker/Cura into 3.0 2017-09-29 15:17:11 +02:00
Jaime van Kessel
6d687d6f06 Re-enable changing of multi-extrusion machines to single extrusion
CURA-4359
2017-09-29 13:50:31 +02:00
ChrisTerBeke
1b8766b953 CURA-4386 CURA-4379 change stack behaviours to fix crashes 2017-09-28 16:00:16 +02:00
Diego Prado Gesto
e3edc79a3e modified some code to fix the multiple extrusion issues - CURA-4379 2017-09-28 13:21:03 +02:00
Mark
9a193ad5c5 Changing AGPLv3 to LGPLv3 2017-09-28 13:00:43 +02:00
Diego Prado Gesto
4b3e83f876 Not allowing to modify the number of extruders in multiextruder printers, except Custom FDM printers - CURA-4359 2017-09-27 15:55:34 +02:00
Lipu Fei
6e06837084 Remove duplicated function createDefinitionChangesContainer()
CURA-4107
2017-08-02 08:50:32 +02:00
fieldOfView
e2c978f88b Remove unused extruderContainerIndex property
Since the work on CuraContainerStack, the definition changes container for the extruder and for the global stack are always on the same index
2017-07-10 12:23:27 +02:00
fieldOfView
7fe674bc5b Improve test for empty containers 2017-07-10 12:19:19 +02:00
fieldOfView
d6ddf15e24 Fix selecting material for UM2 when switching from UltiGcode 2017-07-09 16:46:25 +02:00
fieldOfView
8c2f556616 Switch to an appropriate material when changing the material diameter
If we don't do this, the material will always override the setting in Machine Settings
2017-07-09 16:41:24 +02:00
fieldOfView
ddc94e9bec Improve readability 2017-07-09 15:44:01 +02:00
fieldOfView
de0ac5ccff Use CuraContainerStack API 2017-07-09 11:28:14 +02:00
Jaime van Kessel
b18b1d3cd0 Only disable timer of backend if it's initialised
Fixes #1939
2017-06-06 15:42:49 +02:00
Lipu Fei
40d70b5f39 Fix version upgrade for project loading
CURA-3756
2017-05-16 14:38:27 +02:00
Ghostkeeper
ccda155882
Add setting_version every time we create InstanceContainer
Except when we fill the instancecontainer via deserialising. Because then we want to retain the original version number.

Contributes to issue CURA-3427.
2017-05-15 10:39:53 +02:00
Jaime van Kessel
316f2bbdb5 Fixed switching g-code flavors with machineAction 2017-05-10 09:49:33 +02:00
fieldOfView
98b127851b Fix setting number of extruders when hasVariants is set 2017-05-08 12:54:12 +02:00
Ghostkeeper
41e444714f
Fix spacing
Minor code style stuff.
2017-05-03 16:54:20 +02:00