supermerill / SuperSlicer

G-code generator for 3D printers (Prusa, Voron, Creality, etc.)
4.1k stars 519 forks source link

Access (status) violation when slicing a box that is .2mm cubed #4207

Open funtimeerror opened 5 months ago

funtimeerror commented 5 months ago

What happened?

What is the issue? I was attempting to slice a 200mm x 200mm x .2mm box for bed level validation, but forgot to uncheck the lock on the scaling factor. As such it tried to make a .2mm x .2mm x .2mm box when sliced and caused an access violation. Any further slicing (even after fixing the dimensions) results in an error until the program is restarted.

I wouldnt expect this object to be printable obviously, just the slicer not to freak out and maybe show a friendly error.

Project file & How to reproduce

Reproduction steps: 1) open superslicer 2) right-click , add shape, box 3) set dimensions to .2mm (leaving scale locked) 4) attempt to slice 5) receive access violation

This is the box that fails to slice (i dont expect it to be printable, but maybe some error handling around being to small??) Shape-Box.zip

This is the error that pops up, i was unable to find a crash_log.txt file to include accessViolation

Version

2.4.58.5

Operating system

windows 11 23H2

Printer model

RatRig vcore 3.1 300mm