47 Commits

Author SHA1 Message Date
Remco Burema
038e8b7722 Warn for mismatched cores on multi-config printers.
Similar to the warning we already had for missing materials.

CURA-12368
2025-01-22 21:16:56 +01:00
Erwan MATHIEU
f0cbd8e802 Restore lost change after an errored merge
This reverts commit 946bf033066e561827da4d00afbc3b680cd7e552.
2024-09-19 11:00:09 +02:00
Erwan MATHIEU
946bf03306 Revert "Merge branch 'main' into 5.8"
This reverts commit fec7637615fd05fb052848bb1cd569840d650ebd, reversing
changes made to 081b9b543b564ac6c2a840916162a06b289c5d94.
2024-08-13 15:56:01 +02:00
Remco Burema
f81a3f0e11 Centralize all of these mappings.
done as part of CURA-12005
2024-08-01 13:59:49 +02:00
Paul Kuiper
adc873e619 Remove experimental tag from ASA and SR30.
Map mk14_e to LABS extruder.

PP-502
2024-07-11 19:54:18 +02:00
HellAholic
bbb611d82d Switch from Generic to UM material 2024-07-05 13:34:54 +02:00
Paul Kuiper
0d977178f1 Removed PLA filter from Method X and Method XL.
Changed setting support_infill_density_multiplier_layer_0 to support_infill_density_multiplier_initial_layer.
Added Tough PLA to the MaterialOutputModel.py so it is recognised by Cura.

PP-475
2024-06-28 11:02:14 +02:00
c.lamboo
a7329841e6 Revert "removed all generic materials"
This reverts commit 71332716cc6ac19351798aae7fe48ab95088597b.
2024-03-21 11:25:24 +01:00
Saumya Jain
71332716cc removed all generic materials
Only materials available for method is available in the _material_map

CURA-11729
2024-03-21 10:37:12 +01:00
Saumya Jain
81001b60cf GUID of material ASA was from generic ASA, now given Ultimaker ASA GUID
CURA-11729
2024-03-20 14:32:22 +01:00
c.lamboo
77e949830a Add missing ABS-CF material to material map
CURA-11710
2024-03-11 13:04:26 +01:00
Saumya Jain
0da0c720dd Changed names of materials as per materials list
Removed materials with GUID not found

CURA-11710
2024-03-11 11:04:51 +01:00
Casper Lamboo
3fee8ba851
Update cura/PrinterOutput/Models/MaterialOutputModel.py 2024-03-08 16:59:04 +01:00
c.lamboo
6e6ca515cd Add missing nylon material to material map
CURA-11709
2024-03-08 16:07:41 +01:00
Jelle Spijker
7a4d26452a
Fix testing against literal instead of value
Contribute to CURA-10831
2023-12-04 14:00:42 +01:00
saumya.jain
7ce91f5ad8 material translation, saving to .makerbot on cloud by default when Method printer is selected
CURA-11138
2023-11-01 11:03:19 +01:00
saumya.jain
ce132e4c3f Function name changed to make it a bit generic
CURA-11138
2023-10-31 11:48:44 +01:00
saumya.jain
1a139f44bc parsing method printer nozzles
CURA-11138
2023-10-30 16:13:50 +01:00
c.lamboo
8d9e9a9dbf Use modern python typing
CURA-9278
2022-09-12 17:04:40 +02:00
Jaime van Kessel
438871648b
Don't notify qml of update if no configurations changed
This might be the cause of #11608, but i'm not entirely sure. Whatever
the case, it's also not going to hurt checking this...
2022-08-31 16:31:39 +02:00
Ghostkeeper
84cf72d58f
Document shortcoming of isMine check
Contributes to issue CURA-9220.
2022-08-01 10:49:29 +02:00
Ghostkeeper
8871fd6224
Add property of the print job being made by the current user
According to the Account API, is this print job made by the same user?
This property is a bit inaccurate, in that this matches by the user name. The user name might be duplicate in some systems.

Contributes to issue CURA-9220.
2022-07-25 17:28:56 +02:00
Remco Burema
a2d721b6ac Always return int's.
The problem was probably 'max', but cast the others just to be sure. (This would cause the C++ part of Qt to think it wasbeing given a float from Pyton somehow.)

should fix CURA-9196
2022-04-26 16:54:46 +02:00
j.delarago
aa190024d4 Update enum, this fixes connecting to printers
CURA-8640
2022-04-05 16:01:17 +02:00
Remco Burema
abe7c1bf7f
Search/replace Qt5->Qt6.
part of upgrading Qt to v6.2: CURA-8591
2021-12-28 14:46:02 +01:00
Ghostkeeper
9674c54efb
Better type checking and handling of optionals
Adds type checking here and there to catch such errors in the future.
This makes it handle the optional fields of this model better.

Contributes to issue CURA-8730.
2021-12-08 17:36:09 +01:00
Ghostkeeper
3032221b70
Prevent division by 0 if total download size is 0
This can happen if the downloads are all so small that it gets rounded to 0kB.

Fixes Sentry issue CURA-ZM.
2020-07-06 17:23:58 +02:00
Nino van Hooff
9ffadb369d Fix ExtruderConfigurationModel.__eq__
Fixes an issue where 2 configurations
(empty, empty) and (pla, empty) were considered
equal

CURA-7248
2020-07-02 15:44:22 +02:00
Nino van Hooff
89f0970a88 Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
Nino van Hooff
c2c96faf5f Convert remaining doxygen to rst 2020-05-28 17:13:44 +02:00
Jaime van Kessel
81b33b8649
Add some missing typing 2020-01-10 14:58:53 +01:00
ChrisTerBeke
9a3ff527ac Bring back the printer selection dialog for networked printers 2019-10-25 12:25:41 +02:00
Lipu Fei
8b913f4009 Merge remote-tracking branch 'origin/master' into CURA-6863_duplicated_material_oddness 2019-10-14 12:23:49 +02:00
Remco Burema
09dc6ae44a Scouting: Try not to spam signals or errors as much.
nominally part of CURA-6863
2019-10-14 01:03:41 +02:00
Jaime van Kessel
05a6c9c3cf
Make code a bit smarter about reusing ExtruderConfigurationModels
This prevents a lot of unneeded signal noise
2019-10-11 11:04:16 +02:00
Jaime van Kessel
63f9483037 Connect the config changed of the configuration to that of the output model 2019-08-23 17:15:08 +02:00
ChrisTerBeke
882352c99d Test fixes, not working yet 2019-08-23 17:03:39 +02:00
ChrisTerBeke
36f6dba2fc Fix not displaying configuration with both extruders empty 2019-08-23 16:23:51 +02:00
Jaime van Kessel
bc4b2a596a Rename _printer_configuration to _active_printer_configuration
CURA-6732
2019-08-22 15:58:12 +02:00
Jaime van Kessel
a1ca705de9 Add documentation
CURA-6732
2019-08-22 15:10:17 +02:00
Jaime van Kessel
34c3a04744 Added missing tests for peripheral
Not part of the ticket, but I'm boyscouting this.
2019-08-22 14:24:19 +02:00
Jaime van Kessel
561a3e53e5 Only add available configuration if it wasn't already in the list
CURA-6732
2019-08-22 14:09:39 +02:00
Jaime van Kessel
d2e9715409 Add availableConfiguration property to the output model
CURA-6732
2019-08-22 14:02:29 +02:00
Ghostkeeper
fed275024a
Add slot to store peripherals
You can get the list of names of peripherals this way.

Contributes to issue CURA-6651.
2019-07-15 17:29:30 +02:00
Jaime van Kessel
c32c642ba5 Fixed highlighting matching configuration if a material is empty 2019-04-26 11:59:16 +02:00
Lipu Fei
8780fce7a7 Move MaterialOutputModel back 2019-03-28 14:26:54 +01:00
Lipu Fei
4a171eebf6 Move models around again
- Move machine related models to cura.Machines.Models
 - Move printer device related models to cura.PrinterOutput.Models
 - Other UI/GUI related modules in cura.UI
2019-03-26 08:29:22 +01:00