ENH: add new filament type PA-GF

1.Set Bambu PA6-GF type to PA-GF

jira:[NEW]

Signed-off-by: XunZhangBambu <xun.zhang@bambulab.com>
Change-Id: I79b4896ed9901e8525fd770f4a37713729b7e420
This commit is contained in:
XunZhangBambu 2024-02-21 17:12:48 +08:00 committed by Lane.Wei
parent 698e1ae63c
commit 53a4de5674
5 changed files with 7 additions and 4 deletions

View File

@ -6,6 +6,7 @@
"PC",
"PA",
"PA-CF",
"PA-GF",
"PA6-CF",
"PET-CF",
"PPS",

View File

@ -1,7 +1,7 @@
{
"name": "Bambulab",
"url": "http://www.bambulab.com/Parameters/vendor/BBL.json",
"version": "01.08.00.23",
"version": "01.08.00.24",
"force_update": "0",
"description": "the initial version of BBL configurations",
"machine_model_list": [

View File

@ -24,7 +24,7 @@
"0.96"
],
"filament_type": [
"PA-CF"
"PA-GF"
],
"filament_vendor": [
"Bambu Lab"

View File

@ -2192,7 +2192,7 @@ FilamentTempType Print::get_filament_temp_type(const std::string& filament_type)
catch (const json::parse_error& err){
in.close();
BOOST_LOG_TRIVIAL(error) << __FUNCTION__ << ": parse " << file_path.string() << " got a nlohmann::detail::parse_error, reason = " << err.what();
filament_temp_type_map[HighTempFilamentStr] = {"ABS","ASA","PC","PA","PA-CF","PA6-CF","PET-CF","PPS","PPS-CF","PPA-GF","PPA-CF"};
filament_temp_type_map[HighTempFilamentStr] = {"ABS","ASA","PC","PA","PA-CF","PA-GF","PA6-CF","PET-CF","PPS","PPS-CF","PPA-GF","PPA-CF"};
filament_temp_type_map[LowTempFilamentStr] = {"PLA","TPU","PLA-CF","PLA-AERO","PVA"};
filament_temp_type_map[HighLowCompatibleFilamentStr] = { "HIPS","PETG" };
}

View File

@ -1434,6 +1434,8 @@ void PrintConfigDef::init_fff_params()
def->enum_values.push_back("PC");
def->enum_values.push_back("PA");
def->enum_values.push_back("PA-CF");
def->enum_values.push_back("PA-GF");
def->enum_values.push_back("PA6-CF");
def->enum_values.push_back("PLA-CF");
def->enum_values.push_back("PET-CF");
def->enum_values.push_back("PETG-CF");