Closed bljfour closed 2 years ago
That's strange. Can you attach the test file here?
I'm getting diferent error. Which settings you used inside the tool? BTW: Anycubic machines are not compatible with multiple exposures
I didn’t change any settings in the tool—just loaded the test file, opened up the exposure finder and clicked the button to generate. I was just trying to create a default exposure test before changing settings to generate others.
Besides the Photon Ultra, I have a Photon Mono X and so I was just following my previous workflow of creating 5 or so different exposure tests to print and see which settings work best with the resin I have.
On Wed, Mar 9, 2022 at 9:02 PM Tiago Conceição @.***> wrote:
I'm getting diferent error. Which settings you used inside the tool? BTW: Anycubic machines are not compatible with multiple exposures
— Reply to this email directly, view it on GitHub https://github.com/sn4k3/UVtools/issues/426#issuecomment-1063667327, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA3MEE5XPUTNXR6ABRDOD5LU7F645ANCNFSM5QLLJEOA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
I found the problem... The stock test is taller than your printer resolution, and when it try to fit or move it triggers the error. If you remove the Bulleye to make it short it will work fine. That printer is really small :( You will have to adjust properties to optimize the size of it
Thanks for finding the problem and responding so quickly! And yes, the print area is tiny!
And I also see no errors now when I remove the bullseye
If you set Top/bottom margin to 0mm you will be able to fit the whole test
I have this check but i forget to add the margin to it, will fix on next patch
if (layers[0].Width > SlicerFile.ResolutionX || layers[0].Height > SlicerFile.ResolutionY)
{
return false;
}
New patch will produce a better error message:
if (layers[0].Width+sideMarginPx > SlicerFile.ResolutionX || layers[0].Height+topBottomMarginPx > SlicerFile.ResolutionY)
{
throw new InvalidOperationException("The used configuration can not produce a test due insufficient space.\n" +
"Try to adjust sides and/or top/bottom margins to gain space or object features to shorten the test size.");
//return false;
}
System
Describe the bug
An exception is thrown when trying to generate an exposure test for the Anycubic Photon Ultra.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expected to have a file generated, instead I get this exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array. at UVtools.Core.LayerManager.GetBoundingRectangle(OperationProgress progress) at UVtools.Core.LayerManager.get_BoundingRectangle() in D:\Tiago\Dropbox\Programming\C#\UVtools\UVtools.Core\Layers\LayerManager.cs:line 178 at UVtools.Core.FileFormats.FileFormat.get_BoundingRectangle() in D:\Tiago\Dropbox\Programming\C#\UVtools\UVtools.Core\FileFormats\FileFormat.cs:line 1112 at UVtools.Core.Operations.Operation..ctor(FileFormat slicerFile) in D:\Tiago\Dropbox\Programming\C#\UVtools\UVtools.Core\Operations\Operation.cs:line 300 at UVtools.Core.Operations.OperationCalibrateExposureFinder.ExecuteInternally(OperationProgress progress) in D:\Tiago\Dropbox\Programming\C#\UVtools\UVtools.Core\Operations\OperationCalibrateExposureFinder.cs:line 2250 at UVtools.Core.Operations.Operation.Execute(OperationProgress progress) in D:\Tiago\Dropbox\Programming\C#\UVtools\UVtools.Core\Operations\Operation.cs:line 549 at UVtools.WPF.MainWindow.<>c__DisplayClass116_0.b__0() in D:\Tiago\Dropbox\Programming\C#\UVtools\UVtools.WPF\MainWindow.axaml.cs:line 2364