Adjusted density multiline infill for adaptive cubic, support cubic, lightning patterns (prevent crash) and minor GUI correction. #1982

Closed
opened 2026-04-05 22:05:35 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @RF47 on 10/6/2025

Description

I forgot to adjust the infill density for these patterns when using multiline infill (sorry).
I realized this while watching this video:
https://www.youtube.com/watch?v=2FI39LruBdo&t=3s
I'm correcting it in this pull request to maintain consistency with the behavior of the other patterns.
It is important to ensure that the density multiplied by the number of lines does not exceed 100% to avoid excessive overlap. I have noticed that if the product exceeds 100%, Orca crashes (with lightning infill).
I also added this line in Filllightning:
e5ae18f55a/src/libslic3r/Fill/FillLightning.cpp (L23)
It is used to trim fill lines against perimeter and avoid artifacts when using multiline.
Update: Added GUI corrections , and deleted unnecessary variable by @ianalexis .

Screenshots/Recordings/Graphs

before:
image
image

After:
image
image

Gui correction
Before:
image

After:
image

*Originally created by @RF47 on 10/6/2025* # Description I forgot to adjust the infill density for these patterns when using multiline infill (sorry). I realized this while watching this video: https://www.youtube.com/watch?v=2FI39LruBdo&t=3s I'm correcting it in this pull request to maintain consistency with the behavior of the other patterns. It is important to ensure that the density multiplied by the number of lines does not exceed 100% to avoid excessive overlap. I have noticed that if the product exceeds 100%, Orca crashes (with lightning infill). I also added this line in Filllightning: https://github.com/OrcaSlicer/OrcaSlicer/blob/e5ae18f55ae22c7fd897d2540f2b5e34e9dd55c9/src/libslic3r/Fill/FillLightning.cpp#L23 It is used to trim fill lines against perimeter and avoid artifacts when using multiline. **Update:** Added GUI corrections , and deleted unnecessary variable by @ianalexis . # Screenshots/Recordings/Graphs before: <img width="1169" height="1109" alt="image" src="https://github.com/user-attachments/assets/def15040-33ae-4a0c-abe3-52927c85c407" /> <img width="1332" height="1003" alt="image" src="https://github.com/user-attachments/assets/b4f5297a-d3cc-40d1-896d-288371934f54" /> After: <img width="1190" height="981" alt="image" src="https://github.com/user-attachments/assets/de1ca23d-9b98-4d1e-b655-e62318df2f8c" /> <img width="1387" height="975" alt="image" src="https://github.com/user-attachments/assets/acac9c89-3776-45fd-95dc-ff40f4fd4716" /> Gui correction Before: <img width="432" height="351" alt="image" src="https://github.com/user-attachments/assets/b2c4e02a-ce10-4256-8b1f-09e4a57e18a0" /> After: <img width="418" height="254" alt="image" src="https://github.com/user-attachments/assets/f7c9a761-2b12-4587-8856-674864a38b54" />
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OrcaSlicer#1982