Filament names for the Snapmaker and Generic naming options, used to
satisfy marketplace rules (e.g. Snapmaker Space, Snapmaker's own model
platform) that require an uploaded project to declare a Generic or
Snapmaker filament rather than a third-party one like Bambu's own.
The names are data, not code: the profile catalog's filamentNames
(any2orca-profiles' data/index.json, generated from the filament presets
Snapmaker installs with Snapmaker Orca) lists every preset each printer
offers and the product lines that map onto them. This module only matches
a source filament to a line and picks that line's preset for the target
printer, so every name it returns exists for that nozzle size.
Matching is by product line, never by color: a filament's material is its
filament_type, and its line is the first line for that material whose
keywords appear in its name or type ("Bambu PLA Matte" is PLA Matte,
"Bambu PLA Basic" is plain PLA, which maps to Snapmaker PLA SnapSpeed).
Filament names for the Snapmaker and Generic naming options, used to satisfy marketplace rules (e.g. Snapmaker Space, Snapmaker's own model platform) that require an uploaded project to declare a Generic or Snapmaker filament rather than a third-party one like Bambu's own.
The names are data, not code: the profile catalog's
filamentNames(any2orca-profiles' data/index.json, generated from the filament presets Snapmaker installs with Snapmaker Orca) lists every preset each printer offers and the product lines that map onto them. This module only matches a source filament to a line and picks that line's preset for the target printer, so every name it returns exists for that nozzle size.Matching is by product line, never by color: a filament's material is its
filament_type, and its line is the first line for that material whose keywords appear in its name or type ("Bambu PLA Matte" is PLA Matte, "Bambu PLA Basic" is plain PLA, which maps to Snapmaker PLA SnapSpeed).