-
-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NullPointerException with MangOS printer Lychee file #474
Comments
It may due lychee is using other names for keys or not dump the information at all since cws does not require that information which is crucial to UVtools. |
Here's the file generated. |
There's a bug on sanitize function which not cover this situation on partial mode. Still i can't open your file on normal mode, with a different error... I will have a look. Regarding not having layer height and others is because lychee use another key for the name. |
2048x2048 is the default values of the MangOS printer, it shows up as a square, but I suspect Lychee uses that as a "custom" profile for any unlisted printer, as it's the only one that lets you freely change several parameters that are locked for typical printers. I've changed the parameters of the profile I'm using to use the same screen size as a Nova Whale2 printer, which is 3840x2400, 192mm x 120mm, but it doesn't look like it's being correctly exported by Lychee. - https://www.mediafire.com/file/ugk9rmbxaq18kd3/MangosProfile-Whale2.lyp/file |
- **Core:** - (Add) Getter `FileFormat.DisplayPixelCount` Gets the display total number of pixels (ResolutionX * ResolutionY) - (Add) Getter `Layer.NonZeroPixelRatio` Gets the ratio between non zero pixels and display number of pixels - (Add) Getter `Layer.NonZeroPixelPercentage` Gets the percentage of non zero pixels relative to the display number of pixels - (Add) Getter `Layer.PreviousHeightLayer()` Gets the previous layer with a different height from the current, returns null if no previous layer - (Add) Getter `Layer.NextHeightLayer()` Gets the next layer with a different height from the current, returns null if no next layer - (Add) Method `Layer.GetPreviousLayerWithAtLeastPixelCountOf()` Gets the previous layer matching at least a number of pixels, returns null if no previous layer - (Add) Method `Layer.GetNextLayerWithAtLeastPixelCountOf()` Gets the next layer matching at least a number of pixels, returns null if no next layer - (Add) Method `Operation.GetRoiOrVolumeBounds()` returns the selected ROI rectangle or model volume bounds rectangle - (Add) Documentation around `Operation` methods - (Fix) Open files in partial mode when the resolution is not defined would cause a `NullPointerException` (#474) - **Suggestion: Wait time before cure** - (Add) Proportional maximum time change: Sets the maximum allowed time difference relative to the previous layer (#471) - (Add) Proportional mass get modes: Previous, Average and Maximum relative to a defined height (#471) - (Change) Proportional set type sets fallback time to the first layer - (Fix) Proportional set type was taking current layer mass instead of looking to the previous cured layer (#471) - **Tools:** - **Edit print parameters:** - (Change) Incorporate the unit label into the numeric input box - (Change) Allow TSMC speeds to be 0 as minimum value (#472) - (Fix) PCB Exposure: The thumbnail has random noise around the image - **Settings:** - (Add) Tools: "Always prompt for confirmation before execute the operation" - (Fix) Changing layer compression method when no file is loaded would cause a error - **UI:** - (Add) Holding Shift key while drag and drop a .uvtop file will try to execute the operation without showing the window or prompt - (Add) Drag and drop a .cs or .csx file into UVtools will load and show the scripting dialog with the file selected - (Add) Errors that crash application will now show an report window with the crash information and able to fast report them - (Add) "Version" key and value on registry to tell the current installed version (Windows MSI only) - (Upgrade) AvaloniaUI from 0.10.13 to 0.10.14 - (Upgrade) .NET from 6.0.4 to 6.0.5
OS: Windows 10 64-bit
Slicer: Lychee 3.7.1
Printer: MangOS printer profile
UVtools version: 3.3.2 X64
Steps to replicate:
Doing that, the following error occurs:
The error does NOT occur if you open the file normally. However, it asks for Layer height, Display width and Display height once you load the file, even if you have set up all values properly in Lychee.
I am not entirely sure whether this is a problem with how Lychee saves the .cws file or with UVTools, since files generated with the Nova printer profiles have no such problem. I've reported this on Lychee's Discord as well.
The text was updated successfully, but these errors were encountered: