feat: allow 10 mm ultra-thin picture frames #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/ultra-thin-10mm"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.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.
picture-frame back bar.
tooNarrow, so the existingpress-fit fallback is used instead of an oversized corner clip.
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.
Usage
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
.3mfdownloads successfully; the file contains the fourframe pieces, four clips and eight prongs. The existing connector fit check
accepted the clip at this profile; if it rejects a profile, the new
tooNarrowguard drops the clip and falls back to press-fit.node --checkpasses for all patched chunks.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.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.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.