Removing support_material_percent as we don't use it anymore

This commit is contained in:
Lars Brubaker 2019-04-04 17:06:56 -07:00
parent 6ad75b601f
commit dfcdcd2a44
5 changed files with 1 additions and 17 deletions

View file

@ -221,7 +221,6 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
public const string support_material_infill_angle = nameof(support_material_infill_angle);
public const string support_material_interface_extruder = nameof(support_material_interface_extruder);
public const string support_material_interface_layers = nameof(support_material_interface_layers);
public const string support_material_percent = nameof(support_material_percent);
public const string support_material_spacing = nameof(support_material_spacing);
public const string support_material_speed = nameof(support_material_speed);
public const string support_material_xy_distance = nameof(support_material_xy_distance);

View file

@ -1643,17 +1643,6 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
DefaultValue = ".3"
},
new SliceSettingData()
{
QuickMenuSettings = { { "Little", "10" }, { "Standard","50" }, { "Lots", "90" } },
SlicerConfigName = SettingsKey.support_material_percent,
PresentationName = "Support Percent".Localize(),
HelpText = "The percent of the extrusion width that can be overlapped and still generate.".Localize(),
DataEditType = DataEditTypes.POSITIVE_DOUBLE,
ShowIfSet = "!sla_printer",
Units = "%",
DefaultValue = "50"
},
new SliceSettingData()
{
SlicerConfigName = SettingsKey.support_material_infill_angle,
PresentationName = "Infill Angle".Localize(),

View file

@ -267,7 +267,7 @@ namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling
double newProbeOffset = autoProbePositions[0].position.Z - manualProbePositions[0].position.Z;
var probe_offset = printer.Settings.GetValue<Vector3>(SettingsKey.probe_offset);
probe_offset.Z = -newProbeOffset;
printer.Settings.SetValue(SettingsKey.probe_offset, probe_offset.ToString());
printer.Settings.SetValue(SettingsKey.probe_offset, $"{probe_offset.X},{probe_offset.Y},{probe_offset.Z}");
}
else if (extruderIndex == 1)
{

View file

@ -205,7 +205,6 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
new MappedSetting(printer, SettingsKey.slowdown_below_layer_time, "minimumLayerTimeSeconds"),
new MappedSetting(printer, SettingsKey.support_air_gap, "supportAirGap"),
new MappedSetting(printer, SettingsKey.support_material_infill_angle, "supportInfillStartingAngle"),
new MappedSetting(printer, SettingsKey.support_material_percent, "supportPercent"),
new MappedSetting(printer, SettingsKey.support_material_spacing, "supportLineSpacing"),
new OverrideSpeedOnSlaPrinters(printer, SettingsKey.support_material_speed, "supportMaterialSpeed", "infill_speed"),
new OverrideSpeedOnSlaPrinters(printer, SettingsKey.interface_layer_speed, "interfaceLayerSpeed", "infill_speed"),

View file

@ -76,9 +76,6 @@ Advanced
create_brim
brims
Support
Support
Support
support_material_percent
Advanced
Support Options
support_material_create_perimeter