comparison README.md @ 2:fe29ace8155e

added magnet attachment option
author ark
date 2026-11-03 10:08 +0100
parents aa23650954d6
children f5ff6f1a5454
comparison
equal deleted inserted replaced
1:aa23650954d6 2:fe29ace8155e
1 # House number 1 # House number
2 2
3 3D-printed house numbers, or any other text, to screw to a wall. Each glyph 3 3D-printed house numbers, or any other text, to fix to a wall. Each glyph
4 is a separate flat piece with two countersunk screw holes. Distance washers 4 is a separate flat piece with two countersunk screw holes. Distance washers
5 behind the holes keep it off the wall and take up unevenness. The glyphs 5 behind the holes keep it off the wall and take up unevenness. Instead of
6 screws, magnets pressed into the washers can hold the glyph. The glyphs
6 print face down. A two-colour look with an outline band is possible on a 7 print face down. A two-colour look with an outline band is possible on a
7 single-colour printer by changing filament once. 8 single-colour printer by changing filament once.
8 9
9 The work is split in three steps: 10 The work is split in three steps:
10 11
99 (`--target`). Distance from the axis is penalised (`--side-weight`); 100 (`--target`). Distance from the axis is penalised (`--side-weight`);
100 sitting in the middle of the stroke is rewarded (`--centre-weight`). 101 sitting in the middle of the stroke is rewarded (`--centre-weight`).
101 4. Where no point has room for the head, the hole goes to the thickest 102 4. Where no point has room for the head, the hole goes to the thickest
102 point of that half, and the script warns. 103 point of that half, and the script warns.
103 104
105 For magnets, pass the magnet diameter as `--head-d`, so the holes go where
106 the magnet plus the wall fits.
107
104 The check images show the glyph in grey, the area with room for the head in 108 The check images show the glyph in grey, the area with room for the head in
105 green, the axis in blue and the holes in red, orange where the head does not 109 green, the axis in blue and the holes in red, orange where the head does not
106 fit. 110 fit.
107 111
108 ### Glyphs of several parts 112 ### Glyphs of several parts
130 134
131 - `all`: the glyphs as they hang on the wall, with the washers behind them. 135 - `all`: the glyphs as they hang on the wall, with the washers behind them.
132 - `body`: the glyph in print orientation, face on the bed. In single-colour 136 - `body`: the glyph in print orientation, face on the bed. In single-colour
133 mode this is the whole print. 137 mode this is the whole print.
134 - `decal`: the outline band of the two-colour print. 138 - `decal`: the outline band of the two-colour print.
135 - `washer`: one distance washer. Make copies in the slicer. 139 - `washer`: one distance washer. Make copies in the slicer. With magnets,
140 print one first to test the fit.
136 - `template`: the drilling template, 2D. 141 - `template`: the drilling template, 2D.
137 142
138 ### Layout and size 143 ### Layout and size
139 144
140 `layout` chooses between the whole text and one glyph per print. 145 `layout` chooses between the whole text and one glyph per print.
155 `screw_d` (4 mm) and `head_d` (8 mm) set the hole and the countersink, each 160 `screw_d` (4 mm) and `head_d` (8 mm) set the hole and the countersink, each
156 widened by `clearance` on both sides. The countersink is 90 degrees and 161 widened by `clearance` on both sides. The countersink is 90 degrees and
157 opens towards the bed. With thin glyphs it is deeper than the glyph: at the 162 opens towards the bed. With thin glyphs it is deeper than the glyph: at the
158 defaults 2 mm against 1.2 mm. The washer then continues the cone. 163 defaults 2 mm against 1.2 mm. The washer then continues the cone.
159 164
165 `fit_wall_lines` (2) is the material required around the screw head, or
166 around the magnet, in line widths. Where a hole position from
167 `glyphs.scad` has less room at the print size, the console shows a warning.
168
169 ### Magnets
170
171 With `attachment` set to `magnet`, the glyph has no holes. Each washer
172 holds a magnet in a pocket at its wall end instead.
173
174 `magnet_d` and `magnet_h` set the pocket diameter and depth in steps of
175 0.05 mm. They are used as given, without `clearance`, so the press fit can
176 be tuned directly. Print a single washer to test the fit before printing
177 the glyphs. An open pocket of the magnet's height leaves the magnet flush
178 with the washer end.
179
180 `seal_magnets` closes each pocket with two layers. The pocket depth is
181 rounded up to whole layers, with a warning. The console gives the height
182 and layer number after which to pause the print. Insert the magnets in the
183 pause, then let the print finish over them.
184
160 ### Washers 185 ### Washers
161 186
162 The washer wall is `washer_wall_lines` line widths around the hole, 8 by 187 The washer wall is `washer_wall_lines` line widths around the hole, 8 by
163 default. `washer_height` defaults to 10 mm. It is raised, with a warning, 188 default, around the screw hole or the magnet pocket. `washer_height`
164 to the part of the countersink inside the washer plus 4 layers. The washer 189 defaults to 10 mm and is rounded to whole layers. It is raised, with a
165 prints with the glyph side up. 190 warning, to the part of the countersink or the magnet pocket inside the
191 washer plus 4 layers. A washer for screws prints with the glyph side up, a
192 washer for magnets with the pocket up. A separate magnet washer is glued
193 to the back of the glyph.
166 194
167 With `washers_on_body`, the washers are part of the body instead, standing 195 With `washers_on_body`, the washers are part of the body instead, standing
168 on the glyph's back. Where a washer is wider than the glyph at that point, 196 on the glyph's back, with the magnet pockets at their top. Where a washer
169 it is cut back to the outline so it does not overhang, and a warning is 197 is wider than the glyph at that point, it is cut back to the outline so it
170 shown. 198 does not overhang, and a warning is shown.
171 199
172 ### Two-colour print 200 ### Two-colour print
173 201
174 With `two_colour`, the glyph is split into a body and a decal: 202 With `two_colour`, the glyph is split into a body and a decal:
175 203
204 where to drill. Set `part` to `template`, render and export as SVG. The 232 where to drill. Set `part` to `template`, render and export as SVG. The
205 template uses the same size as the print and shows: 233 template uses the same size as the print and shows:
206 234
207 - the glyph outlines where they hang on the wall, spaced as the font spaces 235 - the glyph outlines where they hang on the wall, spaced as the font spaces
208 them, also when the glyphs are printed one at a time; 236 them, also when the glyphs are printed one at a time;
209 - a circle of the hole diameter at each hole, with a cross reaching past the 237 - a circle of the hole or magnet diameter at each hole, with a cross
210 washer; 238 reaching past the washer;
211 - a level line along the baseline; 239 - a level line along the baseline;
212 - a 100 mm scale bar with 10 mm ticks. 240 - a 100 mm scale bar with 10 mm ticks.
213 241
214 Then 242 Then
215 243