mirror of
https://github.com/QIDITECH/QIDISlicer.git
synced 2026-02-01 08:28:42 +03:00
Fix bug
This commit is contained in:
@@ -758,11 +758,6 @@ std::string CoolingBuffer::apply_layer_cooldown(
|
||||
int enable_volume_fan = EXTRUDER_CONFIG(enable_volume_fan);
|
||||
int fan_speed_new = EXTRUDER_CONFIG(fan_always_on) ? min_fan_speed : 0;
|
||||
|
||||
//B26
|
||||
bool enable_advance_pressure = EXTRUDER_CONFIG(enable_advance_pressure);
|
||||
float advance_pressure = float(EXTRUDER_CONFIG(advance_pressure));
|
||||
float smooth_time = float(EXTRUDER_CONFIG(smooth_time));
|
||||
|
||||
std::pair<int, int> custom_fan_speed_limits{fan_speed_new, 100 };
|
||||
int disable_fan_first_layers = EXTRUDER_CONFIG(disable_fan_first_layers);
|
||||
|
||||
@@ -811,7 +806,7 @@ std::string CoolingBuffer::apply_layer_cooldown(
|
||||
custom_fan_speed_limits.second = 0;
|
||||
}
|
||||
//B15 //B39
|
||||
if (int(layer_id) == disable_rapid_cooling_fan_first_layers && enable_auxiliary_fan!=0) {
|
||||
if (int(layer_id) == disable_rapid_cooling_fan_first_layers) {
|
||||
std::ostringstream fan_gcode;
|
||||
fan_gcode << "M106 P2 S" << 255.0 * enable_auxiliary_fan / 100.0 << "\n";
|
||||
new_gcode += fan_gcode.str();
|
||||
@@ -822,12 +817,6 @@ std::string CoolingBuffer::apply_layer_cooldown(
|
||||
fan_gcode << "M106 P3 S" << 255.0 * enable_volume_fan / 100.0 << "\n";
|
||||
new_gcode += fan_gcode.str();
|
||||
}
|
||||
//B26
|
||||
if (enable_advance_pressure && fan_speed_new != m_fan_speed) {
|
||||
std::ostringstream pressure_advance_gcode;
|
||||
pressure_advance_gcode << "M900 K" << advance_pressure << " T" << smooth_time << "\n";
|
||||
new_gcode += pressure_advance_gcode.str();
|
||||
}
|
||||
|
||||
if (fan_speed_new != m_fan_speed) {
|
||||
m_fan_speed = fan_speed_new;
|
||||
|
||||
@@ -1381,7 +1381,6 @@ void PrintConfigDef::init_fff_params()
|
||||
def->label = L("First layer travel");
|
||||
def->tooltip = L("Speed for travel moves of the first layer (jumps between distant extrusion points).");
|
||||
def->sidetext = L("mm/s");
|
||||
def->aliases = {"travel_feed_rate"};
|
||||
def->min = 1;
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionFloat(50));
|
||||
@@ -1391,7 +1390,6 @@ void PrintConfigDef::init_fff_params()
|
||||
def->label = L("First layer infill");
|
||||
def->tooltip = L("Speed for infill of the first layer (jumps between distant extrusion points).");
|
||||
def->sidetext = L("mm/s");
|
||||
def->aliases = {"infill_speed"};
|
||||
def->min = 1;
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionFloat(50));
|
||||
|
||||
@@ -1480,7 +1480,7 @@ PageDownloader::PageDownloader(ConfigWizard* parent)
|
||||
|
||||
const wxString link = format_wxstr("<a href = \"%1%\">%1%</a>", "qidi3d.com");
|
||||
|
||||
const wxString main_text = format_wxstr(_L("You can get more information about the printer from the %1% "
|
||||
const wxString main_text = format_wxstr(_L("You can get more information about the printer and %2% from the %1%."
|
||||
), link, SLIC3R_APP_NAME);
|
||||
|
||||
const wxFont& font = this->GetFont();
|
||||
|
||||
@@ -1573,10 +1573,10 @@ void TabPrint::build()
|
||||
|
||||
optgroup = page->new_optgroup(L("Modifiers"));
|
||||
optgroup->append_single_option_line("first_layer_speed");
|
||||
//B36
|
||||
optgroup->append_single_option_line("first_layer_travel_speed");
|
||||
//B37
|
||||
optgroup->append_single_option_line("first_layer_infill_speed");
|
||||
//B36
|
||||
optgroup->append_single_option_line("first_layer_travel_speed");
|
||||
|
||||
optgroup->append_single_option_line("first_layer_speed_over_raft");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user