any2orca API reference
    Preparing search index...

    Interface FilamentNameResult

    interface FilamentNameResult {
        line: { id: string; label: string } | null;
        outcome: "generic" | "renamed" | "kept" | "unchanged";
        preset?: { id: string; name: string; vendor: string };
    }
    Index
    line: { id: string; label: string } | null

    The product line matched, or null when the material has no line.

    outcome: "generic" | "renamed" | "kept" | "unchanged"
    • "renamed": named after the line's preset for the chosen option.
    • "kept": already the name of a preset of the chosen kind for this printer (e.g. a file saved in Snapmaker Orca), so the creator's choice stays; its id and vendor are still written as that preset's.
    • "generic": the Snapmaker option, but Snapmaker makes no preset for this line at this nozzle size, so the Generic one is used.
    • "unchanged": no preset of either kind fits (an unknown material, or none at this nozzle size); the creator's name stays.
    preset?: { id: string; name: string; vendor: string }

    The preset written; absent when unchanged.