Skip to content

CURA-13349 Fix support on vertical/top faces - #2390

Merged
HellAholic merged 4 commits into
5.14from
CURA-13349_support-on-top-parts
Oct 8, 2026
Merged

HellAholic merged 4 commits into
5.14from
CURA-13349_support-on-top-parts

Conversation

@wawanbreton

Copy link
Copy Markdown
Contributor

When creating the mesh modifier to force the overhang, it does offset around the painted surface. As a result, the support would try to support the enlarged part outside the model. Now we force it to stay inside the model, resulting in the purely vertical or top-facing areas to be erased.

CURA-13349

CURA-13349
When creating the mesh modifier to force the overhang, it does offset around the painted surface. As a result, the support would try to support the enlarged part outside the model. Now we force it to stay inside the model, resulting in the purely vertical or top-facing areas to be ignored
Copilot AI balanced review requested due to automatic review settings September 29, 2026 07:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The focused geometry change correctly addresses the described support-placement issue without introducing unresolved concerns.

Review effort: Balanced
Findings: None

What changed in this PR

Clips forced-overhang regions to model outlines, preventing support generation outside vertical or top-facing surfaces.

Changes:

  • Intersects forced-overhang polygons with the current layer’s model outline.
File Description
src/​support.cpp Constrains forced overhangs to model geometry.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

github-actions Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Test Results

31 tests  ±0   31 ✅ ±0   5s ⏱️ ±0s
 1 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit f3ff6ab. ± Comparison against base commit 36ed3d0.

♻️ This comment has been updated with latest results.

@rburema Remco Burema (rburema) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

The previous fix (intersect the forced support with the outlines) was a step in the right direction, but it didn't completely solve the problem; this fix is a bit more agressive, in that it actually (indirectly) detects wether or not something is vertical. This is because since we now substract the (original, not extended by a value derived from the support angle) outlines below, which should only net us areas where there's _any_ excuse at all for support, and thus exclude completely vertical or 'top' surfaces.

part of CURA-13349
@wawanbreton

Copy link
Copy Markdown
Contributor Author

I cannot officially approve, but I do!

@HellAholic
HellAholic merged commit 2ddf5c3 into 5.14 Oct 8, 2026
35 checks passed
@HellAholic
HellAholic deleted the CURA-13349_support-on-top-parts branch October 8, 2026 13:22
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

Successfully merging this pull request may close these issues.

4 participants