-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-introduce prime_tower_enable
#18403
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy
found issue(s) with the introduced code (1/1)
@@ -55,6 +55,7 @@ | |||
"settable_per_extruder": false | |||
}, | |||
"prime_blob_enable": { "default_value": false }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overriding prime_blob_enable with the same value (default_value: False) as defined in parent definition: fdmprinter
"prime_blob_enable": { "default_value": false }, | |
@@ -44,8 +44,8 @@ | |||
"machine_width": { "default_value": 235 }, | |||
"meshfix_maximum_resolution": { "value": 0.25 }, | |||
"optimize_wall_printing_order": { "value": true }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overriding optimize_wall_printing_order with the same value (value: True) as defined in parent definition: fdmprinter
"optimize_wall_printing_order": { "value": true }, | |
"prime_tower_min_volume": { "value": 30 }, | ||
"prime_tower_mode": { "value": "'normal'" }, | ||
"retract_at_layer_change": { "value": false }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overriding retract_at_layer_change with the same value (value: False) as defined in parent definition: fdmprinter
"retract_at_layer_change": { "value": false }, | |
prime_tower_enable
prime_tower_enable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a minor remark, I can make the change if you agree with it.
By the way, this change makes more and more sense to me. Some printers forcibly activate or deactivate the prime tower, so when forcing a mode instead, it wouldn't allow them to use the optimized "interleaved" mode. Now they can forcibly enable it, and the mode will depend on the actual materials, which is really expected.
I see a lot of settings in fdmprinter.def.json that still rely on |
Co-authored-by: Erwan MATHIEU <erwan.mathieu@ultimaker.com>
Description
Previously we introduced new settings related to the prime tower. Specifically the setting
prime_tower_enable
was changed toprime_tower_mode
whereprime_tower_enable=False
is reinterpreted toprime_tower_mode=None
andprime_tower_enable=True
is can be eitherprime_tower_mode=Normal
orprime_tower_mode=Interleaved
.This reinterpretation poses some issues related to upgrade script, value resolving etc. Additionally it isn't consistent with how settings are defined elsewhere. For example, for the support setting we have two settings, namely:
(bool)support_enabled
and(enum)support_mode
wheresupport_mode
can be eithertree
ornormal
. Following this same logic we should have introduced(bool)prime_tower_enable
and(enum)prime_tower_mode
.also see enginge PR Ultimaker/CuraEngine#2033
CURA-11645
Type of change
How Has This Been Tested?
Yas
Test Configuration:
Checklist: