Commit Graph

8 Commits

Author SHA1 Message Date
Tiago Conceição cec202d02a Fix potential bug on empty layers 2023-01-01 17:48:57 +00:00
Tiago Conceição 8bcc4a5a9a Use -1 2023-01-01 17:43:18 +00:00
Tiago Conceição 25db48e56e Use string.Empty constant instead of "" 2023-01-01 16:49:51 +00:00
aspadm 11414bad7d Anet N4: fix printer crash
Machine with FW v1.65 crashes and reboots for files with non-empty
description. Same for official slicer, so it looks like a FW bug.
2023-01-01 15:59:07 +03:00
aspadm 2625a33d07 Anet N4: fix regression
In original format both name and description could be an empty string
with length -1.
Bounding rectangle should be an index of first/last white pixels.
2023-01-01 04:55:09 +03:00
Tiago Conceição 1f9973df84 Fix partial save file corruption 2022-12-31 19:38:41 +00:00
Tiago Conceição 6dc2394c30 Refactorings 2022-12-31 19:21:33 +00:00
aspadm 26e4810d6e FileFormats: Add Anet N4 support
Anet N4 is LCD printer similar to Anycubic Photon (same display parameters).
The printer uses modified B9Creator job file (.b9j) with added preview image
and print parameters.
However, most of options are use integers, so it is impossible to set fractions
of second for exposure.
Format does not support anti-aliasing and curing/light offset delay.
2022-12-31 03:32:23 +03:00