From e06ed86709bc61f0b47ec951a9e119b9018f4495 Mon Sep 17 00:00:00 2001 From: Erwan MATHIEU Date: Mon, 21 Oct 2024 11:17:26 +0200 Subject: [PATCH] Set warning and enable settings if necessary CURA-12195 --- resources/definitions/fdmprinter.def.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/resources/definitions/fdmprinter.def.json b/resources/definitions/fdmprinter.def.json index b6d72946e34..54d92af015f 100644 --- a/resources/definitions/fdmprinter.def.json +++ b/resources/definitions/fdmprinter.def.json @@ -8948,7 +8948,8 @@ "unit": "%", "limit_to_extruder": "wall_0_extruder_nr", "settable_per_extruder": true, - "settable_per_mesh": true + "settable_per_mesh": true, + "enabled": "scarf_joint_seam_length > 0" }, "scarf_split_distance": { @@ -8958,10 +8959,12 @@ "default_value": 1.0, "minimum_value": 0.1, "maximum_value": 100.0, + "maximum_value_warning": "scarf_joint_seam_length", "unit": "mm", "limit_to_extruder": "wall_0_extruder_nr", "settable_per_extruder": true, - "settable_per_mesh": true + "settable_per_mesh": true, + "enabled": "scarf_joint_seam_length > 0" }, "wall_0_start_speed_ratio": {