-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Reduce one top perimeter offset #6086
Conversation
I think I had experimented with this a while ago but I found that the offset was needed at least with my printer to “tuck in” the top solid infill under the walls of the next layer. What has your experience been? Admittedly it was before implementing the independent top and bottom overlap % though. |
Maybe 1x would cover the delta nicely? Need to try the PR with more complex models with circular tops and also some of the Voron parts like the stealth burner cover that didn’t like one wall top surface before… |
Yes, but it still breaks the round model from screenshot round.zip |
How does prusas implementation behave? Maybe we can port that over if it’s better? Edit: as in I think they have rewritten the feature |
I guess they based on my PR of potting from Orca))) Bamboo also works good. |
OK I've done a bit of testing on this and I think it's ok to be a bit inset. By the way I've also seen this aberration with the feature enabled - 0.16LH - 0.25 first layer height, layer 199. Have you ever seen this before? Project file below: |
I'll try to port code from Prusa. |
Here is result of porting Prusa algorithm: Your benchy: As a side effect one top wall is always enabled. I hope it could be fixed))) |
Looks good I think? |
@igiannakas Changes:
Option "One top wall" also works. |
Would you mind pushing the changes to this PR so I can cherry pick it into my Dev branch to test together with all the features I've pushed recently too? BTW this looks excellent! |
It's another branch with other meaning. I think you can create PR to yourself and merge to yours. |
Ah yes indeed! Merged in the dev branch. Running a build now and will test. Doesnt this supersede this PR or am I misunderstanding it? |
Ok tested - it works but it breaks the top/bottom solid infill - wall overlap for surfaces that are not the topmost/bottom most. It only changes overlap based on the infill/wall overlap value for any intermediate top surfaces. |
Could you provide an example project? |
Yes, it's new different code. |
Yeap How its supposed to work (exaggerated for effect) vs
Project file: Overlap.3mf.zip |
I think its because this piece of code is missing:
But without delving deeper in the code I'm not sure where the new top surface polygons are now held |
Yes, I see.
|
Awesome thank you!! I’ll compile it shortly and let you know but the change seems correct so don’t see a reason it wouldn’t work :) |
Tested - looks good! A bit of feedback below:
The below code is not evaluated (replaced with the prusa code)
[...]
There is a question whether this is needed any more as I've noticed that this approach is far less sensitive to errors with text embossed on top surfaces
Notice that the outline is drawn with an internal perimeter but the top surface doesnt segment around it. This will result in a nozzle collision over the letter. Prusa slicer has the exact same problem: Whereas with the old version there were artefacts (tiny holes) but no nozzle collisions. I suspect this is happening due to the difference in shrinking/expanding the polygons between the prusa approach and the old Orca approach. Project file: bbb.3mf.zip
So in summary it's almost perfect, if only we could figure out the segmentation for the lettering issue. Everything else seems to be working better than the current implementation. |
Does threshold value prevent nozzle collision in current version? I could try to use it. |
I think so but I’m not 100% sure |
New PR One top wall fix pr #6236 open. |
Reduce offset of internal perimeters inward for one top perimeter. Current value seems to be too large causing excessive shift and artifacts. Fixes #6000 **One wall on top causes wrong wall generation in Arachne ** and fixes #3313 **Perimeters offset too much for one wall on top surfaces **
Current value:


New value:


Both Arache and Classib are affected.
Obviously this value could be configurable, though it seems this value is good enough.