Resolve bed adhesion type via limit-to-extruder

The cause for this change is that TPU says we want to print with brim but CPE wants to print with raft. In those cases the resolve function would choose the raft because that's safer. However if the default extruder happens to be the TPU one you then get a raft made of TPU which is flexible. That defeats the purpose of the raft, and causes the raft to warp, clog on the nozzle, destroy the world, etc. So there, I saved the world once more.
This commit is contained in:
Ghostkeeper 2017-05-12 10:00:24 +02:00
parent 9de041ade5
commit 396f4381dd
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75

View file

@ -3623,7 +3623,7 @@
"none": "None"
},
"default_value": "brim",
"resolve": "'raft' if 'raft' in extruderValues('adhesion_type') else ('brim' if 'brim' in extruderValues('adhesion_type') else 'skirt')",
"limit_to_extruder": "adhesion_extruder_nr",
"settable_per_mesh": false,
"settable_per_extruder": false
},