mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 15:44:12 -06:00
ENH: normalize comment from OrcaSlicer
Mark code from OrcaSlicer with same comment tag for follow easily Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: If4db502a1b0e6d0648c73f2f383b6d1cc8e1aa01
This commit is contained in:
parent
e9ad8374bc
commit
2fe7629388
16 changed files with 30 additions and 32 deletions
|
@ -688,10 +688,8 @@ void ConfigManipulation::toggle_print_fff_options(DynamicPrintConfig *config, co
|
|||
toggle_field("only_one_wall_top", !have_arachne);
|
||||
|
||||
PresetBundle *preset_bundle = wxGetApp().preset_bundle;
|
||||
// SoftFever
|
||||
// OrcaSlicer
|
||||
auto gcflavor = preset_bundle->printers.get_edited_preset().config.option<ConfigOptionEnum<GCodeFlavor>>("gcode_flavor")->value;
|
||||
|
||||
// SoftFever
|
||||
if( gcflavor != gcfKlipper )
|
||||
{
|
||||
for (auto el : {"accel_to_decel_enable", "accel_to_decel_factor"})
|
||||
|
|
|
@ -1056,7 +1056,7 @@ void MainFrame::init_tabpanel()
|
|||
}
|
||||
|
||||
|
||||
// SoftFever
|
||||
// OrcaSlicer
|
||||
void MainFrame::show_device(bool bBBLPrinter) {
|
||||
if (m_tabpanel->GetPage(tpMonitor) != m_monitor &&
|
||||
m_tabpanel->GetPage(tpMonitor) != m_printer_view) {
|
||||
|
@ -2670,7 +2670,7 @@ void MainFrame::init_menubar_as_editor()
|
|||
//m_topbar->AddDropDownMenuItem(config_item);
|
||||
m_topbar->AddDropDownSubMenu(helpMenu, _L("Help"));
|
||||
|
||||
// SoftFever calibrations
|
||||
// OrcaSlicer calibrations
|
||||
{
|
||||
append_menu_item(m_topbar->GetCalibMenu(), wxID_ANY, _L("Temperature"), _L("Temperature Calibration"),
|
||||
[this](wxCommandEvent&) {
|
||||
|
@ -2736,7 +2736,7 @@ void MainFrame::init_menubar_as_editor()
|
|||
|
||||
// help
|
||||
append_menu_item(m_topbar->GetCalibMenu(), wxID_ANY, _L("Tutorial"), _L("Calibration help"),
|
||||
[this](wxCommandEvent&) { wxLaunchDefaultBrowser("https://github.com/SoftFever/OrcaSlicer/wiki/Calibration", wxBROWSER_NEW_WINDOW); }, "", nullptr,
|
||||
[this](wxCommandEvent&) { wxLaunchDefaultBrowser("https://github.com/OrcaSlicer/OrcaSlicer/wiki/Calibration", wxBROWSER_NEW_WINDOW); }, "", nullptr,
|
||||
[this]() {return m_plater->is_view3D_shown();; }, this);
|
||||
|
||||
}
|
||||
|
|
|
@ -337,7 +337,7 @@ public:
|
|||
void RunScript(wxString js);
|
||||
void show_device(bool bBBLPrinter);
|
||||
|
||||
// SoftFever calibration
|
||||
// OrcaSlicer calibration
|
||||
PA_Calibration_Dlg * m_pa_calib_dlg{nullptr};
|
||||
Temp_Calibration_Dlg * m_temp_calib_dlg{nullptr};
|
||||
MaxVolumetricSpeed_Test_Dlg *m_vol_test_dlg{nullptr};
|
||||
|
|
|
@ -8334,7 +8334,7 @@ void Plater::calib_flowrate(int pass)
|
|||
_obj->config.set_key_value("bottom_shell_layers", new ConfigOptionInt(1));
|
||||
_obj->config.set_key_value("top_shell_layers", new ConfigOptionInt(5));
|
||||
_obj->config.set_key_value("detect_thin_wall", new ConfigOptionBool(true));
|
||||
_obj->config.set_key_value("filter_out_gap_fill", new ConfigOptionFloat(0)); // todo: SoftFever parameter
|
||||
_obj->config.set_key_value("filter_out_gap_fill", new ConfigOptionFloat(0)); // todo: OrcaSlicer parameter
|
||||
_obj->config.set_key_value("sparse_infill_pattern", new ConfigOptionEnum<InfillPattern>(ipRectilinear));
|
||||
_obj->config.set_key_value("top_surface_line_width", new ConfigOptionFloat(nozzle_diameter * 1.2f));
|
||||
_obj->config.set_key_value("internal_solid_infill_line_width", new ConfigOptionFloat(nozzle_diameter * 1.2f));
|
||||
|
|
|
@ -231,7 +231,7 @@ public:
|
|||
void reload_gcode_from_disk();
|
||||
void refresh_print();
|
||||
|
||||
// SoftFever calibration
|
||||
// OrcaSlicer calibration
|
||||
void calib_pa(const Calib_Params ¶ms);
|
||||
void calib_flowrate(int pass);
|
||||
void calib_temp(const Calib_Params ¶ms);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue