diff README.md @ 2:fe29ace8155e

added magnet attachment option
author ark
date 2026-11-03 10:08 +0100
parents aa23650954d6
children f5ff6f1a5454
line wrap: on
line diff
--- a/README.md	Tue Nov 03 02:12:35 2026 +0100
+++ b/README.md	Tue Nov 03 10:08:08 2026 +0100
@@ -1,8 +1,9 @@
 # House number
 
-3D-printed house numbers, or any other text, to screw to a wall. Each glyph
+3D-printed house numbers, or any other text, to fix to a wall. Each glyph
 is a separate flat piece with two countersunk screw holes. Distance washers
-behind the holes keep it off the wall and take up unevenness. The glyphs
+behind the holes keep it off the wall and take up unevenness. Instead of
+screws, magnets pressed into the washers can hold the glyph. The glyphs
 print face down. A two-colour look with an outline band is possible on a
 single-colour printer by changing filament once.
 
@@ -101,6 +102,9 @@
 4. Where no point has room for the head, the hole goes to the thickest
    point of that half, and the script warns.
 
+For magnets, pass the magnet diameter as `--head-d`, so the holes go where
+the magnet plus the wall fits.
+
 The check images show the glyph in grey, the area with room for the head in
 green, the axis in blue and the holes in red, orange where the head does not
 fit.
@@ -132,7 +136,8 @@
 - `body`: the glyph in print orientation, face on the bed. In single-colour
   mode this is the whole print.
 - `decal`: the outline band of the two-colour print.
-- `washer`: one distance washer. Make copies in the slicer.
+- `washer`: one distance washer. Make copies in the slicer. With magnets,
+  print one first to test the fit.
 - `template`: the drilling template, 2D.
 
 ### Layout and size
@@ -157,17 +162,40 @@
 opens towards the bed. With thin glyphs it is deeper than the glyph: at the
 defaults 2 mm against 1.2 mm. The washer then continues the cone.
 
+`fit_wall_lines` (2) is the material required around the screw head, or
+around the magnet, in line widths. Where a hole position from
+`glyphs.scad` has less room at the print size, the console shows a warning.
+
+### Magnets
+
+With `attachment` set to `magnet`, the glyph has no holes. Each washer
+holds a magnet in a pocket at its wall end instead.
+
+`magnet_d` and `magnet_h` set the pocket diameter and depth in steps of
+0.05 mm. They are used as given, without `clearance`, so the press fit can
+be tuned directly. Print a single washer to test the fit before printing
+the glyphs. An open pocket of the magnet's height leaves the magnet flush
+with the washer end.
+
+`seal_magnets` closes each pocket with two layers. The pocket depth is
+rounded up to whole layers, with a warning. The console gives the height
+and layer number after which to pause the print. Insert the magnets in the
+pause, then let the print finish over them.
+
 ### Washers
 
 The washer wall is `washer_wall_lines` line widths around the hole, 8 by
-default. `washer_height` defaults to 10 mm. It is raised, with a warning,
-to the part of the countersink inside the washer plus 4 layers. The washer
-prints with the glyph side up.
+default, around the screw hole or the magnet pocket. `washer_height`
+defaults to 10 mm and is rounded to whole layers. It is raised, with a
+warning, to the part of the countersink or the magnet pocket inside the
+washer plus 4 layers. A washer for screws prints with the glyph side up, a
+washer for magnets with the pocket up. A separate magnet washer is glued
+to the back of the glyph.
 
 With `washers_on_body`, the washers are part of the body instead, standing
-on the glyph's back. Where a washer is wider than the glyph at that point,
-it is cut back to the outline so it does not overhang, and a warning is
-shown.
+on the glyph's back, with the magnet pockets at their top. Where a washer
+is wider than the glyph at that point, it is cut back to the outline so it
+does not overhang, and a warning is shown.
 
 ### Two-colour print
 
@@ -206,8 +234,8 @@
 
 - the glyph outlines where they hang on the wall, spaced as the font spaces
   them, also when the glyphs are printed one at a time;
-- a circle of the hole diameter at each hole, with a cross reaching past the
-  washer;
+- a circle of the hole or magnet diameter at each hole, with a cross
+  reaching past the washer;
 - a level line along the baseline;
 - a 100 mm scale bar with 10 mm ticks.