prusa3d / PrusaSlicer

G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
https://www.prusa3d.com/prusaslicer/
GNU Affero General Public License v3.0
7.74k stars 1.93k forks source link

Access Violation slicing - BLOKHEAD.hf.3.30.21 #8514

Closed leopinnheiro closed 2 years ago

leopinnheiro commented 2 years ago

Description of the bug

I get an access violation exception when slicing the model {} I downloaded the file from BLOKHEAD.hf.3.30.21.stl Imported to [Prusa Slicer 2.5.0-alpha3+win64] When I try to slicing I get access violation.

BLOKHEAD.hf.3.30.21.zip

If I change the z position of the model to 6, I can slice image

Project file & How to reproduce

  1. Open Attached BLOKHEAD.hf.3.30.21.3mf
  2. Attempt to Slice
  3. Observe Exception

BLOKHEAD.hf.3.30.21.zip

Checklist of files included above

Version of PrusaSlicer

2.5.0-alpha3

Operating system

Windows 11

Printer model

Ender 3 V2

VegetableJoe commented 2 years ago

In my case, I reached same result for your setup (BLOKHEAD.hf.3.30.21.3mf). Set perimetr generator to Classic instead of Arachne (Print Settings/Layers and perimetres / Advanced / Perimetr generator). Then It works in my case.

leopinnheiro commented 2 years ago

It works like magic, thanks a lot.

lukasmatena commented 2 years ago

The solution described by @VegetableJoe just walks around the issue. We don't want Arachne to crash. Reopening.

hejllukas commented 2 years ago

Thank you for reporting this issue. It helped us discover a weird issue of the Voronoi diagram generator library. With commit https://github.com/prusa3d/PrusaSlicer/commit/63c66f4f189b6f3d3a3b95ddd158c66ee5166420, we introduced the workaround for those types of issues. So in master_250, it is fixed, and this fix will be part of the next alpha or beta.