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

Fix tree support fake roof #1983

Merged
merged 3 commits into from
Nov 22, 2023

Conversation

ThomasRahm
Copy link
Contributor

Description

Fixes Tree Support fake roof not working and having no changes in it's pattern with increasing branch density.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Before (fake roof not working):

grafik

After (fake roof working again):

grafik

Project File:
TestOverhang.zip

Test Configuration:

  • Operating System: Windows

Checklist:

  • My code follows the style guidelines of this project as described in UltiMaker Meta
  • I have read the Contribution guide
  • I have commented my code, particularly in hard-to-understand areas
  • I have uploaded any files required to test this change

…. Also added documentation for the custom_line_distance variable of SupportInfillPart
@github-actions github-actions bot added the PR: Community Contribution 👑 Community Contribution PR's label Nov 20, 2023
Co-authored-by: Casper Lamboo <[email protected]>
@casperlamboo
Copy link
Contributor

@ThomasRahm, thanks for the fix looks good/clean! Had one teeny tiny small remark. Any idea why the regression occurred? Why did this only become an issue since the 5.5/5.6 release?

@ThomasRahm
Copy link
Contributor Author

Based on what I could see 7c02094 was the commit where the regression was introduced. I do not know which versions included it.

@casperlamboo
Copy link
Contributor

casperlamboo commented Nov 22, 2023

Just tested the proposed solution, and all seems to work! Going to merge. Have one idea/suggestion though (not to add as part of this PR, but something to think about). One downside of tree support is that it introduces a lot of island, and thereby a lot of retracted (or possibly unretracted) travels which is bad for flow control. I was investigating the layer below the support roof, and I noticed that the edges almost describe the straight line edges from the layer above. Why not connect the edges like I've drawn very crudely in the image below?
Untitled Diagram drawio

if there would be $n$ horizontal edges, and $m$ vertical edges this would reduce the number of travels from (approximately) $n \cdot m$ to (approximately) $n + m$.

@casperlamboo casperlamboo changed the base branch from main to 5.6 November 22, 2023 09:33
@casperlamboo casperlamboo merged commit 5f80ab9 into Ultimaker:5.6 Nov 22, 2023
9 of 10 checks passed
@rburema
Copy link
Member

rburema commented Nov 22, 2023

That commit was in order to deal with fractional layer heights throughout the code (in this case tree-support). It seems I didn't pay enough attention to the differences between the pieces of code I consolidated into 1 there.

(Thanks Casper, doing this ticket saves me some work. We should probably also couple this back to internal ticket CURA-11368.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Community Contribution 👑 Community Contribution PR's
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants