Skip to content
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

[BUG] Slicing hangs when Infill Percentage set very low #5910

Closed
fiveangle opened this issue Jan 27, 2021 · 2 comments
Closed

[BUG] Slicing hangs when Infill Percentage set very low #5910

fiveangle opened this issue Jan 27, 2021 · 2 comments

Comments

@fiveangle
Copy link

Slicing hangs when Infill Percentage set very low

2.3.0+win64
2.3.0+macOS

To reproduce:
-Open the attached project file
-Select latest "0.3mm DRAFT" printing profile
-Select latest "Generic PLA" filament profile
-Select latest "Original Prusa i3 MK3" printer profile
-Change "Infill density:" to "0.0001"
-Click "Slice"
-Observe CPU spike to 100%
-Observe application go non-responsive
-Observe status info bar show "Preparing infill..."
-Observe application hangs in this state indefinitely
-Observe application will not quit from within OS (both Windows 10 and macOS)

TEST_Left_Bracket_inside.zip

bubnikv added a commit that referenced this issue Feb 5, 2021
When passing a PrintRegionConfig to the slicing back end, zero an infill
density if it is already nearly zero. This avoids an ugly division by
zero in the infill code and it also makes clear to the back end that
we don't want an infill.
@bubnikv
Copy link
Collaborator

Fixed with aa4c018

Fix of Slicing hangs when Infill Percentage set very low #5910
When passing a PrintRegionConfig to the slicing back end, zero an infill
density if it is already nearly zero. This avoids an ugly division by
zero in the infill code and it also makes clear to the back end that
we don't want an infill.

Closing this one.

Now I expect that you were using that very low infill density to modify behavior of some other algorithm, to work around some other bug, right? Which one was it?

@fiveangle
Copy link
Author

Now I expect that you were using that very low infill density to modify behavior of some other algorithm, to work around some other bug, right? Which one was it?

Yeah, it was the inability to use the Solid Layer Every XX feature which I filed #5909 against.

I found another user opened a similar issue, but proposed it as an enhancement request, but since solid layers are always 100% infill, a user would never expect setting infill at 0% would affect the feature.

Thanks for circling back on this one Vojtěch ! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants