From 17a3474558942871a1323522917b71b5166febc9 Mon Sep 17 00:00:00 2001 From: grant0013 Date: Thu, 21 May 2026 10:32:50 +0000 Subject: [PATCH] harktech: repoint CR-PETG K2 profiles at fdm_filament_pet base The fdm_filament_petg base template added in 7f46c652 (cherry-picked from hamham999's PR 13581) had two bugs: - filament_type: ["PLA"] (should be PETG) - inherits: null (should chain to fdm_filament_common) so OrcaSlicer still rejected our CR-PETG profiles even after the base was installed. The existing fdm_filament_pet base already declares filament_type: ["PETG"] and inherits fdm_filament_common, so it correctly serves as the PETG base. Repoint all 10 K2-family CR-PETG profiles at it and remove the buggy fdm_filament_petg.json + its Creality.json entry. This effectively reverts the resource addition from 7f46c652 while keeping the CR-PETG filament profile additions from 5612e120 (now with a working inherits chain). Verified locally: OrcaSlicer parses all 10 profiles without error and the K2 family populates the Add Printer dialog. Co-Authored-By: Claude Opus 4.7 (1M context) --- resources/profiles/Creality.json | 4 - .../CR-PETG @Creality K2 0.4 nozzle.json | 2 +- .../CR-PETG @Creality K2 0.6 nozzle.json | 2 +- .../CR-PETG @Creality K2 0.8 nozzle.json | 2 +- .../CR-PETG @Creality K2 Plus 0.2 nozzle.json | 2 +- .../CR-PETG @Creality K2 Plus 0.4 nozzle.json | 2 +- .../CR-PETG @Creality K2 Plus 0.6 nozzle.json | 2 +- .../CR-PETG @Creality K2 Plus 0.8 nozzle.json | 2 +- .../CR-PETG @Creality K2 Pro 0.4 nozzle.json | 2 +- .../CR-PETG @Creality K2 Pro 0.6 nozzle.json | 2 +- .../CR-PETG @Creality K2 Pro 0.8 nozzle.json | 2 +- .../Creality/filament/fdm_filament_petg.json | 147 ------------------ 12 files changed, 10 insertions(+), 161 deletions(-) delete mode 100644 resources/profiles/Creality/filament/fdm_filament_petg.json diff --git a/resources/profiles/Creality.json b/resources/profiles/Creality.json index c30a81e4b47..9a3dae36487 100644 --- a/resources/profiles/Creality.json +++ b/resources/profiles/Creality.json @@ -2480,10 +2480,6 @@ "name": "fdm_filament_pet", "sub_path": "filament/fdm_filament_pet.json" }, - { - "name": "fdm_filament_petg", - "sub_path": "filament/fdm_filament_petg.json" - }, { "name": "fdm_filament_pla", "sub_path": "filament/fdm_filament_pla.json" diff --git a/resources/profiles/Creality/filament/CR-PETG @Creality K2 0.4 nozzle.json b/resources/profiles/Creality/filament/CR-PETG @Creality K2 0.4 nozzle.json index 7005c4ce5d9..a6b42341a91 100644 --- a/resources/profiles/Creality/filament/CR-PETG @Creality K2 0.4 nozzle.json +++ b/resources/profiles/Creality/filament/CR-PETG @Creality K2 0.4 nozzle.json @@ -5,7 +5,7 @@ "name": "CR-PETG @Creality K2 0.4 nozzle", "from": "system", "instantiation": "true", - "inherits": "fdm_filament_petg", + "inherits": "fdm_filament_pet", "activate_air_filtration": "0", "activate_chamber_temp_control": "1", "additional_cooling_fan_speed": "0", diff --git a/resources/profiles/Creality/filament/CR-PETG @Creality K2 0.6 nozzle.json b/resources/profiles/Creality/filament/CR-PETG @Creality K2 0.6 nozzle.json index 3d496aa2c98..2e99533828b 100644 --- a/resources/profiles/Creality/filament/CR-PETG @Creality K2 0.6 nozzle.json +++ b/resources/profiles/Creality/filament/CR-PETG @Creality K2 0.6 nozzle.json @@ -5,7 +5,7 @@ "name": "CR-PETG @Creality K2 0.6 nozzle", "from": "system", "instantiation": "true", - "inherits": "fdm_filament_petg", + "inherits": "fdm_filament_pet", "activate_air_filtration": "0", "activate_chamber_temp_control": "1", "additional_cooling_fan_speed": "0", diff --git a/resources/profiles/Creality/filament/CR-PETG @Creality K2 0.8 nozzle.json b/resources/profiles/Creality/filament/CR-PETG @Creality K2 0.8 nozzle.json index 0cdc4ccd404..0a88098a22b 100644 --- a/resources/profiles/Creality/filament/CR-PETG @Creality K2 0.8 nozzle.json +++ b/resources/profiles/Creality/filament/CR-PETG @Creality K2 0.8 nozzle.json @@ -5,7 +5,7 @@ "name": "CR-PETG @Creality K2 0.8 nozzle", "from": "system", "instantiation": "true", - "inherits": "fdm_filament_petg", + "inherits": "fdm_filament_pet", "activate_air_filtration": "0", "activate_chamber_temp_control": "1", "additional_cooling_fan_speed": "0", diff --git a/resources/profiles/Creality/filament/CR-PETG @Creality K2 Plus 0.2 nozzle.json b/resources/profiles/Creality/filament/CR-PETG @Creality K2 Plus 0.2 nozzle.json index d13341236c6..e8a2bdaa2a8 100644 --- a/resources/profiles/Creality/filament/CR-PETG @Creality K2 Plus 0.2 nozzle.json +++ b/resources/profiles/Creality/filament/CR-PETG @Creality K2 Plus 0.2 nozzle.json @@ -5,7 +5,7 @@ "name": "CR-PETG @Creality K2 Plus 0.2 nozzle", "from": "system", "instantiation": "true", - "inherits": "fdm_filament_petg", + "inherits": "fdm_filament_pet", "activate_air_filtration": "0", "activate_chamber_temp_control": "1", "additional_cooling_fan_speed": "0", diff --git a/resources/profiles/Creality/filament/CR-PETG @Creality K2 Plus 0.4 nozzle.json b/resources/profiles/Creality/filament/CR-PETG @Creality K2 Plus 0.4 nozzle.json index 44fe50a577b..e819d79bf1a 100644 --- a/resources/profiles/Creality/filament/CR-PETG @Creality K2 Plus 0.4 nozzle.json +++ b/resources/profiles/Creality/filament/CR-PETG @Creality K2 Plus 0.4 nozzle.json @@ -5,7 +5,7 @@ "name": "CR-PETG @Creality K2 Plus 0.4 nozzle", "from": "system", "instantiation": "true", - "inherits": "fdm_filament_petg", + "inherits": "fdm_filament_pet", "activate_air_filtration": "0", "activate_chamber_temp_control": "1", "additional_cooling_fan_speed": "0", diff --git a/resources/profiles/Creality/filament/CR-PETG @Creality K2 Plus 0.6 nozzle.json b/resources/profiles/Creality/filament/CR-PETG @Creality K2 Plus 0.6 nozzle.json index cf6c2f87c21..2f623d66185 100644 --- a/resources/profiles/Creality/filament/CR-PETG @Creality K2 Plus 0.6 nozzle.json +++ b/resources/profiles/Creality/filament/CR-PETG @Creality K2 Plus 0.6 nozzle.json @@ -5,7 +5,7 @@ "name": "CR-PETG @Creality K2 Plus 0.6 nozzle", "from": "system", "instantiation": "true", - "inherits": "fdm_filament_petg", + "inherits": "fdm_filament_pet", "activate_air_filtration": "0", "activate_chamber_temp_control": "1", "additional_cooling_fan_speed": "0", diff --git a/resources/profiles/Creality/filament/CR-PETG @Creality K2 Plus 0.8 nozzle.json b/resources/profiles/Creality/filament/CR-PETG @Creality K2 Plus 0.8 nozzle.json index dee3f1f99f8..7207b0b7eb7 100644 --- a/resources/profiles/Creality/filament/CR-PETG @Creality K2 Plus 0.8 nozzle.json +++ b/resources/profiles/Creality/filament/CR-PETG @Creality K2 Plus 0.8 nozzle.json @@ -5,7 +5,7 @@ "name": "CR-PETG @Creality K2 Plus 0.8 nozzle", "from": "system", "instantiation": "true", - "inherits": "fdm_filament_petg", + "inherits": "fdm_filament_pet", "activate_air_filtration": "0", "activate_chamber_temp_control": "1", "additional_cooling_fan_speed": "0", diff --git a/resources/profiles/Creality/filament/CR-PETG @Creality K2 Pro 0.4 nozzle.json b/resources/profiles/Creality/filament/CR-PETG @Creality K2 Pro 0.4 nozzle.json index c76760c6483..915eb1039e0 100644 --- a/resources/profiles/Creality/filament/CR-PETG @Creality K2 Pro 0.4 nozzle.json +++ b/resources/profiles/Creality/filament/CR-PETG @Creality K2 Pro 0.4 nozzle.json @@ -5,7 +5,7 @@ "name": "CR-PETG @Creality K2 Pro 0.4 nozzle", "from": "system", "instantiation": "true", - "inherits": "fdm_filament_petg", + "inherits": "fdm_filament_pet", "activate_air_filtration": "0", "activate_chamber_temp_control": "1", "additional_cooling_fan_speed": "0", diff --git a/resources/profiles/Creality/filament/CR-PETG @Creality K2 Pro 0.6 nozzle.json b/resources/profiles/Creality/filament/CR-PETG @Creality K2 Pro 0.6 nozzle.json index f38a2752e28..b491f909f32 100644 --- a/resources/profiles/Creality/filament/CR-PETG @Creality K2 Pro 0.6 nozzle.json +++ b/resources/profiles/Creality/filament/CR-PETG @Creality K2 Pro 0.6 nozzle.json @@ -5,7 +5,7 @@ "name": "CR-PETG @Creality K2 Pro 0.6 nozzle", "from": "system", "instantiation": "true", - "inherits": "fdm_filament_petg", + "inherits": "fdm_filament_pet", "activate_air_filtration": "0", "activate_chamber_temp_control": "1", "additional_cooling_fan_speed": "0", diff --git a/resources/profiles/Creality/filament/CR-PETG @Creality K2 Pro 0.8 nozzle.json b/resources/profiles/Creality/filament/CR-PETG @Creality K2 Pro 0.8 nozzle.json index 6362c2dc625..629af79f3a0 100644 --- a/resources/profiles/Creality/filament/CR-PETG @Creality K2 Pro 0.8 nozzle.json +++ b/resources/profiles/Creality/filament/CR-PETG @Creality K2 Pro 0.8 nozzle.json @@ -5,7 +5,7 @@ "name": "CR-PETG @Creality K2 Pro 0.8 nozzle", "from": "system", "instantiation": "true", - "inherits": "fdm_filament_petg", + "inherits": "fdm_filament_pet", "activate_air_filtration": "0", "activate_chamber_temp_control": "1", "additional_cooling_fan_speed": "0", diff --git a/resources/profiles/Creality/filament/fdm_filament_petg.json b/resources/profiles/Creality/filament/fdm_filament_petg.json deleted file mode 100644 index c9cd47f8aec..00000000000 --- a/resources/profiles/Creality/filament/fdm_filament_petg.json +++ /dev/null @@ -1,147 +0,0 @@ -{ - "type": "filament", - "name": "fdm_filament_petg", - "from": "system", - "instantiation": "false", - "filament_adhesiveness_category": [ - "300" - ], - "cool_plate_temp": [ - "60" - ], - "eng_plate_temp": [ - "60" - ], - "hot_plate_temp": [ - "60" - ], - "textured_plate_temp": [ - "60" - ], - "cool_plate_temp_initial_layer": [ - "60" - ], - "eng_plate_temp_initial_layer": [ - "60" - ], - "hot_plate_temp_initial_layer": [ - "60" - ], - "textured_plate_temp_initial_layer": [ - "60" - ], - "overhang_fan_threshold": [ - "95%" - ], - "overhang_fan_speed": [ - "100" - ], - "slow_down_for_layer_cooling": [ - "1" - ], - "close_fan_the_first_x_layers": [ - "3" - ], - "filament_end_gcode": [ - "; filament end gcode \n" - ], - "filament_flow_ratio": [ - "1" - ], - "reduce_fan_stop_start_freq": [ - "0" - ], - "fan_cooling_layer_time": [ - "60" - ], - "filament_cost": [ - "0" - ], - "filament_density": [ - "0" - ], - "filament_deretraction_speed": [ - "nil" - ], - "filament_diameter": [ - "1.75" - ], - "filament_max_volumetric_speed": [ - "0" - ], - "filament_minimal_purge_on_wipe_tower": [ - "15" - ], - "filament_retraction_minimum_travel": [ - "nil" - ], - "filament_retract_before_wipe": [ - "nil" - ], - "filament_retract_when_changing_layer": [ - "nil" - ], - "filament_retraction_length": [ - "nil" - ], - "filament_z_hop": [ - "nil" - ], - "filament_z_hop_types": [ - "nil" - ], - "filament_retract_restart_extra": [ - "nil" - ], - "filament_retraction_speed": [ - "nil" - ], - "filament_settings_id": [ - "" - ], - "filament_soluble": [ - "0" - ], - "filament_type": [ - "PLA" - ], - "filament_vendor": [ - "Generic" - ], - "filament_wipe": [ - "nil" - ], - "filament_wipe_distance": [ - "nil" - ], - "bed_type": [ - "Cool Plate" - ], - "nozzle_temperature_initial_layer": [ - "200" - ], - "full_fan_speed_layer": [ - "0" - ], - "fan_max_speed": [ - "100" - ], - "fan_min_speed": [ - "35" - ], - "slow_down_min_speed": [ - "10" - ], - "slow_down_layer_time": [ - "8" - ], - "filament_start_gcode": [ - "; Filament gcode\n" - ], - "nozzle_temperature": [ - "200" - ], - "temperature_vitrification": [ - "100" - ] -}