Skip to content

Commit

Permalink
add quick-fix-for-problematic-profiles.patch to work-around some erro…
Browse files Browse the repository at this point in the history
…r-handling bugs
  • Loading branch information
aegean-odyssey committed May 4, 2022
1 parent 8c14b66 commit 319e991
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 0 deletions.
9 changes: 9 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
superslicer (2.3.57.12-2) unstable; urgency=medium

* quick-fix-for-problematic-profiles.patch
The stable version (this) SuperSlicer does not handle some new profile
settings despite release notes to the contrary. We patch the troublesome
profiles to keep the program from generating a segmentation fault.

-- Aegean Odyssey <[email protected]> Tue, 04 May 2022 21:03:27 +0000

superslicer (2.3.57.12-1) unstable; urgency=medium

* upstream version 2.3.57.12
Expand Down
90 changes: 90 additions & 0 deletions debian/patches/quick-fix-for-problematic-profiles.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
Description: quick fix for some problematic profiles
The stable version (this) SuperSlicer does not handle some new profile
settings despite release notes to the contrary. We patch the troublesome
profiles to keep the program from generating a segmentation fault.
Author: <Aegean Odyssey> [email protected]
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: superslicer/resources/profiles/Anycubic.ini
===================================================================
--- superslicer.orig/resources/profiles/Anycubic.ini
+++ superslicer/resources/profiles/Anycubic.ini
@@ -1980,7 +1980,7 @@ compatible_printers_condition = printer_
complete_objects = 0
default_acceleration = 900
dont_support_bridges = 1
-draft_shield = disabled
+draft_shield = 0
elefant_foot_compensation = 0.2
ensure_vertical_shell_thickness = 1
external_perimeter_extrusion_width = 0
Index: superslicer/resources/profiles/PrusaResearch.ini
===================================================================
--- superslicer.orig/resources/profiles/PrusaResearch.ini
+++ superslicer/resources/profiles/PrusaResearch.ini
@@ -8898,7 +8898,7 @@ thumbnails = 16x16,220x124
bed_shape = 0x0,180x0,180x180,0x180
default_filament_profile = "Prusament PLA"
default_print_profile = 0.15mm QUALITY @MINI
-gcode_flavor = marlin2
+gcode_flavor = marlin
machine_max_acceleration_e = 5000
machine_max_acceleration_extruding = 1250
machine_max_acceleration_retracting = 1250
Index: superslicer/resources/profiles/Snapmaker.ini
===================================================================
--- superslicer.orig/resources/profiles/Snapmaker.ini
+++ superslicer/resources/profiles/Snapmaker.ini
@@ -44,7 +44,7 @@ clip_multipart_objects = 1
complete_objects = 0
default_acceleration = 0
dont_support_bridges = 1
-draft_shield = disabled
+draft_shield = 0
first_layer_size_compensation = -0.1
ensure_vertical_shell_thickness = 1
external_perimeter_extrusion_width = 0.45
Index: superslicer/resources/profiles/Ultimaker.ini
===================================================================
--- superslicer.orig/resources/profiles/Ultimaker.ini
+++ superslicer/resources/profiles/Ultimaker.ini
@@ -48,7 +48,7 @@ compatible_printers_condition =
complete_objects = 0
default_acceleration = 0
dont_support_bridges = 0
-draft_shield = disabled
+draft_shield = 0
elefant_foot_compensation = 0
ensure_vertical_shell_thickness = 0
external_perimeter_extrusion_width = 0.45
@@ -151,7 +151,7 @@ support_material_extrusion_width = 0.4
support_material_interface_contact_loops = 0
support_material_interface_extruder = 1
support_material_interface_layers = 2
-support_material_interface_pattern = auto
+support_material_interface_pattern = rectilinear
support_material_interface_spacing = 0.2
support_material_interface_speed = 100%
support_material_pattern = rectilinear-grid
Index: superslicer/resources/profiles/Zonestar.ini
===================================================================
--- superslicer.orig/resources/profiles/Zonestar.ini
+++ superslicer/resources/profiles/Zonestar.ini
@@ -77,7 +77,7 @@ clip_multipart_objects = 1
complete_objects = 0
default_acceleration = 0
dont_support_bridges = 1
-draft_shield = disabled
+draft_shield = 0
elefant_foot_compensation = 0
ensure_vertical_shell_thickness = 0
external_perimeter_extrusion_width = 0.45
@@ -392,7 +392,7 @@ default_print_profile =
deretract_speed =
end_gcode =
extra_loading_move = -2
-gcode_flavor = marlin2
+gcode_flavor = marlin
high_current_on_filament_swap = 0
host_type = octoprint
layer_gcode =
1 change: 1 addition & 0 deletions debian/patches/series
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
quick-fix-for-problematic-profiles.patch
Move-Slic3r-data-to-usr-share-slic3r-prusa.patch
Install-XS-files-into-usr-lib-slic3r-prusa3d.patch
Move-Catch-namespace-into-PrusaCatch.patch
Expand Down

0 comments on commit 319e991

Please sign in to comment.