Add support for esthetic filament sub-types in Snapmaker Printer Agent (#12699)

# Description
Esthetic filaments such as wood-infused, matte and marble filaments will now be handled by the Snapmaker printer agent so that they could be matched to more appropriate print profiles instead of generic PLA.
This commit is contained in:
gaaat98
2026-03-09 13:53:51 +01:00
committed by GitHub
parent c6819675ac
commit bb4a331f8a

View File

@@ -43,10 +43,16 @@ std::string SnapmakerPrinterAgent::combine_filament_type(const std::string& type
return base + "-CF";
if (sub == "GF")
return base + "-GF";
if (sub == "SILK")
return base + " SILK";
if (sub == "SNAPSPEED" || sub == "HS")
return base + " HIGH SPEED";
if (sub == "SILK")
return base + " SILK";
if (sub == "WOOD")
return base + " WOOD";
if (sub == "MATTE")
return base + " MATTE";
if (sub == "MARBLE")
return base + " MARBLE";
// Unrecognized sub-type (brand names like Polylite, Basic, etc.) -- use base type only
return base;