Skip to content

Commit

Permalink
Add note of nozzle diameter
Browse files Browse the repository at this point in the history
  • Loading branch information
QIDITECH committed Aug 21, 2023
1 parent 74e485d commit 3f31b3f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/slic3r/GUI/Tab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2909,6 +2909,14 @@ void TabPrinter::build_extruder_pages(size_t n_before_extruders)

auto optgroup = page->new_optgroup(L("Size"));
optgroup->append_single_option_line("nozzle_diameter", "", extruder_idx);
//Y11
wxString description_line_text = _L("If you want to use other size nozzles, you need to modify the extrusion width and pressure advance.");
Line line = { "", "" };
line.full_width = 1;
line.widget = [this, description_line_text](wxWindow* parent) {
return description_line_widget(parent, &m_nozzle_diameter_description_line, description_line_text);
};
optgroup->append_line(line);

optgroup->m_on_change = [this, extruder_idx](const t_config_option_key&opt_key, boost::any value)
{
Expand Down Expand Up @@ -2987,7 +2995,7 @@ void TabPrinter::build_extruder_pages(size_t n_before_extruders)

return sizer;
};
Line line = optgroup->create_single_option_line("extruder_colour", "", extruder_idx);
line = optgroup->create_single_option_line("extruder_colour", "", extruder_idx);
line.append_widget(reset_to_filament_color);
optgroup->append_line(line);

Expand Down
2 changes: 2 additions & 0 deletions src/slic3r/GUI/Tab.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,8 @@ class TabPrinter : public Tab
bool m_rebuild_kinematics_page = false;
ogStaticText* m_machine_limits_description_line {nullptr};
void update_machine_limits_description(const MachineLimitsUsage usage);
//Y11
ogStaticText* m_nozzle_diameter_description_line {nullptr};

ogStaticText* m_fff_print_host_upload_description_line {nullptr};
ogStaticText* m_sla_print_host_upload_description_line {nullptr};
Expand Down

0 comments on commit 3f31b3f

Please sign in to comment.