feat: allow 10 mm ultra-thin picture frames #6

Open
aleksei wants to merge 3 commits from feat/ultra-thin-10mm into main
Owner

Summary

Allows the picture-frame face/bar width to go down to 10 mm.

The current limit was 17 mm for the Thin preset. The main blockers were the
fixed keyhole minimum (13 mm back face) and the corner-clip minimum
(12.72 mm back bar). This change makes the UI and the full-screen editor use the
existing small-punch and connector-feasibility limits, so a 10 mm face is
reachable.

Changes

  • picture_frame.defaults.W.min: 13 → 10.
  • picture_frame.defaults.rabbetW.min: 4 → 2.
  • Picture-frame width/rabbet constraints now use
    NAIL_PUNCH_MIN_BACK_FACE_MM (7.3 mm) instead of the fixed keyhole limit
    (13 mm). The fixed keyhole is still used when the back face is at least 13 mm;
    below that the existing small parametric punch is used.
  • The full-screen profile editor solver uses the same 7.3 mm limit for the
    picture-frame back bar.
  • The ring connector is dropped when it is flagged tooNarrow, so the existing
    press-fit fallback is used instead of an oversized corner clip.
  • The ring-clip minimum half-length is lowered from 6.5 to 3.4 mm, so a thin
    back bar gets a scaled-down corner clip and matching socket cuts instead of
    falling through the no-connector path. This is what restores the corner holes
    at 10 mm.
  • The Thin preset now uses a 2 mm rabbet, so Width = 10 mm is a direct path.
  • The Thin tile tooltip now explains how to reach the ultra-thin mode.

Usage

  1. Open Edge Profile.
  2. Pick Thin.
  3. Set Rabbet to 2 mm.
  4. Lower Width to 10 mm.
  5. Generate.

The resulting geometry is 10 mm face width with 17 mm height. A 10 × 10 mm
section is not possible with the current prong/art-stack design.

Validation

  • UI sliders: after Rabbet = 2, Width minimum becomes 10 and accepts 10.
  • Generation: 16/16 parts at 10 mm / 17 mm / lip 2 / rabbet 2.
  • Download: Snap Kit .3mf downloads successfully; the file contains the four
    frame pieces, four clips and eight prongs. The existing connector fit check
    accepted the clip at this profile; if it rejects a profile, the new
    tooNarrow guard drops the clip and falls back to press-fit.
  • node --check passes for all patched chunks.
  • No external requests or paywall regressions in the local test.

Prongs

The eight artwork prongs are intentionally unchanged. Their size is driven by
the art stack (4.5 mm) and the interior face, not by the outer face width. At
10 mm / 2 mm rabbet the prong pocket is roughly 6.25 mm deep, leaving about
3.75 mm of back wall; the prong itself has a 4 mm embed and is 5 mm wide along
the bar. The generated 10 mm Snap Kit contains the eight prongs and their
pockets. A physical print test of the prong grip and the remaining back wall is
still recommended; proportional prong scaling would change the grip geometry
and is not part of this change.

Notes

This is still a patched prebuilt bundle; no original source is available. The
10 mm mode is a geometry/UX change, not a guarantee that every 10 mm profile
prints well. The corner clip is now scaled down; a physical print test of the
10 mm / 2 mm-rabbet frame, clip fit, prong pocket and corner strength is
recommended.

If you already generated a 10 mm frame from the previous revision, restart the
local server, hard-reload the page and generate again — the old bundle had no
scaled clip, so its bars could be missing the corner sockets.

The research PR (#5) is separate and remains open.

## Summary Allows the picture-frame face/bar width to go down to **10 mm**. The current limit was 17 mm for the Thin preset. The main blockers were the fixed keyhole minimum (13 mm back face) and the corner-clip minimum (12.72 mm back bar). This change makes the UI and the full-screen editor use the existing small-punch and connector-feasibility limits, so a 10 mm face is reachable. ## Changes - `picture_frame.defaults.W.min`: `13 → 10`. - `picture_frame.defaults.rabbetW.min`: `4 → 2`. - Picture-frame width/rabbet constraints now use `NAIL_PUNCH_MIN_BACK_FACE_MM` (7.3 mm) instead of the fixed keyhole limit (13 mm). The fixed keyhole is still used when the back face is at least 13 mm; below that the existing small parametric punch is used. - The full-screen profile editor solver uses the same 7.3 mm limit for the picture-frame back bar. - The ring connector is dropped when it is flagged `tooNarrow`, so the existing press-fit fallback is used instead of an oversized corner clip. - The ring-clip minimum half-length is lowered from 6.5 to 3.4 mm, so a thin back bar gets a scaled-down corner clip and matching socket cuts instead of falling through the no-connector path. This is what restores the corner holes at 10 mm. - The Thin preset now uses a 2 mm rabbet, so Width = 10 mm is a direct path. - The Thin tile tooltip now explains how to reach the ultra-thin mode. ## Usage 1. Open **Edge Profile**. 2. Pick **Thin**. 3. Set **Rabbet** to 2 mm. 4. Lower **Width** to 10 mm. 5. Generate. The resulting geometry is 10 mm face width with 17 mm height. A 10 × 10 mm section is not possible with the current prong/art-stack design. ## Validation - UI sliders: after Rabbet = 2, Width minimum becomes 10 and accepts 10. - Generation: 16/16 parts at 10 mm / 17 mm / lip 2 / rabbet 2. - Download: Snap Kit `.3mf` downloads successfully; the file contains the four frame pieces, four clips and eight prongs. The existing connector fit check accepted the clip at this profile; if it rejects a profile, the new `tooNarrow` guard drops the clip and falls back to press-fit. - `node --check` passes for all patched chunks. - No external requests or paywall regressions in the local test. ## Prongs The eight artwork prongs are intentionally unchanged. Their size is driven by the art stack (4.5 mm) and the interior face, not by the outer face width. At 10 mm / 2 mm rabbet the prong pocket is roughly 6.25 mm deep, leaving about 3.75 mm of back wall; the prong itself has a 4 mm embed and is 5 mm wide along the bar. The generated 10 mm Snap Kit contains the eight prongs and their pockets. A physical print test of the prong grip and the remaining back wall is still recommended; proportional prong scaling would change the grip geometry and is not part of this change. ## Notes This is still a patched prebuilt bundle; no original source is available. The 10 mm mode is a geometry/UX change, not a guarantee that every 10 mm profile prints well. The corner clip is now scaled down; a physical print test of the 10 mm / 2 mm-rabbet frame, clip fit, prong pocket and corner strength is recommended. If you already generated a 10 mm frame from the previous revision, restart the local server, hard-reload the page and generate again — the old bundle had no scaled clip, so its bars could be missing the corner sockets. The research PR (#5) is separate and remains open.
Lower the picture-frame face width minimum to 10 mm and the rabbet minimum to 2 mm. Use the small parametric punch limit (7.3 mm) instead of the fixed keyhole limit for the width/rabbet constraints, update the full-screen editor solver, and skip the ring connector when it is flagged too narrow so thin profiles fall back to press-fit.
Lower the ring-clip minimum half-length so thin back bars get a scaled-down corner clip and matching sockets instead of falling through the no-connector path. Make the Thin preset use a 2 mm rabbet so Width = 10 mm is a direct path, and update the tile hint.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/ultra-thin-10mm:feat/ultra-thin-10mm
git switch feat/ultra-thin-10mm

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff feat/ultra-thin-10mm
git switch feat/ultra-thin-10mm
git rebase main
git switch main
git merge --ff-only feat/ultra-thin-10mm
git switch feat/ultra-thin-10mm
git rebase main
git switch main
git merge --no-ff feat/ultra-thin-10mm
git switch main
git merge --squash feat/ultra-thin-10mm
git switch main
git merge --ff-only feat/ultra-thin-10mm
git switch main
git merge feat/ultra-thin-10mm
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
zoo/frame-crack!6
No description provided.