PrusaSlicer icon indicating copy to clipboard operation
PrusaSlicer copied to clipboard

Organic Supports - Divide By Zero

Open jcooperCUSD opened this issue 2 years ago • 1 comments

Description of the bug

Selected Print Settings -> Style -> Organic and clicked 'Slice now'

PrusaSlicer has encountered a fatal error: "Divide by zero" Please save your project and restart PrusaSlicer. We would be glad if you reported the issue

Project file & How to reproduce

finger_Splinter_left-organic.zip image

Checklist of files included above

  • [X] Project file
  • [X] Screenshot

Version of PrusaSlicer

Version 2.6.0-alpha2+win64

Operating system

Microsoft Windows 10 Enterprise 10.0.19044 N/A Build 19044

Printer model

Ender 5 Pro

jcooperCUSD avatar Feb 03 '23 16:02 jcooperCUSD

I also noticed this Divide by Zero issue with Organic Supports, specifically when I changed the "Overhang Threshold" value to 89 or 90.

dougemon avatar Feb 03 '23 17:02 dougemon

i noticed this occur when a try my profiles, if a switch to any system profile this error not appear

Zannys avatar Feb 03 '23 22:02 Zannys

  • For Win, it shows this Error
  • For Linux, it crashes immediately
  • For MAC slices without problems

kubispe1 avatar Feb 06 '23 08:02 kubispe1

Should be fixed in 2.6.0-alpha4. Let us know if problems persist.

lukasmatena avatar Feb 18 '23 10:02 lukasmatena

Should be fixed in 2.6.0-alpha4. Let us know if problems persist.

i just tested and same error persist, when i use my profile with organic suporte "PrusaSlicer has encountered a fatal error: "Divide by zero""

Zannys avatar Feb 18 '23 18:02 Zannys

@Zannys can you provide us with your problematic .3mf?

kubispe1 avatar Feb 20 '23 09:02 kubispe1

@kubispe1 this only happens when I use my profiles imported from 2.5, if I use standard profiles, organic supports works great. The file with problems can be found here.

Zannys avatar Feb 21 '23 15:02 Zannys

I also encountered divide by zero. it happened when I increased the overhang threshold to 90 degrees. Settings:

  • Version 2.6.0-alpha4+win64
  • Windows 11
  • organic support
  • support on build plate only
  • don't support bridges

mikaeltulldahl avatar Feb 28 '23 22:02 mikaeltulldahl

We have detected some cases/parameters where divide by zero appears, but this specific issue should be fixed. Also, a threshold of 90 degrees should be solved. I am closing this issue.

kubispe1 avatar Apr 13 '23 06:04 kubispe1