mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-01 15:22:21 +00:00
# Description Fixes user filament presets that reference an old printer preset name in `compatible_printers`, even when the current system printer preset correctly declares that old name in `renamed_from`. ## Core Issue `PresetCollection::find_preset()` was updated to resolve `renamed_from`, but this specific failure does not go through `find_preset()`. For root user filament presets with empty `inherits`, Orca infers `compatible_printers` from the filament name suffix after `@`. For example: ```json "ELEGOO PLA Base @Elegoo Neptune 4 Pro (0.4 nozzle)" ``` loads with: ```json "compatible_printers": ["Elegoo Neptune 4 Pro (0.4 nozzle)"] ``` The current system printer preset is named: ```text Elegoo Neptune 4 Pro 0.4 nozzle ``` and has: ```json "renamed_from": "Elegoo Neptune 4 Pro (0.4 nozzle)" ``` However, filament compatibility was doing a direct string comparison against the active printer name. Since that compatibility path does not call `find_preset()`, the `renamed_from` mapping was never considered. ## Fix Teach printer compatibility checks to treat `active_printer.preset.renamed_from` entries as aliases of the active printer name. This preserves existing user preset JSON and avoids rewriting `compatible_printers`, while allowing old printer suffixes to remain compatible with renamed system printer presets. ## Tests <!-- > A guide for users on how to download the artifacts from this PR. --> [How to Download Pull Requests Artifacts for Testing](https://www.orcaslicer.com/wiki/how_to_download_pr_artifacts)
106 lines
1.5 KiB
JSON
106 lines
1.5 KiB
JSON
{
|
|
"type": "filament",
|
|
"name": "Bambu ABS@Q2C-Series",
|
|
"inherits": "fdm_filament_q_common",
|
|
"from": "system",
|
|
"filament_id": "GFB99",
|
|
"instantiation": "false",
|
|
"box_temperature_range_high": [
|
|
"45"
|
|
],
|
|
"chamber_temperature": [
|
|
"0"
|
|
],
|
|
"close_fan_the_first_x_layers": [
|
|
"3"
|
|
],
|
|
"during_print_exhaust_fan_speed": [
|
|
"0"
|
|
],
|
|
"fan_max_speed": [
|
|
"80"
|
|
],
|
|
"fan_min_speed": [
|
|
"20"
|
|
],
|
|
"filament_adhesiveness_category": [
|
|
"200"
|
|
],
|
|
"filament_density": [
|
|
"1.05"
|
|
],
|
|
"filament_flow_ratio": [
|
|
"0.95"
|
|
],
|
|
"filament_type": [
|
|
"ABS"
|
|
],
|
|
"filament_vendor": [
|
|
"Bambu Lab"
|
|
],
|
|
"nozzle_temperature_initial_layer": [
|
|
"250"
|
|
],
|
|
"nozzle_temperature_range_high": [
|
|
"280"
|
|
],
|
|
"nozzle_temperature_range_low": [
|
|
"240"
|
|
],
|
|
"nozzle_temperature": [
|
|
"260"
|
|
],
|
|
"overhang_fan_speed": [
|
|
"80"
|
|
],
|
|
"overhang_fan_threshold": [
|
|
"25%"
|
|
],
|
|
"pressure_advance": [
|
|
"0.035"
|
|
],
|
|
"slow_down_layer_time": [
|
|
"4"
|
|
],
|
|
"temperature_vitrification": [
|
|
"100"
|
|
],
|
|
"hot_plate_temp_initial_layer": [
|
|
"90"
|
|
],
|
|
"hot_plate_temp": [
|
|
"90"
|
|
],
|
|
"compatible_printers": [],
|
|
"cool_plate_temp": [
|
|
"80"
|
|
],
|
|
"eng_plate_temp": [
|
|
"90"
|
|
],
|
|
"supertack_plate_temp": [
|
|
"80"
|
|
],
|
|
"textured_plate_temp": [
|
|
"90"
|
|
],
|
|
"textured_cool_plate_temp": [
|
|
"80"
|
|
],
|
|
"cool_plate_temp_initial_layer": [
|
|
"80"
|
|
],
|
|
"eng_plate_temp_initial_layer": [
|
|
"90"
|
|
],
|
|
"supertack_plate_temp_initial_layer": [
|
|
"80"
|
|
],
|
|
"textured_plate_temp_initial_layer": [
|
|
"90"
|
|
],
|
|
"textured_cool_plate_temp_initial_layer": [
|
|
"80"
|
|
]
|
|
}
|