Remco Burema
05f6afd93d
Round layer height to two decimals for display (profile) purposes.
...
CURA-12020
2025-01-29 13:20:01 +01:00
HellAholic
13ba3da8a0
Merge pull request #19899 from Ultimaker/CURA-12223_fix_extruder_stack_overflow
...
[CURA-12223] Force extruder position to stick during retrieval of property.
2024-11-15 12:51:16 +01:00
Remco Burema
b660885a58
Fix 'AttributeError' (defensive coding).
...
should fix sentry#CURA-1D2
2024-11-13 09:48:45 +01:00
Remco Burema
f4980450f2
Force extruder position to stick during retrieval of property.
...
Otherwise other parts of the stack(s) could have another value for limit-to-extruder, depending on if the user updates the chosen extruder (for example for support) quickly enough that we're in the middle of the operation. (Locking would probably more complicated, since we not only need a recurrent lock, but a lock on a few but not all classes based on a method call....)
CURA-12223
2024-11-12 22:47:07 +01:00
Remco Burema
d0252554c4
Make extra sure cache is emptied when objects get altered.
...
See the (new) cachePerInstance decorator in UM/Decorators, and the accompanying CachedMemberFunction handler-class.
part of CURA-11761
2024-09-03 18:23:41 +02:00
Remco Burema
39d9ab7afb
Allow DigitalFactory bundled-plugin to autoselect format on save.
...
There was an earlier implementation of this, which was hacky, and didn't work anymore.
CURA-11958
2024-07-17 18:05:33 +02:00
Jaime van Kessel
a5a25f676e
Improve currentIntentCategory logic
...
CURA-11854
2024-04-24 13:15:21 +02:00
Casper Lamboo
9f78b2a23c
Use definition.id to check if printer is factor 4
2024-04-22 14:53:22 +02:00
Saumya Jain
6542d9ff13
changes made regards to PR review
...
CURA-11851
2024-04-22 14:45:51 +02:00
Saumya Jain
21e4f99b9d
Add core compatibility check for Factor4 machine
...
A new function has been added to the MachineManager class to check for core compatibility in the Factor4 machine. This function ensures the selected core is compatible for use with the Factor4 machine and if not, it displays a warning icon with an appropriate message.
CURA-11851
2024-04-22 14:00:56 +02:00
Erwan MATHIEU
70f18c1143
Apply code consistency suggestions
...
CURA-11475
2024-03-19 13:00:26 +01:00
Casper Lamboo
d16c7a84a9
Remove documenting comment in middle of function
...
CURA-11475
2024-03-19 11:37:04 +01:00
Erwan MATHIEU
5a346e3ce6
Optimized SettingInheritanceManager update
...
Instead of getting all the settings and checking for their state, run only once through all the containers and gather only the keys having a User state.
CURA-11475
2024-03-18 11:25:08 +01:00
Erwan MATHIEU
8308b640ca
Revert "Optimize overridden calculated settings computation"
...
This reverts commit 42b72f81bb16ffa6912eb96aed29a3fd3349af56.
2024-03-14 16:02:35 +01:00
Erwan MATHIEU
42b72f81bb
Optimize overridden calculated settings computation
...
Instead of getting all the settings and checking whether they have a user state, just take the settings from the user changes containers, which is way faster.
CURA-11475
2024-03-13 14:08:04 +01:00
c.lamboo
8af3de2178
Fix getInitialExtruder
code
...
For the `skirt_brim_extruder_nr` setting it is possible for the setting to be -1; this means that we have no preference for extruder. This allowed us to implement the "multi-material brim". When we were requesting the initial extruder, and this value was set to -1 we were default to the 0-th extruder. However, this was incorrect in the situation where the first extruder is not used.
Fixes #17501
2024-01-23 20:48:02 +01:00
c.lamboo
cf27163934
Update bot
to reference
2023-11-29 12:25:51 +01:00
c.lamboo
a9dcfaa032
specify bot id type
2023-11-27 15:32:55 +01:00
c.lamboo
495079f3d9
Clean up bot LUT
...
We had a lot of Look up Tables scattered around in the cura repository. This can be solved by adding a `bot_id` entry to metadata of the various makerbot extruders/materials/definitions
2023-11-24 16:49:31 +01:00
Jelle Spijker
efafe1503d
Merge branch '5.6'
...
# Conflicts:
# conanfile.py
# resources/definitions/ultimaker_methodx.def.json
# resources/definitions/ultimaker_methodxl.def.json
2023-11-15 13:53:39 +01:00
c.lamboo
61b33691e5
Fix nozzle selection checkmark
...
CURA-11299
2023-11-10 15:21:18 +01:00
c.lamboo
75feb5ae38
Don't create abstract printers if visibility is set to false
...
CURA-11138
2023-10-31 15:35:56 +01:00
c.lamboo
fa1f5a7c89
Boyscouting
...
CURA-11189
2023-10-20 15:10:39 +02:00
saumya.jain
215a893c39
putting the code in right location
...
checked: this code only checks for support type and adhesion type and make them lowercase
CURA-11048
2023-10-04 11:19:20 +02:00
saumya.jain
5b6fea9734
if value is a string make it lowercase
...
CURA-11048
2023-10-04 11:05:33 +02:00
Erwan MATHIEU
3ebeb0a661
Set a brand to empty material to avoid later crash
...
CURA-11089
2023-09-26 13:59:45 +02:00
c.lamboo
6e045e8b37
Put back getAnyExtruderPositionWithOrDefault
api function
...
CURA-10685
2023-08-29 14:11:36 +02:00
saumya.jain
ab8b7c3ab5
name changes
...
CURA-10685
2023-08-25 15:46:30 +02:00
saumya.jain
9129a526ba
improve number of iterations
...
CURA-10685
2023-08-25 11:58:27 +02:00
Jaime van Kessel
1e240e3229
Let intent selection use the quality_definition instead of direct def
...
The issue was that sometimes intents are also shared.
CURA-10788
2023-07-21 10:57:39 +02:00
Remco Burema
68231c957d
Add settings-function to get an extruder based on a property.
...
We wanted to select an extruder based on wether or not it has support-material, so that the user doesn't have to think about selecting a support extruder any more and in most cases, can't forget anymore either. The formula present in fdmprinter to do that was not only an unreadable nightmare, but also very slow. We decided to pull most of that functionality into the settings-function machinery instead (but just a bit more generic so other properties can be selected, not just 'material_is_support_material').
done as part of finishing off CURA-10643
2023-06-13 15:59:24 +02:00
c.lamboo
27cc89ff89
Allow for custom descriptions/icons in packaged intents
...
CURA-9709
2023-05-31 12:54:56 +02:00
Jaime van Kessel
1ada1b04df
Remove unneeded whitespace
...
Boyscouting CURA-10342
2023-02-28 10:35:02 +01:00
Joey de l'Arago
1e6184448c
Apply suggestions from code review
...
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>
Co-authored-by: Jelle Spijker <j.spijker@ultimaker.com>
2022-12-12 11:44:21 +01:00
Joey de l'Arago
e6f4055df5
Remove part of hack for fixing extrudersCHanged signal at the wrong time.
...
Other things rely on the extruders changed signal so it is better to just emit it again at the correct time.
CURA-9793
2022-12-08 13:11:14 +01:00
Joey de l'Arago
bcdfa808a8
Switch to checking enabled extruder count for showing print with Component. This is because we want the SingleSettingExtruderBar to be hidden when there are 1 or less extruders, but also when there are 1 or less enabled extruders.
...
CURA-9793
2022-12-07 17:33:13 +01:00
Joey de l'Arago
443252ae10
Use globalStackExtruderIds instead of extruderIds. extruderIds notifys change before the extruders change when doing a machine swap. Fixing this will take a long time so this is a workaround. If you are reading this 🙏 good luck fixing it 🙏
...
CURA-9793
2022-12-07 16:57:35 +01:00
Joey de l'Arago
d8cf234a17
Use different signal for triggering update to extrduderIds. **This is a hack**. Actually fixing this problem could take days.
...
CURA-9793
2022-12-07 12:25:33 +01:00
Joey de l'Arago
93d1f05aec
Remove ignored changes list. All changes will now trigger the reset setting button to appear
...
CURA-9793
2022-12-06 12:07:07 +01:00
Joey de l'Arago
3ddebe7a84
The extrudersCHanged signal was incorrectly being emitted before the global stack had updated. This was causing the extruderIds to always return the old extruderIds to connected qml components.
...
The setting slider was incorrectly setting the slider value when updating the model.
CURA-9793
2022-12-06 10:37:06 +01:00
Joey de l'Arago
0738f996d0
Merge branch 'main' into CURA-9793_extend_recommended_print_settings
2022-12-05 11:39:51 +01:00
Joey de l'Arago
29172014ad
Add all new recommended items to ignored custom settings keys. This stops the reset setting button from appearing even though we have changed these settings.
...
CURA-9793
2022-12-05 11:37:18 +01:00
Jelle Spijker
eb4451f25c
Don't test with is not
for a literal
2022-11-30 22:23:17 +01:00
Jelle Spijker
46df77543b
Don't test with is not
for a literal
2022-11-30 22:22:28 +01:00
c.lamboo
be40920042
Fix cura crashing
...
`activeQualityDisplayNameMap` no longer returned a dict and could thus not be a pyqt property
Cura-9773
2022-11-28 13:14:47 +01:00
c.lamboo
8e8437eab0
Split of getStringParts
function
...
Spit into `getMainStringParts` and `getTailStringParts` so we can easily differentiate between the two in the front-end.
Cura-9773
2022-11-28 13:10:52 +01:00
Joey de l'Arago
8dcccd941b
Add dataclass for ActiveQuality. Move some logic out of MachineManager into ActiveQuality.
...
CURA-9793
2022-11-28 12:40:35 +01:00
Casper Lamboo
f297909a82
Fix type signature of function
...
Co-authored-by: Joey de l'Arago <joeydelarago@gmail.com>
2022-11-28 11:23:53 +01:00
Casper Lamboo
a645fa7d96
Use bracket to initialise list
...
Co-authored-by: Joey de l'Arago <joeydelarago@gmail.com>
2022-11-28 11:22:53 +01:00
c.lamboo
4fa024cd31
Group intent and quality
...
Bit of an ugly hack. At later point in the code it is assumed the first element of the list is the main part and the remaining elements form the suffix. Intent and the profile form both the main part so these need to be grouped together.
Cura-9773
2022-11-25 16:48:06 +01:00