New feature: show auto calibration marks on bed for X1/X1C printers

#88
This commit is contained in:
SoftFever 2023-04-02 11:09:05 +08:00
parent c68fa18caf
commit bf556a0272
10 changed files with 385 additions and 23 deletions

View file

@ -806,9 +806,8 @@ static std::vector<std::string> s_Preset_printer_options {
"host_type", "print_host", "printhost_apikey",
"print_host_webui",
"printhost_cafile","printhost_port","printhost_authorization_type",
"printhost_user", "printhost_password", "printhost_ssl_ignore_revoke",
"thumbnails", "use_firmware_retraction", "use_relative_e_distances"
};
"printhost_user", "printhost_password", "printhost_ssl_ignore_revoke", "thumbnails",
"use_firmware_retraction", "use_relative_e_distances", "bbl_calib_mark_logo"};
static std::vector<std::string> s_Preset_sla_print_options {
"layer_height",

View file

@ -2224,7 +2224,7 @@ void PrintConfigDef::init_fff_params()
def->tooltip = L("Volume of nozzle between the cutter and the end of nozzle");
def->sidetext = L("mm³");
def->mode = comAdvanced;
def->readonly = true;
def->readonly = false;
def->set_default_value(new ConfigOptionFloat { 0.0 });
def = this->add("start_end_points", coPoints);
@ -2503,6 +2503,12 @@ void PrintConfigDef::init_fff_params()
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("bbl_calib_mark_logo", coBool);
def->label = L("Show auto-calibration marks");
def->tooltip = "";
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(true));
def = this->add("seam_position", coEnum);
def->label = L("Seam position");
def->category = L("Quality");

View file

@ -881,6 +881,7 @@ PRINT_CONFIG_CLASS_DEFINE(
((ConfigOptionBool, accel_to_decel_enable))
((ConfigOptionPercent, accel_to_decel_factor))
((ConfigOptionFloatOrPercent, initial_layer_travel_speed))
((ConfigOptionBool, bbl_calib_mark_logo))
)