ENH: add Generic HIPS

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I0fd861db6137c39f59630ae443661ddeb7a7b060
This commit is contained in:
qing.zhang 2023-06-25 10:31:34 +08:00 committed by Lane.Wei
parent 9b2e13a0fa
commit 1368501508
9 changed files with 161 additions and 9 deletions

View file

@ -1,7 +1,7 @@
{ {
"name": "Bambulab", "name": "Bambulab",
"url": "http://www.bambulab.com/Parameters/vendor/BBL.json", "url": "http://www.bambulab.com/Parameters/vendor/BBL.json",
"version": "01.06.00.13", "version": "01.06.00.14",
"force_update": "0", "force_update": "0",
"description": "the initial version of BBL configurations", "description": "the initial version of BBL configurations",
"machine_model_list": [ "machine_model_list": [
@ -289,6 +289,14 @@
"name": "fdm_filament_pa", "name": "fdm_filament_pa",
"sub_path": "filament/fdm_filament_pa.json" "sub_path": "filament/fdm_filament_pa.json"
}, },
{
"name": "fdm_filament_hips",
"sub_path": "filament/fdm_filament_hips.json"
},
{
"name": "Generic HIPS @base",
"sub_path": "filament/Generic HIPS @base.json"
},
{ {
"name": "Bambu TPU 95A @base", "name": "Bambu TPU 95A @base",
"sub_path": "filament/Bambu TPU 95A @base.json" "sub_path": "filament/Bambu TPU 95A @base.json"
@ -972,6 +980,14 @@
{ {
"name": "Bambu ASA @BBL X1C 0.4 nozzle", "name": "Bambu ASA @BBL X1C 0.4 nozzle",
"sub_path": "filament/Bambu ASA @BBL X1C 0.4 nozzle.json" "sub_path": "filament/Bambu ASA @BBL X1C 0.4 nozzle.json"
},
{
"name": "Generic HIPS @BBL X1C",
"sub_path": "filament/Generic HIPS @BBL X1C.json"
},
{
"name": "Generic HIPS @BBL X1C 0.2 nozzle",
"sub_path": "filament/Generic HIPS @BBL X1C 0.2 nozzle.json"
} }
], ],
"machine_list": [ "machine_list": [

View file

@ -0,0 +1,16 @@
{
"type": "filament",
"setting_id": "GFSS98_01",
"name": "Generic HIPS @BBL X1C 0.2 nozzle",
"from": "system",
"instantiation": "true",
"inherits": "Generic HIPS @base",
"filament_max_volumetric_speed": [
"0.5"
],
"compatible_printers": [
"Bambu Lab X1 Carbon 0.2 nozzle",
"Bambu Lab X1 0.2 nozzle",
"Bambu Lab P1P 0.2 nozzle"
]
}

View file

@ -0,0 +1,19 @@
{
"type": "filament",
"setting_id": "GFSS98_00",
"name": "Generic HIPS @BBL X1C",
"from": "system",
"instantiation": "true",
"inherits": "Generic HIPS @base",
"compatible_printers": [
"Bambu Lab X1 Carbon 0.4 nozzle",
"Bambu Lab X1 0.4 nozzle",
"Bambu Lab X1 Carbon 0.6 nozzle",
"Bambu Lab X1 Carbon 0.8 nozzle",
"Bambu Lab X1 0.6 nozzle",
"Bambu Lab X1 0.8 nozzle",
"Bambu Lab P1P 0.4 nozzle",
"Bambu Lab P1P 0.6 nozzle",
"Bambu Lab P1P 0.8 nozzle"
]
}

View file

@ -0,0 +1,14 @@
{
"type": "filament",
"filament_id": "GFS98",
"name": "Generic HIPS @base",
"from": "system",
"instantiation": "false",
"inherits": "fdm_filament_hips",
"filament_vendor": [
"Generic"
],
"filament_is_support": [
"1"
]
}

View file

@ -0,0 +1,85 @@
{
"type": "filament",
"name": "fdm_filament_hips",
"from": "system",
"instantiation": "false",
"inherits": "fdm_filament_common",
"cool_plate_temp": [
"0"
],
"eng_plate_temp": [
"90"
],
"hot_plate_temp": [
"90"
],
"textured_plate_temp": [
"90"
],
"cool_plate_temp_initial_layer": [
"0"
],
"eng_plate_temp_initial_layer": [
"90"
],
"hot_plate_temp_initial_layer": [
"90"
],
"textured_plate_temp_initial_layer": [
"90"
],
"fan_cooling_layer_time": [
"10"
],
"filament_max_volumetric_speed": [
"8"
],
"filament_type": [
"HIPS"
],
"filament_density": [
"1.06"
],
"filament_cost": [
"22.99"
],
"nozzle_temperature_initial_layer": [
"240"
],
"fan_max_speed": [
"60"
],
"fan_min_speed": [
"0"
],
"overhang_fan_threshold": [
"25%"
],
"overhang_fan_speed": [
"80"
],
"nozzle_temperature": [
"240"
],
"nozzle_temperature_range_low": [
"220"
],
"nozzle_temperature_range_high": [
"270"
],
"slow_down_min_speed": [
"20"
],
"slow_down_layer_time": [
"6"
],
"temperature_vitrification": [
"100"
],
"required_nozzle_HRC": [
"3"
],
"additional_cooling_fan_speed":[
"0"
]
}

View file

@ -3490,7 +3490,7 @@ std::string GCode::extrude_loop(ExtrusionLoop loop, std::string description, dou
// if polyline was shorter than the clipping distance we'd get a null polyline, so // if polyline was shorter than the clipping distance we'd get a null polyline, so
// we discard it in that case // we discard it in that case
double clip_length = m_enable_loop_clipping ? double clip_length = m_enable_loop_clipping ?
scale_(EXTRUDER_CONFIG(nozzle_diameter)) * m_config.seam_gap.value : scale_(EXTRUDER_CONFIG(nozzle_diameter)) * ( m_config.seam_gap.value / 100 ) :
0; 0;
// get paths // get paths

View file

@ -885,7 +885,8 @@ static std::map<std::string, bool> filament_is_high_temp {
{"PA-CF", true}, {"PA-CF", true},
{"PET-CF", true}, {"PET-CF", true},
{"PC", true}, {"PC", true},
{"ASA", true} {"ASA", true},
{"HIPS", true}
}; };
//BBS: this function is used to check whether multi filament can be printed //BBS: this function is used to check whether multi filament can be printed

View file

@ -1031,7 +1031,7 @@ void PrintConfigDef::init_fff_params()
def->set_default_value(new ConfigOptionEnum<InfillPattern>(ipRectilinear)); def->set_default_value(new ConfigOptionEnum<InfillPattern>(ipRectilinear));
def = this->add("internal_solid_infill_pattern", coEnum); def = this->add("internal_solid_infill_pattern", coEnum);
def->label = L("Internal solid infill Pattern"); def->label = L("Internal solid infill pattern");
def->category = L("Strength"); def->category = L("Strength");
def->tooltip = L("Line pattern of internal solid infill. if the detect nattow internal solid infill be enabled, the concentric pattern will be used for the small area."); def->tooltip = L("Line pattern of internal solid infill. if the detect nattow internal solid infill be enabled, the concentric pattern will be used for the small area.");
def->enum_keys_map = &ConfigOptionEnum<InfillPattern>::get_enum_values(); def->enum_keys_map = &ConfigOptionEnum<InfillPattern>::get_enum_values();
@ -1293,6 +1293,7 @@ void PrintConfigDef::init_fff_params()
def->enum_values.push_back("PET-CF"); def->enum_values.push_back("PET-CF");
def->enum_values.push_back("PETG-CF"); def->enum_values.push_back("PETG-CF");
def->enum_values.push_back("PVA"); def->enum_values.push_back("PVA");
def->enum_values.push_back("HIPS");
def->mode = comSimple; def->mode = comSimple;
def->set_default_value(new ConfigOptionStrings { "PLA" }); def->set_default_value(new ConfigOptionStrings { "PLA" });
@ -2475,13 +2476,13 @@ void PrintConfigDef::init_fff_params()
def->mode = comSimple; def->mode = comSimple;
def->set_default_value(new ConfigOptionEnum<SeamPosition>(spAligned)); def->set_default_value(new ConfigOptionEnum<SeamPosition>(spAligned));
def = this->add("seam_gap", coFloat); def = this->add("seam_gap", coPercent);
def->label = L("Seam gap"); def->label = L("Seam gap");
def->tooltip = L("In order to reduce the visibility of the seam in a closed loop extrusion, the loop is interrupted and shortened by a specified amount.\n" "This amount can be specified in millimeters or as a percentage of the current extruder diameter. The default value for this parameter is 0.15"); def->tooltip = L("In order to reduce the visibility of the seam in a closed loop extrusion, the loop is interrupted and shortened by a specified amount.\n" "This amount as a percentage of the current extruder diameter. The default value for this parameter is 15");
def->sidetext = L("mm"); def->sidetext = L("%");
def->min = 0; def->min = 0;
def->mode = comDevelop; def->mode = comDevelop;
def->set_default_value(new ConfigOptionFloat(0.15)); def->set_default_value(new ConfigOptionPercent(15));
def = this->add("wipe_speed", coPercent); def = this->add("wipe_speed", coPercent);
def->label = L("Wipe speed"); def->label = L("Wipe speed");

View file

@ -701,7 +701,7 @@ PRINT_CONFIG_CLASS_DEFINE(
((ConfigOptionBool, only_one_wall_top)) ((ConfigOptionBool, only_one_wall_top))
((ConfigOptionBool, only_one_wall_first_layer)) ((ConfigOptionBool, only_one_wall_first_layer))
// OrcaSlicer // OrcaSlicer
((ConfigOptionFloat, seam_gap)) ((ConfigOptionPercent, seam_gap))
((ConfigOptionPercent, wipe_speed)) ((ConfigOptionPercent, wipe_speed))
) )