Repository navigation
Add intersection magnets for mounting the plate on metal surfaces - #69
Merged
Merged
Conversation
Glue-in magnet pockets on the underside of the plate at cell intersections. Placement reuses the vertical screw intersection classification (plate corners, segment corners, other); edge intersections are excluded since they lie on the plate edge or a connector. The pocket size is checked against the material available at the intersection. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A floor below the pocket keeps the magnets in the plate. The magnets can be embedded with a print pause, or, if the pocket height exceeds the plate height, inserted from the top through a hole. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keeps the bin magnets and click latch next to each other, and puts the niche bottom magnets option with the other plate mounting options. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Plate corners are classified before segment edges, so a plate corner on a segment edge (e.g. with one-column segments) got a pocket that cut through the intersection puzzle connector. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
🚀 Preview deployed to https://c7efea7e.gridflock-yawk-at.pages.dev |
Instead of a separate section with duplicated location settings, the vertical screw section (now labelled "Intersection Holes") gets a vertical_screw_style option to switch between screw holes and magnet pockets. Parameter names stay the same, so existing configs keep working. Edge locations are ignored for magnets. Also adds vertical_screw_magnet_release_diameter, a small hole through the plate at each magnet pocket for pushing the magnet out with a needle. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drop the classification refactor and the special segment edge exclusion. Magnets now follow exactly the same location rules as screws, including edges if the user enables them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drop the pocket fit assert, the hollow mode assert and editor warning, and the open-top special case (a pocket taller than the plate simply cuts through the top). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #68.
Adds magnet pockets on the underside of the plate at cell intersections, so the plate can be held in place on a metal surface such as a steel drawer. This is independent of the existing bin magnets.
Design
Magnets reuse the vertical screw machinery. A new
vertical_screw_styleoption switches the intersection holes between Screw (the default, unchanged) and Magnet. The location toggles and insets are shared. The editor tab is relabelled "Intersection Holes", and the README chapter is renamed to match, with anchors kept for#vertical-screwsand#screw-locations. Parameter names are unchanged, so existing configs keep working.New options (magnet style)
vertical_screw_magnet_diameter/vertical_screw_magnet_height: pocket size. Defaults to 6.1 × 2.1 mm, for 6×2 magnets.vertical_screw_magnet_floor: floor below the pocket.0: open at the bottom. Glue or press-fit the magnets from below.> 0: enclosed pocket. Insert the magnets during a print pause.> 0withfloor + heightabove the plate height (e.g. height10): the pocket runs through the plate and the magnets go in from the top after printing. The hole cuts slightly into the corners of the bin profile.vertical_screw_magnet_release_diameter(default 1.5,0disables): a small through-hole at each pocket for pushing the magnet out with a needle. At 1.5 mm it fits inside the material at the top of the intersection without touching the bin profile.Magnets follow exactly the same location rules as screws, including the edge locations if the user enables them. The
segmentmodule is untouched: onlyvertical_screw()switches on the style.Implementation notes
Docs
editor.toml: the style option, the magnet parameters with display conditions.vertical_screw_styleis also added toumami-track-export; drop that if you don't want it tracked.🤖 Generated with Claude Code