Skip to content

Show filament_id as read-only field in filament preset editor#2

Open
broncosis wants to merge 3 commits into
mainfrom
feat/filament-id-preset-editor
Open

Show filament_id as read-only field in filament preset editor#2
broncosis wants to merge 3 commits into
mainfrom
feat/filament-id-preset-editor

Conversation

@broncosis

Copy link
Copy Markdown
Owner

Description

Screenshots/Recordings/Graphs

Tests

How to Download Pull Requests Artifacts for Testing

Broncosis added 2 commits June 25, 2026 19:02
…data

When OrcaSlicer reads lane_data from Moonraker, it now checks filament_id
and setting_id fields first (populated by spoolman-lane-sync, ACE Pro, etc.)
and attempts to match a filament preset before falling back to the existing
material-type matching.

- Add PresetCollection::filament_id_by_id_or_name() which tries matching by
  filament_id, setting_id, preset name (exact then case-insensitive/base-name)
- Use it in MoonrakerPrinterAgent::fetch_moonraker_filament_data() for both
  filament_id and setting_id fields from lane_data
- Add name-based fallback in PresetBundle::sync_ams_list() and
  get_ams_cobox_infos() for user presets that have no filament_id
@broncosis
broncosis force-pushed the feat/filament-id-preset-editor branch from 137be55 to e0320d7 Compare June 29, 2026 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant