SoftFever / OrcaSlicer

G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.)
https://discord.gg/P4VE9UY9gJ
GNU Affero General Public License v3.0
6.92k stars 810 forks source link

"Access violation" when slicing a single model with print sequence set to By object #6137

Open ReimuTheMiko opened 3 months ago

ReimuTheMiko commented 3 months ago

Is there an existing issue for this problem?

OrcaSlicer Version

2.1.1

Operating System (OS)

Windows

OS Version

Windows 11 23H2

Additional system information

CPU: Intel Core i9-11900k 8 core Memory: 4 x 16 RAM sticks GPU: MSI RTX 3060 Ventus 3x 12G

Printer

Anycubic Kobra (using a modified profile for the Kobra 2)

How to reproduce

  1. Open a single model (in my case, Warhammer 40k ethereal complete model) in an otherwise empty object
  2. Verify the print sequence is set to "By object" (Others > Special mode > Print sequence)
  3. Enable supports
  4. Click Slice plate

Actual results

image

Expected results

The model should slice with generated supports (like this screenshot but set to By object)

image

Project file & Debug log uploads

debug_Sun_Jul_14_11_57_25_13004.log.zip issue with printer.zip

Checklist of files to include

Anything else?

No response

buzzhuzz commented 2 months ago

Somehow your 3fm file has "extruder=1" set for the model. Not sure why it happens because there are no this setting enabled with in the GUI and extruder be defaut to "0". Screenshot from 2024-07-22 20-15-46

You could try to export model as STL, create the new project and import that STL back.

There are a number of assertions along the source code which could catch this problem, but they are disabled for release (non-debug) buids.

aaronlee2701 commented 1 month ago

I'm facing the same issue too. Any fix yet?