From bd652afd8cd9593d9f756e492d995917ff48bef9 Mon Sep 17 00:00:00 2001 From: thysson2701 Date: Mon, 22 Jun 2026 07:26:39 +0200 Subject: [PATCH] fix(preset): Legacy-Aliases durch korrekte _id-Keys in s_Preset_print_options ersetzen wall_filament, sparse_infill_filament, solid_infill_filament waren unregistrierte Legacy-Aliases die beim Start UnknownOptionException in apply_only() verursachten. Durch die korrekten registrierten Keys (outer/inner_wall_filament_id, sparse/internal_solid/top/bottom_surface _filament_id) ersetzt. Ausserdem fehlende Upstream-2.4.0-Keys ergaenzt: lightning_*, bridge_line_width, relative_bridge_angle, support_parallel_printheads, parallel_printheads_*, flashforge_serial_number. --- src/libslic3r/Preset.cpp | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/src/libslic3r/Preset.cpp b/src/libslic3r/Preset.cpp index c6778b82ee7..57efb811b51 100644 --- a/src/libslic3r/Preset.cpp +++ b/src/libslic3r/Preset.cpp @@ -1069,6 +1069,9 @@ static std::vector s_Preset_print_options{ "lateral_lattice_angle_1", "lateral_lattice_angle_2", "infill_overhang_angle", + "lightning_overhang_angle", + "lightning_prune_angle", + "lightning_straightening_angle", "top_surface_pattern", "bottom_surface_pattern", "infill_direction", @@ -1133,10 +1136,13 @@ static std::vector s_Preset_print_options{ "print_order", "support_remove_small_overhang", "filename_format", - "wall_filament", + "outer_wall_filament_id", + "inner_wall_filament_id", "support_bottom_z_distance", - "sparse_infill_filament", - "solid_infill_filament", + "sparse_infill_filament_id", + "internal_solid_filament_id", + "top_surface_filament_id", + "bottom_surface_filament_id", "support_filament", "support_interface_filament", "support_interface_not_for_body", @@ -1158,6 +1164,7 @@ static std::vector s_Preset_print_options{ "infill_wall_overlap", "top_bottom_infill_wall_overlap", "bridge_flow", + "bridge_line_width", "internal_bridge_flow", "elefant_foot_compensation", "elefant_foot_compensation_layers", @@ -1222,6 +1229,7 @@ static std::vector s_Preset_print_options{ "small_perimeter_threshold", "bridge_angle", "internal_bridge_angle", + "relative_bridge_angle", "filter_out_gap_fill", "travel_acceleration", "inner_wall_acceleration", @@ -1382,7 +1390,7 @@ static std::vector s_Preset_machine_limits_options { static std::vector s_Preset_printer_options { "printer_technology", - "printable_area", "extruder_printable_area", "bed_exclude_area","bed_custom_texture", "bed_custom_model", "gcode_flavor", + "printable_area", "extruder_printable_area", "support_parallel_printheads", "parallel_printheads_count", "parallel_printheads_bed_exclude_areas", "bed_exclude_area","bed_custom_texture", "bed_custom_model", "gcode_flavor", "fan_kickstart", "part_cooling_fan_min_pwm", "fan_speedup_time", "fan_speedup_overhangs", "single_extruder_multi_material", "manual_filament_change", "file_start_gcode", "machine_start_gcode", "machine_end_gcode", "before_layer_change_gcode", "printing_by_object_gcode", "layer_change_gcode", "time_lapse_gcode", "wrapping_detection_gcode", "change_filament_gcode", "change_extrusion_role_gcode", "printer_model", "printer_variant", "printer_extruder_id", "printer_extruder_variant", "extruder_variant_list", "default_nozzle_volume_type", @@ -1393,7 +1401,7 @@ static std::vector s_Preset_printer_options { "scan_first_layer", "enable_power_loss_recovery", "wrapping_detection_layers", "wrapping_exclude_area", "machine_load_filament_time", "machine_unload_filament_time", "machine_tool_change_time", "time_cost", "machine_pause_gcode", "template_custom_gcode", "nozzle_type", "nozzle_hrc","auxiliary_fan", "nozzle_volume","upward_compatible_machine", "z_hop_types", "travel_slope", "retract_lift_enforce","support_chamber_temp_control","support_air_filtration","printer_structure", "best_object_pos", "head_wrap_detect_zone", - "host_type", "print_host", "printhost_apikey", "bbl_use_printhost", "printer_agent", + "host_type", "print_host", "printhost_apikey", "flashforge_serial_number", "bbl_use_printhost", "printer_agent", "print_host_webui", "printhost_cafile","printhost_port","printhost_authorization_type", "printhost_user", "printhost_password", "printhost_ssl_ignore_revoke", "thumbnails", "thumbnails_format", @@ -3956,6 +3964,7 @@ static std::vector s_PhysicalPrinter_opts { "print_host", "print_host_webui", "printhost_apikey", + "flashforge_serial_number", "printhost_cafile", "printhost_port", "printhost_authorization_type",