mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-24 01:09:20 -07:00
prototyping tweakable XY supports;
option should be present now in advanced support menu. Can't figure out what's going on atm; support should be moving but isn't
This commit is contained in:
@@ -1121,6 +1121,13 @@ PrintConfigDef::PrintConfigDef()
|
||||
def->cli = "support-material!";
|
||||
def->default_value = new ConfigOptionBool(false);
|
||||
|
||||
def = this->add("support_material_xy_spacing", coFloat);
|
||||
def->label = "Extra separation between part and support (mm)";
|
||||
def->category = "Support material";
|
||||
def->tooltip = "Add offset to support material separation (0 is 1 extrusion width).";
|
||||
def->cli = "support-material-xy-spacing=f";
|
||||
def->default_value = new ConfigOptionFloat(0.0);
|
||||
|
||||
def = this->add("support_material_angle", coInt);
|
||||
def->label = "Pattern angle";
|
||||
def->category = "Support material";
|
||||
|
||||
@@ -164,6 +164,7 @@ class PrintObjectConfig : public virtual StaticPrintConfig
|
||||
ConfigOptionBool support_material_synchronize_layers;
|
||||
ConfigOptionInt support_material_threshold;
|
||||
ConfigOptionBool support_material_with_sheath;
|
||||
ConfigOptionFloat support_material_xy_spacing;
|
||||
ConfigOptionFloat xy_size_compensation;
|
||||
|
||||
PrintObjectConfig(bool initialize = true) : StaticPrintConfig() {
|
||||
@@ -198,6 +199,7 @@ class PrintObjectConfig : public virtual StaticPrintConfig
|
||||
OPT_PTR(support_material_spacing);
|
||||
OPT_PTR(support_material_speed);
|
||||
OPT_PTR(support_material_synchronize_layers);
|
||||
OPT_PTR(support_material_xy_spacing);
|
||||
OPT_PTR(support_material_threshold);
|
||||
OPT_PTR(support_material_with_sheath);
|
||||
OPT_PTR(xy_size_compensation);
|
||||
|
||||
@@ -221,6 +221,7 @@ PrintObject::invalidate_state_by_config_options(const std::vector<t_config_optio
|
||||
|| *opt_key == "support_material_interface_speed"
|
||||
|| *opt_key == "support_material_buildplate_only"
|
||||
|| *opt_key == "support_material_pattern"
|
||||
|| *opt_key == "support_material_xy_spacing"
|
||||
|| *opt_key == "support_material_spacing"
|
||||
|| *opt_key == "support_material_synchronize_layers"
|
||||
|| *opt_key == "support_material_threshold"
|
||||
|
||||
Reference in New Issue
Block a user