mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 09:47:58 -06:00
Disable PA
PA = 0 To improve the test and Klipper compatibility Fix
This commit is contained in:
parent
428cba9a25
commit
9890ab333c
2 changed files with 9 additions and 4 deletions
|
@ -3775,7 +3775,6 @@ LayerResult GCode::process_layer(
|
||||||
gcode += writer().set_input_shaping('A', print.calib_params().start, 0.f);
|
gcode += writer().set_input_shaping('A', print.calib_params().start, 0.f);
|
||||||
} else {
|
} else {
|
||||||
if (print.calib_params().freqStartX == print.calib_params().freqStartY && print.calib_params().freqEndX == print.calib_params().freqEndY) {
|
if (print.calib_params().freqStartX == print.calib_params().freqStartY && print.calib_params().freqEndX == print.calib_params().freqEndY) {
|
||||||
gcode += writer().set_junction_deviation(0.25);
|
|
||||||
gcode += writer().set_input_shaping('A', 0.f, (print.calib_params().freqStartX) + ((print.calib_params().freqEndX)-(print.calib_params().freqStartX)) * (m_layer_index - 2) / (m_layer_count - 3));
|
gcode += writer().set_input_shaping('A', 0.f, (print.calib_params().freqStartX) + ((print.calib_params().freqEndX)-(print.calib_params().freqStartX)) * (m_layer_index - 2) / (m_layer_count - 3));
|
||||||
} else {
|
} else {
|
||||||
gcode += writer().set_input_shaping('X', 0.f, (print.calib_params().freqStartX) + ((print.calib_params().freqEndX)-(print.calib_params().freqStartX)) * (m_layer_index - 2) / (m_layer_count - 3));
|
gcode += writer().set_input_shaping('X', 0.f, (print.calib_params().freqStartX) + ((print.calib_params().freqEndX)-(print.calib_params().freqStartX)) * (m_layer_index - 2) / (m_layer_count - 3));
|
||||||
|
|
|
@ -10163,6 +10163,8 @@ void Plater::calib_input_shaping_freq(const Calib_Params& params)
|
||||||
auto filament_config = &wxGetApp().preset_bundle->filaments.get_edited_preset().config;
|
auto filament_config = &wxGetApp().preset_bundle->filaments.get_edited_preset().config;
|
||||||
filament_config->set_key_value("slow_down_layer_time", new ConfigOptionFloats { 2.0 });
|
filament_config->set_key_value("slow_down_layer_time", new ConfigOptionFloats { 2.0 });
|
||||||
filament_config->set_key_value("filament_max_volumetric_speed", new ConfigOptionFloats { 200 });
|
filament_config->set_key_value("filament_max_volumetric_speed", new ConfigOptionFloats { 200 });
|
||||||
|
//filament_config->set_key_value("enable_pressure_advance", new ConfigOptionBoolsNullable {false });
|
||||||
|
filament_config->set_key_value("pressure_advance", new ConfigOptionFloats { 0.0 });
|
||||||
print_config->set_key_value("enable_overhang_speed", new ConfigOptionBool { false });
|
print_config->set_key_value("enable_overhang_speed", new ConfigOptionBool { false });
|
||||||
print_config->set_key_value("timelapse_type", new ConfigOptionEnum<TimelapseType>(tlTraditional));
|
print_config->set_key_value("timelapse_type", new ConfigOptionEnum<TimelapseType>(tlTraditional));
|
||||||
print_config->set_key_value("wall_loops", new ConfigOptionInt(1));
|
print_config->set_key_value("wall_loops", new ConfigOptionInt(1));
|
||||||
|
@ -10198,7 +10200,9 @@ void Plater::calib_input_shaping_damp(const Calib_Params& params)
|
||||||
auto filament_config = &wxGetApp().preset_bundle->filaments.get_edited_preset().config;
|
auto filament_config = &wxGetApp().preset_bundle->filaments.get_edited_preset().config;
|
||||||
filament_config->set_key_value("slow_down_layer_time", new ConfigOptionFloats { 2.0 });
|
filament_config->set_key_value("slow_down_layer_time", new ConfigOptionFloats { 2.0 });
|
||||||
filament_config->set_key_value("filament_max_volumetric_speed", new ConfigOptionFloats { 200 });
|
filament_config->set_key_value("filament_max_volumetric_speed", new ConfigOptionFloats { 200 });
|
||||||
print_config->set_key_value("enable_overhang_speed", new ConfigOptionBool { false });
|
//filament_config->set_key_value("enable_pressure_advance", new ConfigOptionBoolsNullable{false});
|
||||||
|
filament_config->set_key_value("pressure_advance", new ConfigOptionFloats{0.0});
|
||||||
|
print_config->set_key_value("enable_overhang_speed", new ConfigOptionBool{false});
|
||||||
print_config->set_key_value("timelapse_type", new ConfigOptionEnum<TimelapseType>(tlTraditional));
|
print_config->set_key_value("timelapse_type", new ConfigOptionEnum<TimelapseType>(tlTraditional));
|
||||||
print_config->set_key_value("wall_loops", new ConfigOptionInt(1));
|
print_config->set_key_value("wall_loops", new ConfigOptionInt(1));
|
||||||
print_config->set_key_value("top_shell_layers", new ConfigOptionInt(0));
|
print_config->set_key_value("top_shell_layers", new ConfigOptionInt(0));
|
||||||
|
@ -10232,8 +10236,10 @@ void Plater::calib_junction_deviation(const Calib_Params& params)
|
||||||
auto print_config = &wxGetApp().preset_bundle->prints.get_edited_preset().config;
|
auto print_config = &wxGetApp().preset_bundle->prints.get_edited_preset().config;
|
||||||
auto filament_config = &wxGetApp().preset_bundle->filaments.get_edited_preset().config;
|
auto filament_config = &wxGetApp().preset_bundle->filaments.get_edited_preset().config;
|
||||||
filament_config->set_key_value("slow_down_layer_time", new ConfigOptionFloats { 2.0 });
|
filament_config->set_key_value("slow_down_layer_time", new ConfigOptionFloats { 2.0 });
|
||||||
filament_config->set_key_value("filament_max_volumetric_speed", new ConfigOptionFloats { 200 });
|
filament_config->set_key_value("filament_max_volumetric_speed", new ConfigOptionFloats{200});
|
||||||
print_config->set_key_value("enable_overhang_speed", new ConfigOptionBool { false });
|
// filament_config->set_key_value("enable_pressure_advance", new ConfigOptionBoolsNullable{false});
|
||||||
|
filament_config->set_key_value("pressure_advance", new ConfigOptionFloats{0.0});
|
||||||
|
print_config->set_key_value("enable_overhang_speed", new ConfigOptionBool{false});
|
||||||
print_config->set_key_value("timelapse_type", new ConfigOptionEnum<TimelapseType>(tlTraditional));
|
print_config->set_key_value("timelapse_type", new ConfigOptionEnum<TimelapseType>(tlTraditional));
|
||||||
print_config->set_key_value("wall_loops", new ConfigOptionInt(1));
|
print_config->set_key_value("wall_loops", new ConfigOptionInt(1));
|
||||||
print_config->set_key_value("top_shell_layers", new ConfigOptionInt(0));
|
print_config->set_key_value("top_shell_layers", new ConfigOptionInt(0));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue