Skip to content

Commit

Permalink
v4.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sn4k3 committed Jan 29, 2024
1 parent 09f0120 commit 2d542b0
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 29 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## /01/2024 - v4.2.0
## 29/01/2024 - v4.2.0

- **Layers:**
- (Add) Brotli compression codec with good performance and compression ratio (Choose it if you have low available RAM)
Expand Down
6 changes: 3 additions & 3 deletions PrusaSlicer/printer/Creality Halot Mage CL-103L.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# generated by PrusaSlicer 2.6.0+win64 on 2023-06-24 at 15:21:33 UTC
# generated by PrusaSlicer 2.7.1+win64 on 2024-01-23 at 02:02:57 UTC
absolute_correction = 0
area_fill = 50
bed_custom_model =
Expand All @@ -7,7 +7,7 @@ bed_shape = 0x0,228.1x0,228.1x128.3,0x128.3
default_sla_material_profile = Prusa Orange Tough 0.05
default_sla_print_profile = 0.05 Normal
display_height = 128.304
display_mirror_x = 0
display_mirror_x = 1
display_mirror_y = 0
display_orientation = landscape
display_pixels_x = 7680
Expand Down Expand Up @@ -41,4 +41,4 @@ relative_correction_z = 1
sla_archive_format = SL1
sla_output_precision = 0.001
slow_tilt_time = 8
thumbnails = 120x120,300x300
thumbnails = 120x120/PNG, 300x300/PNG
6 changes: 3 additions & 3 deletions PrusaSlicer/printer/Creality Halot Mage Pro CL-103.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# generated by PrusaSlicer 2.6.0+win64 on 2023-06-24 at 15:21:41 UTC
# generated by PrusaSlicer 2.7.1+win64 on 2024-01-23 at 02:03:04 UTC
absolute_correction = 0
area_fill = 50
bed_custom_model =
Expand All @@ -7,7 +7,7 @@ bed_shape = 0x0,228.1x0,228.1x128.3,0x128.3
default_sla_material_profile = Prusa Orange Tough 0.05
default_sla_print_profile = 0.05 Normal
display_height = 128.304
display_mirror_x = 0
display_mirror_x = 1
display_mirror_y = 0
display_orientation = landscape
display_pixels_x = 7680
Expand Down Expand Up @@ -41,4 +41,4 @@ relative_correction_z = 1
sla_archive_format = SL1
sla_output_precision = 0.001
slow_tilt_time = 8
thumbnails = 120x120,300x300
thumbnails = 120x120/PNG, 300x300/PNG
39 changes: 17 additions & 22 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
- **File formats:**
- (Add) Emake3D Galaxy 1 (QDT) file format and PrusaSlicer printer profile
- (Add) `ManufacturingProcess` property to get the manufacturing process used by the file/printer combination
- (Add) `SupportAntiAliasing` property to get if the file supports antialiasing usage (grey pixels)
- (Improvement) Goo: On encode image do not use gradient compression when going from grey to black or white
- (Change) PZR: Disable gradient compression for this file format as it corrupt layer for Phrozen Sonic Mini 8K S (#776, #810, #814)
- (Fix) Thumbnail text generation and for partial open files
- (Fix) Parse transition step time and count from layers throw an exception when the file only have one layer
- **UI:**
- (Add) Title bar: Display the loaded file size and re-arrange the last operation run time to the right
- (Improvement) Re-arrange some items on `File` and `Help` menu
- (Improvement) Use icons instead UTF-8 character for buttons with drop-down menus
- (Fix) Benchmark tool: Allow to show percentages larger than 100% and increase progress height
- **Tools:**
- (Fix) Layer actions - Import layer(s): Unable to process image files (#815)
- (Fix) PCB Exposure: Draw circles using ellipses in order to use non-square pixels (#822)
- **Suggestions:**
- (Fix) Bottom layers count: Do not trigger the suggestion when the file layer count are equal or less than the configured minimum bottom layers
- (Fix) Transition layers: Do not trigger the suggestion when it can't fade exposure time or when bottom time is equal to normal time
- (Fix) PrusaSlicer Printer: "Elegoo Mars 4" is wrongly named, renamed to "Elegoo Mars 4 DLP" and added the corresponding "Elegoo Mars 4"
- (Upgrade) .NET from 6.0.25 to 6.0.26
- (Upgrade) AvaloniaUI from 11.0.6 to 11.0.7 (Fixes #803, #812)
- **Layers:**
- (Add) Brotli compression codec with good performance and compression ratio (Choose it if you have low available RAM)
- (Improvement) Use `ResizableMemory` instead of `MemoryStream` for `GZip` and `Deflate` compressions, this results in faster compressions and less memory pressure
- (Improvement) Changed how layers are cached into the memory, before they were compressed and save for the whole image. Now it crops the bitmap to the bounding rectangle of the current layer and save only that portion with pixels.
For example, if the image is empty the cached size will be 0 bytes, and in a 12K image but with a 100 x 100 usable area it will save only that area instead of requiring a 12K buffer.
The size of the buffer is now dynamic and will depends on layer data, as so, this method can reduce the memory usage greatly, specially when using large images with a lot of empty space, but also boosts the overall performance by relief the allocations and the required memory footprint.
Only in few special cases can have drawbacks, however they are very minimal and the performance impact is minimal in that case.
When decompressing, the full resolution image is still created and then the cached area is imported to the corresponding position, composing the final and original image. This is still faster than the old method because decompress a larger buffer is more costly.
In the end both writes/compresses and reads/decompresses are now faster and using less memory.
Note: When printing multiple objects it is recommended to place them close to each other as you can to take better advantage of this new method.
- **Issues Detection:**
- (Fix) When detecting for Islands but not overhangs it will throw an exception about invalid roi
- (Fix) Huge memory leak when detecting resin traps (#830)
- (Improvement) Core: Changed the way "Roi" method is returned and try to dispose all it instances
- (Fix) EncryptedCTB, GOO, SVGX: Huge memory leak when decoding files that caused the program to crash (#830)
- (Fix) UI: Missing theme styles
- (Fix) PrusaSlicer profiles for Creality Halot Mage's: Enable the "Horizontal" mirror under the "Printer" tab to produce the correct orientation when printing (#827)

0 comments on commit 2d542b0

Please sign in to comment.