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

First Layer generating in middle of the part #4037

Open
cromine11 opened this issue Jan 2, 2024 · 8 comments
Open

First Layer generating in middle of the part #4037

cromine11 opened this issue Jan 2, 2024 · 8 comments
Labels
bug Something isn't working as intended

Comments

@cromine11
Copy link

cromine11 commented Jan 2, 2024

What happened?

When slicing this part, the bottom infill pattern is generating on a specific area of top infill. The 2 settings that affect it seem to be "external Perimeter extrusion width" (setting the spacing doesn't produce this affect) and "infill/perimeter encroachment"
Screenshot 2024-01-02 193309
Screenshot 2024-01-02 210047

Project file & How to reproduce

front_body_ECAS_coupler.zip
issue will show on the tap Center

How to replicate:
Print Settings -> perimeters & shell -> Quality -> Only one perimeter -> On top surface (enabled)
Print settings -> width & flow -> extrusion width -> external perimeter set 100% (105% does not cause issue and setting spacing to 95% does not cause issue)
Print settings -> width & flow -> overlap -> infill/perimeter encroachment set to 25%

Do one will get you the little bit but doing both will affect more area

EDIT: Did some more testing and it only does it with only one perimeter on top surface enabled

EDIT 2: Another setting that affects it is XY hole compensation. This setting also affects the internal structures within the part. Tap was designed to have internal ribs that generate perimeters in specific spots. I believe this is accomplished by putting thin holes in the part. This might explain why it's generating these bottom infill in the middle of the part. I'll update with pictures later

EDIT 3: The issue seems specific to TAP and how these holes are handled in SS. Vertical hole shrinkage compensation XY compensation set to -0.04 fixes the issue. -0.05 removes ribs and -0.03 starts the bottom layer issue
-0.05
Screenshot 2024-01-05 102846
-0.04
Screenshot 2024-01-05 102919
-0.03
Screenshot 2024-01-05 103650

Version

2.5.59.6

Operating system

windows 11

Printer model

Voron Trident

@supermerill
Copy link
Owner

supermerill commented Jan 5, 2024

You can set your bridge_infill_margin to 0, if you want to limit it.
But yes, a surface that has only one layer and is not in the platter is a bridge and not a top. You have to have 2 layers to have a top.
So you can also split the problematic layers in two with a range layer, so the area can have a bridge and a top. Still, the top quality won't be very precise and the bridge will stick out quite a bit from below.

unless i looked at the wrong place and you speak about something else?

@supermerill supermerill added the working as intended unless you prove me wrong. label Jan 5, 2024
@cromine11 cromine11 changed the title Bottom infill generating on top layer First Layer generating in middle of the part Jan 5, 2024
@cromine11
Copy link
Author

I edited the title to be more accurate. I'm talking about the purple infill in the pictures. My first layer is set to hilbert curve. With certain settings, it generates a first layer in areas where it should be my solid infill (monotonic) or internal bridges.

@cromine11
Copy link
Author

cromine11 commented Jan 8, 2024

I have another instance the bottom layer generating inside a part in another TAP part. The bottom layer should only generate on the first layer right? The only thing I changed was going from 3 to 4 perimeters but its putting the Hilbert curve in the 4th layer.

3 perimeters:
Screenshot 2024-01-08 221809

4 perimeters:
Screenshot 2024-01-08 221835

infill settings:
Screenshot 2024-01-08 221846

EDIT: Also there is some spares infill you can see in the picture that shouldn't be there yet.

@supermerill supermerill removed the working as intended unless you prove me wrong. label Jan 8, 2024
@supermerill
Copy link
Owner

ok understood

@cromine11
Copy link
Author

I'm starting to notice it on more parts like the Galileo front body with ECAS coupling (so not a tap part with special internal ribbing). It seems like it does it when there is an underside on a part, like the top of the hole in the photo, but there is no internal bridge. even over the infill
Screenshot 2024-01-10 000443

Screenshot 2024-01-10 000505

@supermerill supermerill added the bug Something isn't working as intended label Jan 9, 2024
@supermerill
Copy link
Owner

For the last one, it's as expected, imo.
There may be a little gap between the perimeters and the infill, it's useful to put some solid infill behind the perimeter, on top of the notch.
Maybe I can change it from bottom to solid type if the gap is very narrow. But I fear for some unexpected side effects.
To have hilbert only on the platter, you can use a layer height range modifier.

For the bottom in place of the top when the hole shrink and a bottom is detected (because of only one perimeter on top), I think it's safe to say it's a bug and it should stay as top infill.

@cromine11
Copy link
Author

In the last one, the solid infill is not my concern. The lack of an internal bridge is the issue. PrusaSlicer 2.5 also puts solid infill there but it starts with an internal bridge
Screenshot 2024-01-11 222648

To me, its starting to appear like the bottom fill is replacing the internal bridges. The same areas in SS 2.5 I can't fix with by adjusting settings, are the same areas that have internal bridging in PS 2.5
Screenshot 2024-01-11 222442

PS 2.7 does generate internal bridges differently so maybe this could be fixed in that iteration of SS if it can't be fixed now or isn't worth it. If that's the case, I hope this helps with the development at least.

I think the bottom in place of the top infill was just a mix of the same issue exacerbated by other settings because right above that area is 2 more layers.
Screenshot 2024-01-11 224210

I attached the files in the pictures and my SS config.

Problem layers:
Tap_Front_r8: 4, 14
front_body_ECAS_coupler: 75
[a]_Tap_Center_r8 No Stop Mod: 18, 47
test files.zip

@supermerill
Copy link
Owner

I understand.
As the 2.7 modifies a bit the code from here, i'll try to reproduce & fix it on the 2.7, and then move the fix back to 2.5 as early as possible.

@supermerill supermerill added this to the Todo with 2.7 merge milestone Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as intended
Projects
None yet
Development

No branches or pull requests

2 participants