mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
ENH: privide setting option of exclude_area
As title. User can delete the value to enable 256x256 printable size Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: Ia10454b7a7a1b28c04d8d41df9f3251875f6e74e
This commit is contained in:
parent
f9dce93a52
commit
5a2669dcc2
7 changed files with 30 additions and 11 deletions
|
@ -851,7 +851,7 @@ void TabPrinter::init_options_list()
|
|||
|
||||
for (const std::string& opt_key : m_config->keys())
|
||||
{
|
||||
if (opt_key == "printable_area") {
|
||||
if (opt_key == "printable_area" || opt_key == "bed_exclude_area") {
|
||||
m_options_list.emplace(opt_key, m_opt_status_value);
|
||||
continue;
|
||||
}
|
||||
|
@ -2677,7 +2677,9 @@ void TabPrinter::build_fff()
|
|||
//create_line_with_widget(optgroup.get(), "printable_area", "custom-svg-and-png-bed-textures_124612", [this](wxWindow* parent) {
|
||||
// return create_bed_shape_widget(parent);
|
||||
//});
|
||||
|
||||
Option option = optgroup->get_option("bed_exclude_area");
|
||||
option.opt.full_width = true;
|
||||
optgroup->append_single_option_line(option);
|
||||
optgroup->append_single_option_line("printable_height");
|
||||
optgroup->append_single_option_line("nozzle_volume");
|
||||
// BBS
|
||||
|
@ -2793,7 +2795,7 @@ void TabPrinter::build_fff()
|
|||
optgroup->m_on_change = [this, optgroup](const t_config_option_key& opt_key, const boost::any& value) {
|
||||
validate_custom_gcode_cb(this, optgroup, opt_key, value);
|
||||
};
|
||||
Option option = optgroup->get_option("machine_start_gcode");
|
||||
option = optgroup->get_option("machine_start_gcode");
|
||||
option.opt.full_width = true;
|
||||
option.opt.is_code = true;
|
||||
option.opt.height = gcode_field_height;//150;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue