Removed Bottom Clip

This commit is contained in:
Lars Brubaker 2017-07-11 15:15:37 -07:00
parent 5e57563908
commit 6231611456
8 changed files with 1 additions and 36 deletions

View file

@ -134,7 +134,6 @@ namespace MatterHackers.MatterControl.DataStorage.ClassicDB
// make sure we clear the one time settings
printerSettings.OemLayer[SettingsKey.spiral_vase] = "";
printerSettings.OemLayer[SettingsKey.bottom_clip_amount] = "";
printerSettings.OemLayer[SettingsKey.layer_to_pause] = "";
// TODO: Where can we find CalibrationFiiles in the current model?

View file

@ -53,7 +53,6 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
public const string bed_shape = nameof(bed_shape);
public const string bed_size = nameof(bed_size);
public const string bed_temperature = nameof(bed_temperature);
public const string bottom_clip_amount = nameof(bottom_clip_amount);
public const string build_height = nameof(build_height);
public const string cancel_gcode = nameof(cancel_gcode);
public const string com_port = nameof(com_port);

View file

@ -68,8 +68,6 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
new MappedSetting("perimeter_speed", "insetXSpeed"),
new AsPercentOfReferenceOrDirect("external_perimeter_speed", "inset0Speed", "perimeter_speed"),
new ScaledSingleNumber(SettingsKey.bottom_clip_amount, "objectSink", 1000),
new MappedSetting("max_fan_speed", "fanSpeedMin"),
new MappedSetting("min_fan_speed", "fanSpeedMax"),

View file

@ -103,7 +103,6 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
new MappedSetting("wipe_shield_distance", "wipeShieldDistanceFromObject"),
new MappedSetting("wipe_tower_size", "wipeTowerSize"),
new MappedSetting("z_offset", "zOffset"),
new MappedSetting(SettingsKey.bottom_clip_amount, "bottomClipAmount"),
new MappedSetting(SettingsKey.filament_diameter, "filamentDiameter"),
new MappedSetting(SettingsKey.layer_height, "layerThickness"),
new MappedSetting(SettingsKey.nozzle_diameter, "extrusionWidth"),
@ -120,7 +119,6 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
new MappedToBoolString(SettingsKey.merge_overlapping_lines, "MergeOverlappingLines"),
new MappedToBoolString(SettingsKey.fill_thin_gaps, "fillThinGaps"),
new MappedToBoolString(SettingsKey.spiral_vase, "continuousSpiralOuterPerimeter"),
new MapPositionToPlaceObjectCenter(SettingsKey.print_center, "positionToPlaceObjectCenter"),
new MapStartGCode(SettingsKey.start_gcode, "startCode", true),
new MapLayerChangeGCode("layer_gcode", "layerChangeCode"),
new ScaledSingleNumber("fill_density", "infillPercent", 100),
@ -252,24 +250,6 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
}
}
public class MapPositionToPlaceObjectCenter : MappedSetting
{
public MapPositionToPlaceObjectCenter(string canonicalSettingsName, string exportedName)
: base(canonicalSettingsName, exportedName)
{
}
public override string Value
{
get
{
Vector2 PrinteCenter = ActiveSliceSettings.Instance.GetValue<Vector2>(SettingsKey.print_center);
return "[{0},{1}]".FormatWith(PrinteCenter.x, PrinteCenter.y);
}
}
}
public class SkirtLengthMapping : MappedSetting
{
public SkirtLengthMapping(string canonicalSettingsName, string exportedName)

View file

@ -65,7 +65,6 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
"infill_type",
"create_raft",
"z_gap",
SettingsKey.bottom_clip_amount,
"gcode_output_type",
"raft_extra_distance_around_part",
"output_only_first_layer",

View file

@ -222,7 +222,6 @@ Advanced
Single Print
Settings Will Clear at End of Print
spiral_vase
bottom_clip_amount
layer_to_pause
Filament
Material

View file

@ -32,15 +32,6 @@
"ShowIfSet": "has_heated_bed",
"DefaultValue": "70"
},
{
"SlicerConfigName": "bottom_clip_amount",
"PresentationName": "Bottom Clip",
"HelpText": "The amount to remove from the bottom of the model, in millimeters.",
"DataEditType": "DOUBLE",
"ExtraSettings": "mm",
"ResetAtEndOfPrint": true,
"DefaultValue": "0"
},
{
"SlicerConfigName": "bottom_solid_layers",
"PresentationName": "Bottom Solid Layers:",

@ -1 +1 @@
Subproject commit a391321c371c27ae29f35451f626bfd5b39f7b4c
Subproject commit 719c7e00ae405655bc24152867c66eea5e0b671e