Repository navigation
Delete Face takes the faces an open-gap refusal names - #25775
dudedagger42 wants to merge 5 commits into
Conversation
|
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: truePre-merge checks:
|
…ays so A Delete Face the healer refuses now runs kernel::delete_faces_grown: a blind hole's wall alone also deletes the floor it closes in, and the plate heals. New features (the dialog, face.delete, the Delete key) set `grow`; a feature saved without it reads as off, so an old design's Delete Face in error stays refused, and an edit keeps the stored value. The model keeps the faces each Delete Face added (ModelState::grown_faces). The status line says "Delete Face: also removed 1 face (the face closed in by the pick)" once after OK or Delete, the dialog shows it under its options while previewing, and the preview marks the added faces on the body as it was. selection.delete's reply lists those notes in `warnings`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8fc649f to
b859072
Compare
…_faces walk (tangency-labs#25773) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dialogs_dense.rs: main moved the Delete Face options onto the shared tool definitions; the grown-faces warning now renders after those fields.
…eal shrinks to nothing Where the plain pick is refused and the corner solve leaves a planar neighbour with fewer than three distinct corners in every loop (the rest of a tetra or ramp on a plate, the other wall of a notch), delete_faces_grown adds those neighbours and heals again, up to three rounds. The plain pick still runs first; delete_faces is unchanged. The app names them: "Delete Face: also removed 2 faces (the faces the heal shrank to nothing)". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The open-gap refusal already finds the faces a pick leaves standing with at most one other face to meet (the last side of a wall whose top, ends and other side are picked) and checks the heal with them works, asking the user to select them too. delete_faces_grown now takes them instead, before the corner solve's guess (G2). delete_faces keeps the refusal word for word. The app names them: "Delete Face: also removed 1 face (the face left with nothing to close against)". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
b859072 to
a0151e0
Compare
Stacked on #25774 (open), which is based on main. This PR's change is its last commit.
Refs #16449, #17548.
The open-gap refusal already finds the faces a pick leaves standing with nothing to close against (#23699: the last side of a wall whose top, ends and other side are picked). It checks that the heal works with them added, and it asks the user to "Select them too".
delete_faces_grownnow takes those faces instead. It tries them before #25774's corner-solve guess, because the refusal has already healed with them.delete_faceskeeps its refusal word for word, and the refactor (stranded_faces) gives the same messages. The app names these faces: "(the faces left with nothing to close against)".Test:
the_grown_entry_takes_the_wall_side_left_standing, in crates/kernel/src/delete_face.rs. The i18n test covers the new wording.Repro with the rule switched off (445bf6e): fails. The test gets
([9], Some(Emptied))instead of the named side as Stranded.Tested on this PR's head commit, on the build server:
delete_face: 66 passeddelete_face_grown_note delete_face_dialog_marks: 2 passedChanges a default: no — a Delete Face pick refused today with "Select them too" now also deletes the faces that refusal names; delete_faces is unchanged
🤖 Generated with Claude Code