Fix Elegoo CC2 layer stats G-code and missing Giga preset renamed_from (#14136)

* Sync Elegoo profiles from ElegooSlicer

Update vendor Elegoo.json, filament/machine/process trees, and OrcaFilamentLibrary
Elegoo entries. Align machine default material names with existing filament preset names.

* feat: expose filament_name for G-code export filename format

Derive from filament_settings_id for the first active extruder and strip the suffix after @, matching ElegooSlicer so filename_format can use {filament_name}.

* chore: reorder Elegoo entries in OrcaFilamentLibrary

Group Elegoo @base profiles and bump library version to 02.03.02.62.

* sync OrcaFilamentLibrary.json with Elegoo filament profiles

* fix: clean up Elegoo process renamed_from for profile validation

Add single renamed_from only where preset names changed from legacy Orca
names; remove duplicate Rapid @System library entries that conflicted with
ECC2 vendor presets.

* fix(profiles): add missing Elegoo renamed_from for profile validation

CI custom-preset tests still inherit legacy Orca preset names that no
longer exist after the Elegoo bundle update. Add renamed_from on process,
Neptune 4 machines, OrcaFilamentLibrary filaments, and Giga profiles so
inherits resolve again, without changing print parameters.

* fix(profiles,elegoo): resolve renamed presets and CC2 SET_PRINT_STATS_INFO G-code

Resolve legacy preset names through renamed_from when validating presets and loading external projects. Add missing renamed_from aliases for Elegoo Giga process and OrcaFilamentLibrary filaments. Combine TOTAL_LAYER and CURRENT_LAYER in one SET_PRINT_STATS_INFO command on Centauri Carbon 2 (ECC2), Centauri (EC), and Centauri Carbon (ECC) 0.4 nozzle profiles.

* chore(profiles): bump Elegoo and OrcaFilamentLibrary profile versions

Refresh installed profile bundles after renamed_from aliases, CC2 SET_PRINT_STATS_INFO G-code, and Preset.cpp renamed preset resolution fixes.
This commit is contained in:
wujie
2026-06-10 21:38:39 +08:00
committed by GitHub
parent a70b903a19
commit 3be36bdea4
46 changed files with 58 additions and 10 deletions

View File

@@ -2,5 +2,6 @@
"inherits": "0.20mm Standard @Elegoo Giga 0.4 nozzle",
"layer_height": "0.16",
"instantiation": "true",
"renamed_from": "0.16mm Optimal @EOS Giga 0.4 nozzle",
"name": "0.16mm Optimal @Elegoo Giga 0.4 nozzle"
}

View File

@@ -2,6 +2,7 @@
"inherits": "0.30mm Standard @Elegoo Giga 0.6 nozzle",
"layer_height": "0.18",
"instantiation": "true",
"renamed_from": "0.18mm Fine @EOS Giga 0.6 nozzle",
"name": "0.18mm Fine @Elegoo Giga 0.6 nozzle",
"compatible_printers": [
"Elegoo OrangeStorm Giga 0.6 nozzle"

View File

@@ -5,6 +5,7 @@
"from": "system",
"setting_id": "PEOSG04020",
"instantiation": "true",
"renamed_from": "0.20mm Standard @EOS Giga 0.4 nozzle",
"default_acceleration": "3000",
"filename_format": "EOGiga1_{nozzle_diameter[0]}_{input_filename_base}_{filament_name}_{layer_height}_{print_time}.gcode",
"initial_layer_print_height": "0.25",

View File

@@ -4,5 +4,6 @@
"wall_sequence": "inner-outer-inner wall",
"reduce_crossing_wall": "1",
"instantiation": "true",
"renamed_from": "0.20mm Strength @EOS Giga 0.4 nozzle",
"wall_loops": "6"
}

View File

@@ -2,5 +2,6 @@
"inherits": "0.20mm Standard @Elegoo Giga 0.4 nozzle",
"layer_height": "0.24",
"instantiation": "true",
"renamed_from": "0.24mm Draft @EOS Giga 0.4 nozzle",
"name": "0.24mm Draft @Elegoo Giga 0.4 nozzle"
}

View File

@@ -2,5 +2,6 @@
"inherits": "0.40mm Standard @Elegoo Giga 0.8 nozzle",
"layer_height": "0.24",
"instantiation": "true",
"renamed_from": "0.24mm Fine @EOS Giga 0.8 nozzle",
"name": "0.24mm Fine @Elegoo Giga 0.8 nozzle"
}

View File

@@ -2,5 +2,6 @@
"inherits": "0.30mm Standard @Elegoo Giga 0.6 nozzle",
"layer_height": "0.24",
"instantiation": "true",
"renamed_from": "0.24mm Optimal @EOS Giga 0.6 nozzle",
"name": "0.24mm Optimal @Elegoo Giga 0.6 nozzle"
}

View File

@@ -2,5 +2,6 @@
"inherits": "0.20mm Standard @Elegoo Giga 0.4 nozzle",
"layer_height": "0.28",
"instantiation": "true",
"renamed_from": "0.28mm Extra Draft @EOS Giga 0.4 nozzle",
"name": "0.28mm Extra Draft @Elegoo Giga 0.4 nozzle"
}

View File

@@ -2,5 +2,6 @@
"inherits": "0.50mm Standard @Elegoo Giga 1.0 nozzle",
"layer_height": "0.3",
"instantiation": "true",
"renamed_from": "0.30mm Fine @EOS Giga 1.0 nozzle",
"name": "0.30mm Fine @Elegoo Giga 1.0 nozzle"
}

View File

@@ -5,6 +5,7 @@
"from": "system",
"setting_id": "PEOSG06030",
"instantiation": "true",
"renamed_from": "0.30mm Standard @EOS Giga 0.6 nozzle",
"default_acceleration": "3000",
"filename_format": "EOGiga1_{nozzle_diameter[0]}_{input_filename_base}_{filament_name}_{layer_height}_{print_time}.gcode",
"initial_layer_acceleration": "1000",

View File

@@ -4,5 +4,6 @@
"wall_sequence": "inner-outer-inner wall",
"reduce_crossing_wall": "1",
"instantiation": "true",
"renamed_from": "0.30mm Strength @EOS Giga 0.6 nozzle",
"wall_loops": "5"
}

View File

@@ -2,5 +2,6 @@
"inherits": "0.40mm Standard @Elegoo Giga 0.8 nozzle",
"layer_height": "0.32",
"instantiation": "true",
"renamed_from": "0.32mm Optimal @EOS Giga 0.8 nozzle",
"name": "0.32mm Optimal @Elegoo Giga 0.8 nozzle"
}

View File

@@ -2,5 +2,6 @@
"inherits": "0.30mm Standard @Elegoo Giga 0.6 nozzle",
"layer_height": "0.36",
"instantiation": "true",
"renamed_from": "0.36mm Draft @EOS Giga 0.6 nozzle",
"name": "0.36mm Draft @Elegoo Giga 0.6 nozzle"
}

View File

@@ -2,5 +2,6 @@
"inherits": "0.50mm Standard @Elegoo Giga 1.0 nozzle",
"layer_height": "0.4",
"instantiation": "true",
"renamed_from": "0.40mm Optimal @EOS Giga 1.0 nozzle",
"name": "0.40mm Optimal @Elegoo Giga 1.0 nozzle"
}

View File

@@ -5,6 +5,7 @@
"from": "system",
"setting_id": "PEOSG08040",
"instantiation": "true",
"renamed_from": "0.40mm Standard @EOS Giga 0.8 nozzle",
"default_acceleration": "3000",
"filename_format": "EOGiga1_{nozzle_diameter[0]}_{input_filename_base}_{filament_name}_{layer_height}_{print_time}.gcode",
"initial_layer_acceleration": "1000",

View File

@@ -2,5 +2,6 @@
"inherits": "0.30mm Standard @Elegoo Giga 0.6 nozzle",
"layer_height": "0.42",
"instantiation": "true",
"renamed_from": "0.42mm Extra Draft @EOS Giga 0.6 nozzle",
"name": "0.42mm Extra Draft @Elegoo Giga 0.6 nozzle"
}

View File

@@ -2,5 +2,6 @@
"inherits": "0.40mm Standard @Elegoo Giga 0.8 nozzle",
"layer_height": "0.48",
"instantiation": "true",
"renamed_from": "0.48mm Draft @EOS Giga 0.8 nozzle",
"name": "0.48mm Draft @Elegoo Giga 0.8 nozzle"
}

View File

@@ -4,6 +4,7 @@
"from": "system",
"setting_id": "PEOSG10050",
"instantiation": "true",
"renamed_from": "0.50mm Standard @EOS Giga 1.0 nozzle",
"default_acceleration": "3000",
"filename_format": "EOGiga1_{nozzle_diameter[0]}_{input_filename_base}_{filament_name}_{layer_height}_{print_time}.gcode",
"initial_layer_acceleration": "1000",

View File

@@ -1,5 +1,6 @@
{
"inherits": "0.40mm Standard @Elegoo Giga 0.8 nozzle",
"instantiation": "true",
"renamed_from": "0.56mm Extra Draft @EOS Giga 0.8 nozzle",
"name": "0.56mm Extra Draft @Elegoo Giga 0.8 nozzle"
}

View File

@@ -2,5 +2,6 @@
"inherits": "0.50mm Standard @Elegoo Giga 1.0 nozzle",
"layer_height": "0.6",
"instantiation": "true",
"renamed_from": "0.60mm Draft @EOS Giga 1.0 nozzle",
"name": "0.60mm Draft @Elegoo Giga 1.0 nozzle"
}