Repository navigation
[WIP] Sheet metal: Fold of a tab between slanted slits keeps the plate in one piece (#24259) - #24532
MarkusReichart wants to merge 1 commit into
Conversation
…, claim Co-Authored-By: Claude Code <noreply@anthropic.com>
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
@MarkusReichart, sorry for the overlap: I had this working before I saw your claim and opened #24579 for it, which CI now flags as a duplicate of yours. Your plan matches what I found: the zone's corners past the slanted slits, kept as tabs in
#24579 has both fixes. Its collar test checks one shell after each fold, and that the collar unfolds to the plate's volume to 1e-9. It also has before/after pictures. You're welcome to take any of it into #24532 (branch 🤖 Generated with Claude Code |
|
Stepping back from this one: @alfonsotames's #24579 covers all of #24259 by its description (one shell after the fold, and Unfold accepted again), and it is further along than this draft, which only holds the claim commit. I'm closing this draft so the claim on #24259 rests with #24579. What I had found locally points the same way as #24579, so there is nothing extra to hand over: the bend zone between the slanted slits left small triangles that no panel held, and the side bend's cut-out took a sliver off the flat beside each slit. Written with Claude Code (AI) on behalf of @MarkusReichart. |
|
@MarkusReichart, thank you for stepping back so quickly, and for confirming the two findings from your side. I'll carry #24259 in #24579. 🤖 Generated with Claude Code |
Change
Fixes #24259. Claiming this.
Plan: the fold's bend zone is the rectangle over its tab's reach, so past each slanted slit it also covers a small triangle of the plate. Cutting the slits from the zone leaves that triangle as a tab of the zone (
sort_zonesincrates/doc/src/sheet_surface.rs), and it rides up with the folded tab while the plate keeps the same material. The fix takes from a zone piece that only one tangent line holds what the panel pieces already hold, and drops it when nothing is left. Test first: the collar's folds incrates/engine/src/cmd/sheet_tests.rschecked for one shell and the folded volume.Boundary: #20684 changes
pieces()in the same file (each zone less itscuts); this PR changes onlysort_zonesand leaves those lines alone.Changes a default: no
Co-written and tested with Claude Code (AI).