==> PrusaSlicer bundled_deps/prusa_fdm_mixer/prusa_fdm_mixer.hpp, lines 1-28 (licence block in the source; no separate licence file) <==

/*
 * prusa_fdm_mixer.hpp — Predicts the apparent color of FDM filament mixes.
 *
 * The prusa-fdm-mixer model, calibrated against measured prints. Produces
 * predictions with a median ΔE2000 of ~5.7 against real samples
 * (Linear RGB ~14.5 for comparison).
 *
 * Drop-in usage in PrusaSlicer / OrcaSlicer / any C++17 project:
 *
 *     #include "prusa_fdm_mixer.hpp"
 *
 *     std::vector<prusa_fdm_mixer::Part> parts = {
 *         { "#007a9d", 0.75 },   // 75% azure blue
 *         { "#f6b921", 0.25 },   // 25% yellow
 *     };
 *     std::string mixed_hex = prusa_fdm_mixer::mix(parts);
 *     // mixed_hex == "#XXXXXX" — predicted apparent color
 *
 * Properties:
 *   - Gradient-safe: a part with ratio 1.0 returns that part's hex exactly.
 *   - Smooth: small ratio changes produce small color changes.
 *   - Works for 2 or 3+ components; ratios should sum to 1.
 *
 * No external dependencies beyond the C++ standard library.
 *
 * Copyright (c) Prusa Research s.r.o.
 * MIT License — see LICENSE.
 */



==> The MIT License text, which the notice above refers to (added by deli; the source has no copy) <==

Copyright (c) Prusa Research s.r.o.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
