Files
OrcaSlicer/resources/profiles/BBL/filament/Bambu PLA Basic @BBL H2DP.json
SoftFever c2e91cb86c validator: detect ambiguous (duplicate) filament subtypes per printer (#14459)
* validator: detect duplicate filament subtype per printer (opt-in)

A filament is matched from the AMS by (filament_id + printer compatibility);
if two compatible filament presets for one printer share a filament_id, the
match is ambiguous and the runtime silently picks whichever loads first.

Add PresetBundle::check_duplicate_filament_subtypes(), gated behind a new
has_errors(check_duplicate_filament_subtypes) parameter and the validator's
-f/--check_filament_subtypes flag (off by default). For each system printer it
groups its vendor's compatible filament presets by filament_id and errors on
any group of 2+, reporting each preset as a clickable file:// URI with a single
"how to fix" hint. CI runs it for BBL only (-v BBL -f) until the other vendors'
profiles are cleaned up.

* profiles: fix ambiguous BBL filament matches

Resolve the duplicate-filament-subtype errors flagged by the validator:
- align compatible_printers with Bambu Studio where Orca over-claimed a nozzle
  that already has a dedicated preset (Bambu PLA Basic/Matte/ABS @BBL H2DP;
  Bambu ASA/PETG HF @BBL H2DP 0.6 nozzle; Fiberon PETG-ESD @BBL X1)
- fix a copy-pasted printer name in Overture Matte PLA @BBL A1M 0.2 nozzle
- fix a wrong inherits in Panchroma PLA Silk @BBL X1C 0.2 nozzle (was inheriting
  Panchroma PLA @base, giving it filament_id GFPM001 instead of GFPM004)

Bump BBL profile version.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-06-28 00:42:02 +08:00

156 lines
2.2 KiB
JSON

{
"type": "filament",
"name": "Bambu PLA Basic @BBL H2DP",
"inherits": "Bambu PLA Basic @base",
"from": "system",
"setting_id": "GFSA00_17",
"instantiation": "true",
"additional_cooling_fan_speed": [
"75"
],
"counter_coef_2": [
"0.003"
],
"counter_coef_3": [
"0.01"
],
"counter_limit_max": [
"0.088"
],
"eng_plate_temp": [
"55"
],
"eng_plate_temp_initial_layer": [
"55"
],
"fan_max_speed": [
"80"
],
"fan_min_speed": [
"60"
],
"filament_deretraction_speed": [
"nil",
"nil"
],
"filament_flow_ratio": [
"0.98",
"0.98"
],
"filament_flush_temp": [
"0",
"0"
],
"filament_flush_volumetric_speed": [
"0",
"0"
],
"filament_long_retractions_when_cut": [
"nil",
"nil"
],
"filament_max_volumetric_speed": [
"25",
"35"
],
"filament_ramming_volumetric_speed": [
"-1",
"-1"
],
"filament_retract_before_wipe": [
"nil",
"nil"
],
"filament_retract_restart_extra": [
"nil",
"nil"
],
"filament_retract_when_changing_layer": [
"nil",
"nil"
],
"filament_retraction_distances_when_cut": [
"nil",
"nil"
],
"filament_retraction_length": [
"0.4",
"0.4"
],
"filament_retraction_minimum_travel": [
"nil",
"nil"
],
"filament_retraction_speed": [
"nil",
"nil"
],
"filament_wipe": [
"1",
"1"
],
"filament_wipe_distance": [
"1",
"1"
],
"filament_z_hop": [
"nil",
"nil"
],
"filament_z_hop_types": [
"Spiral Lift",
"Spiral Lift"
],
"filament_extruder_variant": [
"Direct Drive Standard",
"Direct Drive High Flow"
],
"filament_pre_cooling_temperature": [
"0",
"0"
],
"filament_ramming_travel_time": [
"0",
"0"
],
"filament_adaptive_volumetric_speed": [
"0",
"0"
],
"hole_coef_3": [
"0.18"
],
"long_retractions_when_ec": [
"1",
"1"
],
"nozzle_temperature": [
"220",
"220"
],
"nozzle_temperature_initial_layer": [
"220",
"220"
],
"pre_start_fan_time": [
"2"
],
"retraction_distances_when_ec": [
"10",
"10"
],
"volumetric_speed_coefficients": [
"0 0 0 0 0 0",
"0 0 0 0 0 0"
],
"compatible_printers": [
"Bambu Lab H2D Pro 0.4 nozzle"
],
"filament_start_gcode": [
"; filament start gcode\n"
],
"filament_end_gcode": [
"; filament end gcode \n"
]
}