[FEATURE REQUEST] Add PioCreat (Creality) Halot X1
Is your feature request related to a problem?
Currently opening the file results in some OutOfRangeExceptions.
Describe the solution you'd like
I'd like to see this printer added.
I am attaching a sliced file.
Files
File should be compatible, but have extra bytes on it. Which slicer have produced that? Have you tried on a different slicer?
That came from Halot Box, I do have an alpha of chitubox that has the printer.
On Sun, Apr 13, 2025, 3:05 PM Tiago Conceição @.***> wrote:
File should be compatible, but have extra bytes on it. Which slicer have produced that? Have you tried on a different slicer?
— Reply to this email directly, view it on GitHub https://github.com/sn4k3/UVtools/issues/1016#issuecomment-2800080467, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABY4LWNHP2HQSW5WMFZAF6T2ZKYRDAVCNFSM6AAAAAB3BMF6EKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMBQGA4DANBWG4 . You are receiving this because you authored the thread.Message ID: @.***> sn4k3 left a comment (sn4k3/UVtools#1016) https://github.com/sn4k3/UVtools/issues/1016#issuecomment-2800080467
File should be compatible, but have extra bytes on it. Which slicer have produced that? Have you tried on a different slicer?
— Reply to this email directly, view it on GitHub https://github.com/sn4k3/UVtools/issues/1016#issuecomment-2800080467, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABY4LWNHP2HQSW5WMFZAF6T2ZKYRDAVCNFSM6AAAAAB3BMF6EKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMBQGA4DANBWG4 . You are receiving this because you authored the thread.Message ID: @.***>
V3_Cones_v28_DISCORD_BETA.stl_0.050_1.5s_2025_04_13_18_47_00.cxdlpv4.zip
here is the same model, sliced with the chitubox beta, with the same/correct printer selected.
(1) System.ArgumentOutOfRangeException: The maximum size allowed for this Mat with an offset of 94188020 is 9580. (Parameter 'length')
Actual value was 16319.
at UVtools.Core.Extensions.EmguExtensions.GetDataSpan[T](Mat mat, Int32 length, Int32 offset) in UVtools.Core\Extensions\EmguExtensions.cs:line 284
at UVtools.Core.FileFormats.CrealityCXDLPv4File.LayerDefEx.Decode(CrealityCXDLPv4File parent, LayerDef layerDef, UInt32 layerIndex) in UVtools.Core\FileFormats\CrealityCXDLPv4File.cs:line 539
at UVtools.Core.FileFormats.CrealityCXDLPv4File.<>c__DisplayClass169_0.<DecodeInternally>b__1(Int32 layerIndex) in UVtools.Core\FileFormats\CrealityCXDLPv4File.cs:line 1313
at System.Threading.Tasks.Parallel.<>c__DisplayClass31_0`2.<ForEachWorker>b__0(Int32 i)
at System.Threading.Tasks.Parallel.<>c__DisplayClass19_0`2.<ForWorker>b__1(RangeWorker& currentWorker, Int64 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Parallel.<>c__DisplayClass19_0`2.<ForWorker>b__1(RangeWorker& currentWorker, Int64 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
at System.Threading.Tasks.TaskReplicator.Replica.Execute()
---------------
(2) System.ArgumentOutOfRangeException: The maximum size allowed for this Mat with an offset of 94194413 is 3187. (Parameter 'length')
Actual value was 16144.
at UVtools.Core.Extensions.EmguExtensions.GetDataSpan[T](Mat mat, Int32 length, Int32 offset) in UVtools.Core\Extensions\EmguExtensions.cs:line 284
at UVtools.Core.FileFormats.CrealityCXDLPv4File.LayerDefEx.Decode(CrealityCXDLPv4File parent, LayerDef layerDef, UInt32 layerIndex) in UVtools.Core\FileFormats\CrealityCXDLPv4File.cs:line 539
at UVtools.Core.FileFormats.CrealityCXDLPv4File.<>c__DisplayClass169_0.<DecodeInternally>b__1(Int32 layerIndex) in UVtools.Core\FileFormats\CrealityCXDLPv4File.cs:line 1313
at System.Threading.Tasks.Parallel.<>c__DisplayClass31_0`2.<ForEachWorker>b__0(Int32 i)
at System.Threading.Tasks.Parallel.<>c__DisplayClass19_0`2.<ForWorker>b__1(RangeWorker& currentWorker, Int64 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Parallel.<>c__DisplayClass19_0`2.<ForWorker>b__1(RangeWorker& currentWorker, Int64 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
at System.Threading.Tasks.TaskReplicator.Replica.Execute()
The problem comes from Decoding RLE. Bits look correct but something changed. Can you try to replicate the printer in prusaslicer, use UVtools to produce the file and send to printer to check if it will print?