Add the Green Man generator and restyle its page to match the index

greenman-src/ holds the kit source; uv run build.py there rewrites
greenman/. deploy skips *-src/. The page now uses the index's ink,
bone and gold with the same serif, and no longer loads web fonts.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GrX9qMoNihcWLX3xoJhabw
This commit is contained in:
Eric WagonerandClaude Fable 5.2 committed 2026-11-10 18:29:29 -05:00
1 parent a7c04e5cb7
commit 9c3c361858
59 files changed
+1640 -41

No files matched your search

+5
View File
@@ -6,5 +6,10 @@
*.swo *.swo
*~ *~
# Generator build products
*-src/out/
*-src/work/
__pycache__/
# Claude Code local settings # Claude Code local settings
.claude/ .claude/
+6 -3
View File
@@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
## Project Overview ## Project Overview
Kestrel's Builds is a static site of craft build write-ups. Builds vary (foam and printed parts, paint techniques, sewing, electronics), so each one ships a guide plus whatever files that project needs. The index must not promise templates or print files for every build. There is no build step and no backend. Kestrel's Builds is a static site of craft build write-ups. Builds vary (foam and printed parts, paint techniques, sewing, electronics), so each one ships a guide plus whatever files that project needs. The index must not promise templates or print files for every build. The site itself is static with no backend. A build's page may be generated from a source folder (`<build>-src/`), which lives in this repo but is never deployed.
**Live URL:** https://builds.kestrelsnest.social **Live URL:** https://builds.kestrelsnest.social
@@ -15,7 +15,9 @@ Kestrel's Builds is a static site of craft build write-ups. Builds vary (foam an
- `favicon.svg` - Icon shared by every page - `favicon.svg` - Icon shared by every page
- `deploy` - Rsync deployment script - `deploy` - Rsync deployment script
- `<build>/` - One folder per build, self-contained: `index.html`, `img/`, `dl/` - `<build>/` - One folder per build, self-contained: `index.html`, `img/`, `dl/`
- `greenman/` - Green Man mask - `greenman/` - Green Man mask (generated; do not edit by hand)
- `<build>-src/` - Generator for a build whose page is generated. Excluded from deploy by the `*-src/` rule.
- `greenman-src/` - Green Man kit source; see its `README.md`
## Conventions ## Conventions
@@ -23,7 +25,8 @@ Kestrel's Builds is a static site of craft build write-ups. Builds vary (foam an
- The index is a sister page to Kestrel's Hall (gamehall.kestrelsnest.social): the same dark ink / bone / gold tokens, the same serif stack, the same card and section structure. Keep them in step. - The index is a sister page to Kestrel's Hall (gamehall.kestrelsnest.social): the same dark ink / bone / gold tokens, the same serif stack, the same card and section structure. Keep them in step.
- Every build page links back to the index with `<a href="../">` at its top and bottom (`.home` in `greenman/index.html`). - Every build page links back to the index with `<a href="../">` at its top and bottom (`.home` in `greenman/index.html`).
- Downloads live in `<build>/dl/`. Zip files there are part of the site, so `*.zip` is deliberately NOT in `.gitignore`. - Downloads live in `<build>/dl/`. Zip files there are part of the site, so `*.zip` is deliberately NOT in `.gitignore`.
- `greenman/index.html` is generated from the mask kit's own source (not in this repo). Hand edits to it are lost when the kit is regenerated; change the source and re-copy, then re-add the two `.home` back links, their CSS and the `<link rel="icon" href="../favicon.svg">` line and the description, canonical and Open Graph tags in its head. - Everything in `greenman/` is generated by `greenman-src/`: run `uv run build.py` there and it rewrites `greenman/index.html`, `img/`, `dl/` and `og-image.jpg`. Never hand-edit `greenman/`; change the source and rebuild. The back links, favicon line, description and Open Graph tags are all written by `greenman-src/build_web.py`.
- `deploy` must never upload a generator. Any new source folder must be named `<build>-src/` so the existing exclude covers it; check with `./deploy -n`.
- Share previews: `og.png` at the root is a 1200x630 screenshot of the top of the index, so retake it when the index's first card changes. Each build has its own `og-image.jpg` (1200x630) in its folder and its own description and Open Graph tags. - Share previews: `og.png` at the root is a 1200x630 screenshot of the top of the index, so retake it when the index's first card changes. Each build has its own `og-image.jpg` (1200x630) in its folder and its own description and Open Graph tags.
## Adding a build ## Adding a build
+3 -2
View File
@@ -4,7 +4,7 @@ Write-ups of things I've made, each with a guide and whatever files that project
**Live:** https://builds.kestrelsnest.social **Live:** https://builds.kestrelsnest.social
A static site with no build step. Each build is a self-contained folder; the top-level `index.html` links to them. A static site. Each build is a self-contained folder; the top-level `index.html` links to them. The Green Man page is generated from `greenman-src/`, which stays in this repo and is never uploaded.
## Files ## Files
@@ -17,6 +17,7 @@ greenman/ - Green Man mask
index.html - The build and painting guides as one page index.html - The build and painting guides as one page
img/ - Photos and part renders img/ - Photos and part renders
dl/ - Downloads: templates, guide PDFs, print files dl/ - Downloads: templates, guide PDFs, print files
greenman-src/ - Generator for everything in greenman/ (not deployed); see its README
``` ```
## Adding a build ## Adding a build
@@ -67,4 +68,4 @@ Set `DIR` in `deploy` to that folder's `www` directory. For this site it is `/va
./deploy ./deploy
``` ```
The script rsyncs this folder to the server and deletes anything there that is no longer here. It skips the project's own files: the script itself, the two Markdown docs, and git and editor files. The script rsyncs this folder to the server and deletes anything there that is no longer here. It skips the project's own files: the script itself, the two Markdown docs, git and editor files, and any generator folder (`*-src/`).
+3 -1
View File
@@ -10,7 +10,8 @@ DRY=""
cd "$(dirname "$0")" || exit 1 cd "$(dirname "$0")" || exit 1
# Everything in this folder is the site, apart from the project's own files. # Everything in this folder is the site, apart from the project's own files
# and the generator folders (<build>-src/), which never go to the server.
# --delete removes files on the server that no longer exist here. # --delete removes files on the server that no longer exist here.
rsync -avz --no-t --no-p --delete $DRY \ rsync -avz --no-t --no-p --delete $DRY \
--exclude '.git/' \ --exclude '.git/' \
@@ -20,6 +21,7 @@ rsync -avz --no-t --no-p --delete $DRY \
--exclude 'deploy' \ --exclude 'deploy' \
--exclude 'README.md' \ --exclude 'README.md' \
--exclude 'CLAUDE.md' \ --exclude 'CLAUDE.md' \
--exclude '*-src/' \
--exclude '*.swp' --exclude '*.swo' --exclude '*~' \ --exclude '*.swp' --exclude '*.swo' --exclude '*~' \
./ ${HOST}:${DIR}/ ./ ${HOST}:${DIR}/
STATUS=$? STATUS=$?
+52
View File
@@ -0,0 +1,52 @@
# Green Man mask: kit source
Everything published in `../greenman/` is generated from this folder. Edit here and rebuild; do not edit `../greenman/` by hand, because the next build replaces it.
This folder is not part of the website. `../deploy` skips every folder whose name ends in `-src`.
## Build
```bash
uv run build.py # build, then copy the result into ../greenman
uv run build.py --no-publish # build into out/ only, to look before publishing
```
`uv` reads the dependency list at the top of `build.py` and sets up its own environment. The PDFs are rendered with Chromium through Playwright. If Playwright has no browser of its own it uses Google Chrome; to give it one, run `uv run --with playwright playwright install chromium` once.
A build takes about ten seconds. It stops with an error if a print file fails the printability check or if the audit finds a step that disagrees with the parts layout.
After a build, review `git diff` in `../greenman`, then run `../deploy` from the site root.
## What a build does, in order
1. `stl_build.py` writes the eight print files into `out/stl` and tests each one: watertight, flat on the bed, no layer starting in mid-air. The three files in `stl_src` that failed on the printer are run through the same test as a control and must fail it.
2. `audit.py` walks the assembly in step order and checks each step's text against where the parts actually sit.
3. `build_templates.py` makes the 1:1 cutting templates (4 pages).
4. `build_guides.py` makes the build guide and the painting guide as PDFs.
5. `build_web.py` makes the web page, with its head, share tags and the links back to the site index.
6. `build.py` zips the downloads and copies the page, `img/`, `dl/` and `og-image.jpg` into `../greenman`.
## Where to change things
| To change | Edit |
| --- | --- |
| Parts, quantities, step order, what is glued where | `manifest.py` |
| Shapes and dimensions of the base, leaves and strip | `geom.py` |
| Wording of either guide | `content.py` |
| Step drawings | `draw.py` |
| Template page layout | `build_templates.py` |
| Web page styling, title, description, share tags | `build_web.py` |
| PDF styling | `build_guides.py` |
| Generated print files (brow strip, acorns) | `stl_build.py` |
| README inside the kit zip | `assets/kit_README.txt` |
`manifest.py` is the single source for parts and steps. The templates, both guides, the web page and the print set all read from it, so a count changed there changes everywhere.
## Inputs kept here
- `stl_src/` holds the hand-modelled print files (bark knot, twig, tendril, vein stamp) and the three control files.
- `assets/img/` holds the photos and the part renders shown in the guides. The part renders are pictures, not generated by the build, so re-render any whose print file changes.
- `assets/og-image.jpg` is the share image for the page.
- `assets/fonts/` holds the fonts for the PDFs, so they come out the same on any machine.
`out/` and `work/` are build products and are not committed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+4
View File
@@ -0,0 +1,4 @@
Fonts used when the PDFs are rendered, bundled so the kit looks the same on any machine.
Inter and Inter Display, by Rasmus Andersson: SIL Open Font License 1.1, https://rsms.me/inter/
DejaVu Sans Mono: Bitstream Vera and DejaVu licences (free to use and redistribute), https://dejavu-fonts.github.io/
Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

+16
View File
@@ -0,0 +1,16 @@
Green Man mask kit
==================
A half-mask of oak leaves, acorns and bark, worn behind your glasses.
Start with GreenMan_build_guide.pdf. It lists everything to buy, cut and print.
GreenMan_templates.pdf 1:1 cutting templates. Print at 100% and measure the 100 mm bar.
GreenMan_build_guide.pdf Materials, parts list, printing, and 11 assembly steps.
GreenMan_painting_guide.pdf Sealing and painting in 7 stages.
print_files/ 8 STL files. PLA, 0.2 mm layers, brim on, no supports.
Print quantities: brow_strip 1, bark_knot 1, twig_forked 2, acorn_large_half 4,
acorn_small_half 2, acorn_full 2, tendril_spiral 4, leaf_vein_stamp 1 (a tool).
Tested in use: the mask was built and worn for a full day at a renaissance faire.
The no-glasses base (templates page 2) has not been built yet.
Binary file not shown.

After

Width:  |  Height:  |  Size: 169 KiB

+48
View File
@@ -0,0 +1,48 @@
"""Audit: walk the assembly in order and report, for every part, which face it is on, what it is glued to,
what it lies over, and what later covers it. Then check each step's written instructions against those facts."""
import re, manifest as M, content as C, geom as G
base = G.base_glasses()['outline']
P = M.PLACEMENTS; order = list(M.STEPS); problems = []
def name(p): return p['id']
for k in order:
st = M.STEPS[k]; ps = M.step_placements(k)
print(f"\n== {order.index(k)}. {st['title']} (drawing: {st['view']} view)")
for p in ps:
if p['shape'] is None: continue
same = [q for q in P if q is not p and q['shape'] is not None and q['face'] == p['face']]
fp = p['footprint']
under = [name(q) for q in same if q['seq'] < p['seq'] and fp is not None and q['shape'].intersection(fp).area > 1]
over_earlier = [name(q) for q in same if q['seq'] < p['seq'] and q['shape'].intersection(p['shape']).area > 15 and name(q) not in under]
covered_later = [name(q) for q in same if q['seq'] > p['seq'] and fp is not None and q['shape'].intersection(fp).area > 1]
on_base = fp.intersection(base).area / fp.area if fp is not None and fp.area else 0
print(f" {name(p):16s} face={p['face']:6s} glue={p['glue']:7s} on-foam={on_base:4.0%} glued over: {under or '-'} lies across: {over_earlier or '-'} glue spot later covered by: {covered_later or '-'}")
# --- text checks
t = C.STEP[k]; text = re.sub(r'<[^>]+>', '', ' '.join(t['do']) + ' ' + t['check'])
faces = {p['face'] for p in ps if p['face'] in ('front', 'back') and p['part'] not in ('STRAP',)}
for f in faces:
if not re.search(rf'\b{f}\b', text): problems.append(f"step '{k}': parts go on the {f} but the text never says '{f}'")
wrong = {'front': 'back', 'back': 'front'}
for f in faces:
if len(faces) == 1 and re.search(rf'(to|on|onto) the (<b>)?{wrong[f]}(</b>)? of the band', ' '.join(t['do'])): problems.append(f"step '{k}': text says {wrong[f]} of the band, parts are on the {f}")
view = 'back' if st['view'] in ('back', 'both') else 'front'
if faces and view not in faces: problems.append(f"step '{k}': drawing is a {view} view but its parts are on the {faces}")
glues = {p['glue'] for p in ps} - {'none', 'wire'}
gl = t['glue'].lower()
if 'contact' in glues and 'cement' not in gl: problems.append(f"step '{k}': uses contact cement but the header says '{t['glue']}'")
if 'hot' in glues and 'hot' not in gl: problems.append(f"step '{k}': uses hot glue but the header says '{t['glue']}'")
# numbers in the text vs geometry
for p in ps:
if p['part'] in 'LMS' and p['x'] and k in ('back', 'centre', 'front'):
if not re.search(rf"\b{abs(round(p['x']))} mm", text): problems.append(f"step '{k}': {name(p)} sits {abs(round(p['x']))} mm from centre; text does not give that distance")
a = abs(round(p['ang']))
if a and not re.search(rf"\b{a}°", text): problems.append(f"step '{k}': {name(p)} leans {a} deg; text does not give that angle")
# chips = manifest counts
for part, n in C.step_counts(k).items():
if part in C.SHORT and C.qty(part, n) not in C.step_parts(k): problems.append(f"step '{k}': chip for {part} missing")
# cross-document mentions of twigs / faces
allsrc = open(C.__file__).read()
for m in re.finditer(r"[^.'\n]{0,80}twig[^.'\n]{0,80}", allsrc):
if re.search(r'behind|backs? of', m.group(0)): problems.append('twig text still says behind/back: ' + m.group(0).strip()[:140])
print('\n== text vs layout problems:', len(problems))
for p in problems: print(' -', p)
print('manifest problems:', len(M.validate(verbose=False)))
+11
View File
@@ -0,0 +1,11 @@
"""Run audit.py quietly and return its problems, for build.py. Run audit.py itself to read the full walk-through."""
import contextlib, io, importlib
def run():
buf = io.StringIO()
with contextlib.redirect_stdout(buf):
import audit, manifest
importlib.reload(audit)
probs = list(audit.problems) + list(manifest.validate(verbose=False))
print(f'audit: {len(probs)} problems')
return probs
+54
View File
@@ -0,0 +1,54 @@
#!/usr/bin/env python3
# /// script
# requires-python = ">=3.11"
# dependencies = ["numpy", "scipy", "shapely", "trimesh", "manifold3d", "mapbox-earcut", "networkx", "rtree", "playwright"]
# ///
"""Build the whole Green Man kit and publish it into ../greenman.
uv run build.py build everything, then copy the page into ../greenman
uv run build.py --no-publish build into out/ only
Order matters: the print files are checked first because the guides quote the results."""
import shutil, sys, zipfile
from pathlib import Path
from paths import ROOT, OUT, ASSETS, SITE
STAMP = (2026, 1, 1, 0, 0, 0) # fixed date inside the zips, so an unchanged kit gives an unchanged zip
def zip_write(path, entries):
with zipfile.ZipFile(path, 'w', zipfile.ZIP_DEFLATED) as z:
for name, src in sorted(entries):
zi = zipfile.ZipInfo(name, STAMP); zi.compress_type = zipfile.ZIP_DEFLATED; zi.external_attr = 0o644 << 16
z.writestr(zi, Path(src).read_bytes())
def main(publish=True):
import stl_build
report = stl_build.build()
bad = {n: r['verdict'] for n, r in report.items() if r['verdict'].startswith('FAIL')}
assert not bad, f'print files failed the printability check: {bad}'
import audit_run
problems = audit_run.run()
assert not problems, f'audit found problems: {problems}'
import build_templates, build_guides, build_web
pdfs = [build_templates.build(), build_guides.build('build'), build_guides.build('paint')]
build_web.build()
dl = OUT / 'dl'; shutil.rmtree(dl, ignore_errors=True); dl.mkdir()
stls = sorted((OUT / 'stl').glob('*.stl'))
assert {p.name for p in stls} == set(report), 'out/stl holds files the report does not know about'
for p in pdfs: shutil.copy(p, dl)
zip_write(dl / 'GreenMan_print_files.zip', [(p.name, p) for p in stls])
kit = 'GreenMan_mask_kit/'
zip_write(dl / 'GreenMan_mask_kit.zip', [(kit + Path(p).name, p) for p in pdfs] + [(kit + 'print_files/' + p.name, p) for p in stls] + [(kit + 'README.txt', ASSETS / 'kit_README.txt')])
if publish:
SITE.mkdir(exist_ok=True)
shutil.copy(OUT / 'index.html', SITE / 'index.html')
shutil.copy(ASSETS / 'og-image.jpg', SITE / 'og-image.jpg')
for sub, src in (('img', ASSETS / 'img'), ('dl', dl)):
shutil.rmtree(SITE / sub, ignore_errors=True); shutil.copytree(src, SITE / sub)
print(f'published to {SITE}')
if __name__ == '__main__':
main(publish='--no-publish' not in sys.argv)
+66
View File
@@ -0,0 +1,66 @@
"""Build the two guide PDFs (US Letter portrait) from content.py."""
import asyncio, os, shutil
import content as C, shot, fonts
from paths import OUT, ASSETS
CSS = '''
@page { size: 215.9mm 279.4mm; margin: 13mm 14mm 16mm 14mm; }
* { box-sizing: border-box; }
html { font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 9.4pt; line-height: 1.45; color: #1c1b19; }
body { margin: 0; }
h1 { font-family: "Inter Display", Inter, sans-serif; font-size: 34pt; line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 4mm; font-weight: 700; }
h2 { font-size: 15pt; line-height: 1.2; margin: 0 0 3mm; padding-top: 3mm; border-top: 1.4pt solid #2f6b2f; font-weight: 700; break-after: avoid; }
h3 { font-size: 12pt; margin: 0; font-weight: 700; }
p { margin: 0 0 2.6mm; } ul, ol { margin: 0 0 2.6mm; padding-left: 5mm; } li { margin-bottom: 1.3mm; }
section { margin: 0 0 7mm; }
code { font-family: "DejaVu Sans Mono", monospace; font-size: 8pt; }
figure { margin: 0; } figcaption { font-size: 7.6pt; color: #6a675f; margin-top: 1mm; line-height: 1.3; }
svg { display: block; width: 100%; height: auto; } img { display: block; max-width: 100%; }
text { font-family: Inter, Helvetica, Arial, sans-serif; }
.cover { display: grid; grid-template-columns: 1fr 78mm; gap: 9mm; align-items: end; margin-bottom: 8mm; }
.kicker { text-transform: uppercase; letter-spacing: 0.12em; font-size: 8pt; font-weight: 700; color: #2f6b2f; margin: 0 0 3mm; }
.lead { font-size: 12pt; line-height: 1.4; color: #33312d; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5mm 6mm; margin: 5mm 0 0; }
.facts dt { font-size: 7.4pt; text-transform: uppercase; letter-spacing: 0.08em; color: #6a675f; } .facts dd { margin: 0; font-weight: 600; }
.cover-photo img { border-radius: 2mm; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8mm; align-items: start; margin-bottom: 3mm; }
.photo img { border-radius: 1.5mm; }
.profile svg { max-height: 96mm; }
table.data { width: 100%; border-collapse: collapse; font-size: 8.5pt; margin: 0 0 3mm; }
table.data th { text-align: left; font-size: 7.4pt; text-transform: uppercase; letter-spacing: 0.06em; color: #6a675f; border-bottom: 0.8pt solid #1c1b19; padding: 1.2mm 2mm 1.2mm 0; }
table.data td { border-bottom: 0.3pt solid #cfccc3; padding: 1.3mm 2mm 1.3mm 0; vertical-align: top; }
table.data tr { break-inside: avoid; }
table.dense { font-size: 7.3pt; } table.dense td, table.dense th { padding-right: 1.4mm; }
.note { border-left: 2.2pt solid #c9a45c; background: #f7f3e8; padding: 2.6mm 3.5mm; font-size: 8.8pt; margin: 2mm 0 3mm; break-inside: avoid; }
.note.warn { border-left-color: #b3261e; background: #fbeeec; }
.keep, .cols, figure, .check, .why { break-inside: avoid; }
.step, .stage { display: grid; grid-template-columns: 88mm 1fr; gap: 6mm; padding: 4mm 0 2mm; border-top: 0.4pt solid #cfccc3; break-inside: avoid; }
.step .wide { grid-column: 1 / -1; max-width: 150mm; margin: 1mm auto 0; }
.stage { grid-template-columns: 66mm 1fr; }
.stage-pics { display: grid; gap: 3mm; }
.step-head { display: flex; align-items: baseline; gap: 2.5mm; flex-wrap: wrap; margin-bottom: 1.6mm; }
.num { display: inline-grid; place-items: center; min-width: 6.4mm; height: 6.4mm; border-radius: 3.2mm; background: #2f6b2f; color: #fff; font-weight: 700; font-size: 9pt; padding: 0 1.5mm; }
.meta { font-size: 7.8pt; color: #6a675f; flex-basis: 100%; }
.chips { margin: 0 0 2mm; } .chip { display: inline-block; border: 0.5pt solid #9a978e; border-radius: 3mm; padding: 0.2mm 2.2mm; font-size: 7.8pt; margin: 0 1.2mm 1.2mm 0; background: #fff; }
.why { font-size: 8.4pt; color: #45423c; margin: 0 0 2mm; } .why ul { margin: 0.6mm 0 0; } .why li { margin-bottom: 0.5mm; }
.check { font-size: 8.6pt; background: #eef4ea; border-radius: 1.2mm; padding: 1.8mm 2.6mm; } .check b { color: #2f6b2f; margin-right: 1.5mm; }
.stl-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 1mm 2mm; margin: 0 0 3mm; } .stl-grid figcaption { text-align: center; font-size: 6.6pt; margin: 0; }
.leafstrip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5mm; } .leafstrip figcaption { text-align: center; }
'''
def link_images():
"""The guides load photos from img/ beside the HTML, so mirror the assets there."""
dst = OUT / 'img'
if dst.exists(): shutil.rmtree(dst)
shutil.copytree(ASSETS / 'img', dst)
def build(kind):
body = C.construction() if kind == 'build' else C.painting()
title = 'Green Man mask · build guide' if kind == 'build' else 'Green Man mask · painting guide'
html = f'<!doctype html><html lang="en"><head><meta charset="utf-8"><title>{title}</title><style>{fonts.CSS}{CSS}</style></head><body>{body}</body></html>'
link_images(); src = str(OUT / f'_{kind}.html'); open(src, 'w').write(html)
out = str(OUT / f'GreenMan_{"build" if kind == "build" else "painting"}_guide.pdf')
asyncio.run(shot.go(src, out, footer=title)); return out
if __name__ == '__main__':
for k in ('build', 'paint'): print(build(k))
+122
View File
@@ -0,0 +1,122 @@
"""1:1 cutting templates, US Letter landscape (content also fits A4). Counts come from the manifest."""
import os, asyncio
from collections import Counter
import geom as G, manifest as M, draw as D
from draw import f, path, line
from geom import TOP
import shot, fonts
from paths import OUT, WORK
PW, PH = 279.4, 215.9
FONT = "Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif"
CUT, GUIDE, RED, SCALE = '#111111', '#8a8a8a', '#b3261e', '#0057ff'
def T(x, y, s, size=3.1, weight=400, fill='#111', anchor='start'):
return f'<text x="{f(x)}" y="{f(y)}" font-size="{size}" font-weight="{weight}" fill="{fill}" text-anchor="{anchor}" font-family="{FONT}">{s}</text>'
def lines(x, y, rows, size=3.1, lead=4.4, **kw): return ''.join(T(x, y+i*lead, r, size, **kw) for i, r in enumerate(rows))
def page(body, title, sub, n, total):
head = T(12, 14, title, 5.2, 700) + T(12, 20, sub, 3.1, 400, '#444') + T(PW-12, 14, f'Green Man mask kit · templates {n}/{total}', 2.8, 400, '#666', 'end')
bar = (f'<g stroke="{SCALE}" stroke-width="0.5"><path d="M{PW-122} {PH-18} h100 M{PW-122} {PH-20} v4 M{PW-22} {PH-20} v4 M{PW-72} {PH-19} v2"/></g>'
+ T(PW-72, PH-13, '100 mm. Measure this bar after printing. Print at 100% / actual size, never “fit to page”.', 2.6, 400, '#333', 'middle'))
return f'<svg xmlns="http://www.w3.org/2000/svg" width="{PW}mm" height="{PH}mm" viewBox="0 0 {PW} {PH}">{head}{body}{bar}</svg>'
def base_page(base, n, total):
ox, oy = PW/2, 124.0
g = f'<g transform="translate({ox} {oy})">'
g += f'<path d="{path(base["outline"])}" fill="none" stroke="{CUT}" stroke-width="0.5" fill-rule="evenodd" stroke-linejoin="round" class="cut"/>'
g += f'<path d="M0 {f(-(G.BAND_TOP+4))} V{52}" stroke="{GUIDE}" stroke-width="0.25" stroke-dasharray="3 1.5 0.6 1.5"/>'
for sl, pt in zip(base['slits'], base['patches']):
g += f'<path d="{path(pt)}" fill="none" stroke="{RED}" stroke-width="0.3" stroke-dasharray="2 1.2"/><path d="{path(sl)}" fill="none" stroke="{RED}" stroke-width="0.45"/>'
g += f'<path d="{path(base["top_slit"])}" fill="none" stroke="{GUIDE}" stroke-width="0.35" stroke-dasharray="1 1"/>'
g += T(34, -(TOP+62), 'optional top-strap slit (dotted, under the knot): decide in Stage C', 2.4, 400, '#666') + f'<path d="M33 {f(-(TOP+61))} L13 {f(-(TOP+48))}" stroke="#999" stroke-width="0.2"/>'
g += T(G.SLIT_X+18, -(TOP+30), 'strap slit', 2.6, 600, RED) + T(G.SLIT_X+18, -(TOP+26.3), '3 × 20 mm, cut through', 2.4, 400, RED) + T(G.SLIT_X+18, -(TOP+22.9), 'band and patch together', 2.4, 400, RED)
g += T(-G.SLIT_X-18, -(TOP+30), 'patch on the BACK', 2.6, 600, RED, 'end') + T(-G.SLIT_X-18, -(TOP+26.3), '30 × 36 mm of 2 mm foam', 2.4, 400, RED, 'end')
# where things land, lightly, so the template doubles as a placement map
g += f'<path d="{path(G.place(G.strip_poly(), 0, G.STRIP_Y))}" fill="none" stroke="{GUIDE}" stroke-width="0.25" stroke-dasharray="1.2 1"/>' + T(30, -(G.STRIP_Y-1), 'brow strip', 2.4, 400, '#777', 'middle')
g += f'<circle cx="0" cy="{f(-G.KNOT_C[1])}" r="{G.KNOT_R}" fill="none" stroke="{GUIDE}" stroke-width="0.25" stroke-dasharray="1.2 1"/>' + T(-12, -(G.KNOT_C[1]+12), 'knot', 2.4, 400, '#777', 'middle')
if base['kind'] == 'glasses':
for sg in (-1, 1): g += f'<path d="{path(G.lens(sg))}" fill="none" stroke="{GUIDE}" stroke-width="0.3" stroke-dasharray="2 1.5"/>'
g += f'<path d="{path(G.frame_zone())}" fill="none" stroke="{GUIDE}" stroke-width="0.2" stroke-dasharray="0.6 1.2"/>'
g += T(G.LENS_CX, 3, 'your lens', 2.6, 400, '#777', 'middle') + T(-G.LENS_CX, 3, 'no foam here', 2.6, 400, '#777', 'middle')
for sg in (-1, 1): g += f'<path d="M{f(sg*(G.FRAME_W/2))} {f(-(TOP-2))} H{f(sg*(G.FRAME_W/2+34))}" stroke="{GUIDE}" stroke-width="1.6" stroke-dasharray="0.6 1.2" opacity="0.6"/>'
g += T(G.FRAME_W/2+36, -(TOP-1), 'glasses arm', 2.4, 400, '#777')
else:
g += T(0, 24, 'eye holes 46 × 24 mm, 64 mm between centres', 2.6, 400, '#777', 'middle')
g += '</g>'
if base['kind'] == 'glasses':
title, sub = 'Base, for glasses wearers · cut 1 from 6 mm EVA', 'Worn BEHIND the glasses. Drawn for a frame 140 mm wide; see the fit table to resize.'
notes = ['Paper fit first: cut this page on the solid line, hold it to your face, put your glasses on over it.',
'· The band lies flat on your forehead and the frame’s top bar sits along its lower edge.',
'· The nose strip drops between the nose pads; the pads still touch skin.',
'· Each cheek tab sits outside the frame; the arms pass over the tabs.',
'Fold on the centre line to cut both halves at once.']
table = [(125, 89), (130, 93), (135, 97), (140, 100), (145, 104), (150, 107)]
tb = T(12, 178, 'Frame width → print scale for THIS page only', 2.8, 700) + ''.join(T(12 + i*17, 183.5, f'{w} mm', 2.6, 600) + T(12 + i*17, 187.5, f'{p}%', 2.6) for i, (w, p) in enumerate(table))
tb += T(12, 193, 'Scale brow_strip.stl by the same percentage. Leaf pages always print at 100%.', 2.5, 400, '#555')
else:
title, sub = 'Base, no glasses · cut 1 from 6 mm EVA', 'Same band, nose and cheeks as the glasses base, joined under the eyes.'
notes = ['Paper fit first: cut the outline and both eye holes from paper and hold it to your face.',
'· You see clearly through both holes without the edges touching your lashes.',
'· The band lies flat on your forehead; the nose strip follows the bridge of your nose.',
'Eyes closer or wider than the holes: reprint this page a few percent smaller or larger.',
'Fold on the centre line to cut both halves at once.']
tb = (f'<rect x="12" y="174" width="96" height="16" rx="1.5" fill="none" stroke="{RED}" stroke-width="0.4"/>' + T(15, 180, 'UNTESTED VARIANT', 3.4, 700, RED)
+ T(15, 185.5, 'Drawn from the glasses base but never built. Paper-fit before cutting foam.', 2.5, 400, RED))
body = g + lines(12, 27, notes, 2.75, 4.0, fill='#222') + tb
return page(body, title, sub, n, total)
def leaf_counts():
"""(size, variant) -> [as drawn, flipped], from the manifest; spares are added to variant 0 as drawn."""
c = Counter()
for p in M.PLACEMENTS:
if p['part'] in 'LMST': c[(p['part'], p['variant'], bool(p['flip']))] += 1
for k, n in M.SPARES.items(): c[(k, 1, False)] += n
return c
def leaf_cell(size, variant, cx, base_y, c):
name = {'L': 'Large', 'M': 'Medium', 'S': 'Small', 'T': 'Tip'}[size] + ' ' + 'AB'[variant]
leaf = G.oak(size, variant); n0, n1 = c[(size, variant, False)], c[(size, variant, True)]
g = f'<g transform="translate({f(cx)} {f(base_y)})"><path d="{path(leaf)}" fill="none" stroke="{CUT}" stroke-width="0.5" stroke-linejoin="round" class="cut"/>'
g += f'<path d="{" ".join(line(l) for l in G.vein_lines(size, variant))}" fill="none" stroke="{GUIDE}" stroke-width="0.25" stroke-dasharray="1.5 1.2"/></g>'
y = base_y + G.STEM_L + 6
g += T(cx, y, name, 3.3, 700, anchor='middle')
box = lambda k: ''.join(f'<rect x="{f(cx - k*2.6 + i*5.2 + 0.6)}" y="{f(y+7.2)}" width="4" height="4" fill="none" stroke="#111" stroke-width="0.3"/>' for i in range(k))
g += T(cx, y+4.8, f'cut {n0 + n1}', 2.9, 600, anchor='middle') + box(n0 + n1)
return g, n0 + n1
def leaf_pages(n0, total):
c = leaf_counts(); ml = M.make_list(); pages = []
# page: large
body, tot = '', 0
for v, cx in ((0, 78), (1, 170)):
g, k = leaf_cell('L', v, cx, 148, c); body += g; tot += k
assert tot == ml['L']['total']
body += lines(214, 60, ['Large leaves make the tall back', 'of the crown.', '', 'Print on card stock, cut the two', 'shapes out, trace onto 2 mm foam.',
'Turn the card over for every', 'other leaf, so they are not all', 'identical.', '', 'Dashed lines: where the veins go', '(stamp or score them later).',
'', 'The stem is part of the leaf.', 'Do not cut it off.'], 2.75, 4.1, fill='#222')
pages.append(page(body, f'Large oak leaf, 95 mm · cut {ml["L"]["total"]} from 2 mm EVA', 'Tick a box for each one you cut. These counts are everything the mask uses: nothing is left over.', n0, total))
# page: medium, small, tip, patch
body, chk = '', Counter(); xs = {('M', 0): 34, ('M', 1): 92, ('S', 0): 142, ('S', 1): 184, ('T', 0): 220, ('T', 1): 248}
for (size, v), cx in xs.items():
g, k = leaf_cell(size, v, cx, {'M': 122, 'S': 100, 'T': 82}[size], c); body += g; chk[size] += k
for k in 'MST': assert chk[k] == ml[k]['total'], (k, chk[k], ml[k]['total'])
px, py = 205, 132
body += f'<rect x="{px}" y="{py}" width="{G.PATCH_W}" height="{G.PATCH_H}" rx="3" fill="none" stroke="{CUT}" stroke-width="0.5"/>' + T(px+G.PATCH_W/2, py+G.PATCH_H/2-1, 'Strap patch', 3.0, 700, anchor='middle') + T(px+G.PATCH_W/2, py+G.PATCH_H/2+3.5, 'cut 2', 2.7, anchor='middle')
sp = ', '.join(f'{n} {"medium" if k == "M" else "small"}' for k, n in M.SPARES.items())
body += lines(12, 172, [f'Counts include {sp} as spares. Keep the spares unsealed and unpainted: they are your repair kit.',
'Medium: 6 for the front row of the crown, 2 for the cheeks. Small: 4 for the cheeks, 1 for the nose. Tip: one on the end of each tendril.'], 2.75, 4.2, fill='#222')
pages.append(page(body, f'Medium, small and tip leaves · cut {ml["M"]["total"]} + {ml["S"]["total"]} + {ml["T"]["total"]} from 2 mm EVA, plus 2 strap patches', 'Tick a box for each one you cut.', n0+1, total))
return pages
def build(out=str(OUT / 'GreenMan_templates.pdf')):
total = 4
pages = [base_page(G.base_glasses(), 1, total), base_page(G.base_plain(), 2, total)] + leaf_pages(3, total)
html = ('<!doctype html><html><head><meta charset="utf-8"><style>' + fonts.CSS + '@page{size:279.4mm 215.9mm;margin:0}html,body{margin:0;padding:0}'
'svg{display:block;page-break-after:always;break-after:page}</style></head><body>' + ''.join(pages) + '</body></html>')
src = str(WORK / 'templates.html'); open(src, 'w').write(html)
asyncio.run(shot.go(src, out)); return out
if __name__ == '__main__':
print(build())
+116
View File
@@ -0,0 +1,116 @@
"""Web page version of both guides, plus downloads, as it is published on the builds site.
Photos, PDFs and the zips sit beside the page in img/ and dl/."""
import re, importlib
import content as C
from paths import OUT
SITE_NAME = "Kestrel's Builds"
URL = 'https://builds.kestrelsnest.social/greenman/'
DESCRIPTION = 'A half-mask of oak leaves, acorns and bark, built to be worn with glasses. Templates, print files, a build guide and a painting guide, free to download.'
OG_DESCRIPTION = 'A half-mask of oak leaves, acorns and bark, built to be worn with glasses. Everything you need to make your own.'
OG_ALT = 'A Green Man half-mask worn with glasses: a crown of painted oak leaves above a bark brow ridge, with acorns at the temples and a leaf over the nose.'
CSS = '''
/* Same ink, bone and gold as the builds index and Kestrel's Hall, and the same serif. Drawings stay on light paper with sans labels.
layout: one reading column of guide text; each step is a drawing beside its instructions, stacking on phones */
:root { --bg:#14181a; --surface:#1c2124; --fg:#e6dfcf; --muted:#a9a494; --line:#2c3236; --accent:#d2a94a; --accent-fg:#14181a; --bark:#d2a94a;
--note:#211f18; --warn:#2e1b19; --warn-fg:#f0988c; --ok:#1a231d; --paper:#ebe6d9; --paper-fg:#33382f;
--display:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif; --body:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
--sans:"Helvetica Neue",Helvetica,Arial,sans-serif; --mono:ui-monospace,"SF Mono",Menlo,monospace; }
html { background: var(--bg); color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1060px; margin: 0 auto; padding-block: 28px 80px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-wrap: balance; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); letter-spacing: 0.01em; }
h2 { font-size: 1.6rem; padding-top: 18px; border-top: 1px solid var(--accent); margin-bottom: 12px; }
h3 { font-size: 1.3rem; font-weight: 500; }
p { margin: 0 0 12px; max-width: 68ch; } ul, ol { margin: 0 0 12px; padding-left: 1.3em; max-width: 68ch; } li { margin-bottom: 6px; }
a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; } b, strong { font-weight: 600; } code { font-family: var(--mono); font-size: 0.86em; }
section { margin: 0 0 40px; min-width: 0; }
figure { margin: 0; min-width: 0; } figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 6px; line-height: 1.35; }
img { border-radius: 6px; display: block; height: auto; max-width: 100%; }
.fig svg, .leafstrip svg { display: block; width: 100%; height: auto; background: var(--paper); border-radius: 6px; }
.fig svg text, .leafstrip svg text { font-family: var(--sans); }
nav.top { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
nav.top a { text-decoration: none; border: 1px solid var(--line); background: var(--surface); color: var(--fg); padding: 7px 14px; border-radius: 999px; font-size: 0.92rem; }
nav.top a:hover, nav.top a:focus-visible { border-color: var(--accent); color: var(--accent); outline: none; text-decoration: none; }
.cover { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 32px; align-items: end; margin-bottom: 40px; }
.kicker { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; color: var(--accent); margin: 0 0 10px; }
.lead { font-size: 1.2rem; line-height: 1.5; color: var(--muted); margin-top: 14px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 20px 0 0; }
.facts dt { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); } .facts dd { margin: 0; font-weight: 600; }
.guide-start { margin-top: 72px; }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; margin-bottom: 14px; }
.tw { overflow-x: auto; margin: 0 0 14px; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
table.data th { text-align: left; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); border-bottom: 1.5px solid var(--fg); padding: 6px 12px 6px 0; white-space: nowrap; }
table.data td { border-bottom: 1px solid var(--line); padding: 7px 12px 7px 0; vertical-align: top; }
table.dense { font-size: 0.8rem; min-width: 760px; }
.note { border-left: 3px solid var(--bark); background: var(--note); padding: 12px 16px; font-size: 0.93rem; margin: 10px 0 14px; border-radius: 0 6px 6px 0; }
.note.warn { border-left-color: var(--warn-fg); background: var(--warn); } .note.warn b { color: var(--warn-fg); }
.step, .stage { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 28px; padding: 22px 0 10px; border-top: 1px solid var(--line); }
.step .wide { grid-column: 1 / -1; max-width: 640px; }
.stage-pics { display: grid; gap: 14px; align-content: start; }
.step-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.num { display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 14px; background: var(--accent); color: var(--accent-fg); font-weight: 700; font-size: 0.85rem; padding: 0 6px; font-family: var(--sans); }
.meta { font-size: 0.82rem; color: var(--muted); flex-basis: 100%; }
.chips { margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px; } .chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 1px 10px; font-size: 0.8rem; }
.why { font-size: 0.88rem; color: var(--muted); margin: 0 0 10px; } .why ul { margin: 4px 0 0; }
.check { font-size: 0.9rem; background: var(--ok); border-radius: 6px; padding: 9px 12px; max-width: 68ch; } .check b { color: var(--accent); margin-right: 6px; }
.stl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin: 0 0 14px; }
.stl-grid figure { background: var(--paper); border-radius: 6px; padding: 4px 4px 8px; } .stl-grid figcaption { text-align: center; color: var(--paper-fg); margin: 0; font-size: 0.72rem; }
.leafstrip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; } .leafstrip figcaption { text-align: center; }
.dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 10px; }
.dl .dlbtn { text-decoration: none; text-align: left; font: inherit; color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; cursor: pointer; display: grid; gap: 4px; }
.dl .dlbtn:hover, .dl .dlbtn:focus-visible { border-color: var(--accent); outline: none; text-decoration: none; } .dl .dlbtn:hover b, .dl .dlbtn:focus-visible b { color: var(--accent); }
.dl .dlbtn b { font-family: var(--display); font-size: 1.2rem; font-weight: 500; } .dl .dlbtn span { font-size: 0.82rem; color: var(--muted); }
.home { margin: 0 0 24px; font-size: 0.95rem; } .home a { text-decoration: none; } .home a:hover, .home a:focus-visible { text-decoration: underline; }
.home.foot { margin: 48px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .cover, .cols, .step, .stage { grid-template-columns: minmax(0, 1fr); } .cover-photo { max-width: 360px; } .leafstrip { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
'''
def wrap_tables(h): return h.replace('<table', '<div class="tw"><table').replace('</table>', '</table></div>')
def build(out=str(OUT / 'index.html')):
importlib.reload(C)
build_html = C.construction(); paint_html = C.painting().replace('<header class="cover">', '<header class="cover guide-start" id="painting">').replace('<h1>Green Man mask</h1>', '<h1>Painting the mask</h1>')
dls = [('GreenMan_mask_kit.zip', 'Whole kit', 'Templates, both guides, and the 8 print files in one zip'), ('GreenMan_templates.pdf', 'Templates', '4 pages, 1:1, US Letter or A4'),
('GreenMan_build_guide.pdf', 'Build guide', 'Printable, for the workbench'), ('GreenMan_painting_guide.pdf', 'Painting guide', 'Printable'), ('GreenMan_print_files.zip', 'Print files', '8 STL files, no supports needed')]
downloads = ('<section id="downloads"><h2>Downloads</h2><div class="dl">' + ''.join(f'<a class="dlbtn" href="dl/{f}" download><b>{t}</b><span>{d}</span></a>' for f, t, d in dls) + '</div></section>')
nav = '<nav class="top" aria-label="Sections"><a href="#downloads">Downloads</a><a href="#build">Build guide</a><a href="#step-strip">Assembly steps</a><a href="#painting">Painting guide</a></nav>'
body = build_html
i = body.index('</header>') + len('</header>')
body = body[:i] + nav + downloads + '<div id="build"></div>' + body[i:]
home = '<p class="home"><a href="../">\u2190 Kestrel\u2019s Builds</a></p>'
foot = '<p class="home foot"><a href="../">\u2190 All builds at Kestrel\u2019s Builds</a></p>'
head = f'''<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Green Man Mask Kit</title>
<link rel="icon" href="../favicon.svg">
<meta name="description" content="{DESCRIPTION}">
<link rel="canonical" href="{URL}">
<meta property="og:type" content="article">
<meta property="og:site_name" content="{SITE_NAME}">
<meta property="og:title" content="Green Man mask">
<meta property="og:description" content="{OG_DESCRIPTION}">
<meta property="og:url" content="{URL}">
<meta property="og:image" content="{URL}og-image.jpg">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="{OG_ALT}">
<meta name="twitter:card" content="summary_large_image">
<meta name="theme-color" content="#14181a">
<style>{CSS}</style>
</head>
<body>
'''
page = f'{head}<div class="wrap">{home}{wrap_tables(body)}{wrap_tables(paint_html)}{foot}</div>\n\n</body>\n</html>\n'
page = re.sub(r'<img src="img/([^"]+)" alt="([^"]*)">', r'<img src="img/\1" alt="\2" loading="lazy">', page)
open(out, 'w', encoding='utf-8').write(page); return out
if __name__ == '__main__':
print(build())
+419
View File
@@ -0,0 +1,419 @@
"""Guide content as HTML fragments, shared by the PDF build and the web page. Counts, order and drawings come from the manifest."""
import json
from collections import Counter, OrderedDict
import geom as G, manifest as M, draw as D
from geom import TOP
IMG = 'img/'
from paths import WORK
REPORT = json.load(open(WORK / 'stl_report.json'))
ML = M.make_list()
STEPKEYS = list(M.STEPS)
ASSEMBLY = [k for k in STEPKEYS if not M.STEPS[k].get('prep')]
def photo(name, cap, cls=''): return f'<figure class="photo {cls}"><img src="{IMG}{name}.jpg" alt="{cap}"><figcaption>{cap}</figcaption></figure>'
def fig(svg, cap='', cls=''): return f'<figure class="fig {cls}">{svg}' + (f'<figcaption>{cap}</figcaption>' if cap else '') + '</figure>'
def ul(items, cls=''): return f'<ul class="{cls}">' + ''.join(f'<li>{i}</li>' for i in items) + '</ul>'
def ol(items): return '<ol>' + ''.join(f'<li>{i}</li>' for i in items) + '</ol>'
def table(head, rows, cls='data'): return f'<table class="{cls}"><thead><tr>' + ''.join(f'<th>{h}</th>' for h in head) + '</tr></thead><tbody>' + ''.join('<tr>' + ''.join(f'<td>{c}</td>' for c in r) + '</tr>' for r in rows) + '</tbody></table>'
PLACE = {'strap': 'strap', 'back': 'crown, outer (on the back)', 'centre': 'crown, centre (on the front)', 'front': 'crown, front row', 'cheeks': 'cheeks', 'nose': 'nose', 'tendrils': 'tendril ends',
'clusters': 'temple clusters', 'hang': 'hanging beside the cheeks', 'twigs': 'in the crown, between the leaf rows', 'strip': 'front of the band', 'knot': 'centre of the band'}
def where(pid):
c = Counter(p['step'] for p in M.PLACEMENTS if p['part'] == pid for _ in range(p.get('count', 1)))
if pid == 'BASE': return 'everything is glued to it'
if pid == 'PATCH': return 'back of the band, one behind each strap slit'
if pid == 'SPIRAL': return f'{c["tendrils"]} on the lower cheek tabs, 2 per side'
if pid == 'STRAP': return 'through both slits and around the back of the head'
if pid == 'WIRE': return 'one for each hanging acorn'
txt = ', '.join(f'{n} {PLACE[s]}' for s, n in c.items())
return txt + (f', {M.SPARES[pid]} spare' if pid in M.SPARES else '')
def parts_table():
rows = [(f'<b>{v["total"]}</b>', v['name'], v['src'], where(k)) for k, v in ML.items()]
return table(['Qty', 'Part', 'Made from', 'Where it goes'], rows)
def leaf_total(): return sum(ML[k]['total'] for k in 'LMST')
def print_total(): return sum(v['total'] for v in ML.values() if v['kind'] == 'print')
def print_table():
notes = {'brow_strip.stl': 'Prints flat; heat-formed to the forehead later. PLA only.', 'bark_knot.stl': 'Flat back.', 'twig_forked.stl': 'Flat underside along its whole length.',
'acorn_large_half.stl': 'Lies on its flat back.', 'acorn_small_half.stl': 'Lies on its flat back.', 'acorn_full.stl': 'Stands on a 13 mm flat, stem up. Use a brim.',
'tendril_spiral.stl': 'Flat underside along its whole length.', 'leaf_vein_stamp.stl': 'A tool for the leaves. Print it first.'}
rows = [(f'<code>{n}</code>', f'<b>{r["qty"]}</b>', ' × '.join(f'{v:g}' for v in r['extents']) + ' mm', 'none', notes[n]) for n, r in REPORT.items()]
return table(['File', 'Print', 'Size', 'Supports', 'Notes'], rows)
def filament_g(): return round(sum(r['volume_cm3']*r['qty'] for r in REPORT.values()) * 1.24 * 0.75 / 5) * 5 # solid volume x PLA density x typical fill
def foam2_cm2():
a = sum(G.oak(k, 0).minimum_rotated_rectangle.area * ML[k]['total'] for k in 'LMST') + 2*G.PATCH_W*G.PATCH_H
return round(a*1.15/100/50)*50
# --------------------------------------------------------------------------- diagrams drawn by hand
def side_profile():
"""Two sections seen from the wearer's left (front of the mask to the right). Left panel: on the centre line.
Right panel: 30 mm to one side, where a front-row leaf stands and the outer large leaf is glued to the rear face."""
Y = lambda y: 124 - (y - TOP)
def face(ox):
f = f'<path d="M{ox+40} 196 L{ox+40} 128 Q{ox+40} 100 {ox+38} 76 Q{ox+34} 36 {ox+10} 10" fill="none" stroke="#c9a78a" stroke-width="2.2" stroke-linecap="round"/>'
return f + f'<path d="M{ox+40} 156 Q{ox+56} 172 {ox+60} 190 Q{ox+52} 196 {ox+42} 196" fill="none" stroke="#c9a78a" stroke-width="2.2" stroke-linecap="round"/>'
def band(ox, nose=True):
b = f'<path d="M{ox+42} {Y(TOP)} L{ox+42} {Y(TOP+30)} Q{ox+41} {Y(TOP+46)} {ox+38.5} {Y(TOP+56)} L{ox+44.3} {Y(TOP+56)+1.6} Q{ox+47} {Y(TOP+46)} {ox+48} {Y(TOP+30)} L{ox+48} {Y(TOP)} Z" fill="#d9d6cc" stroke="#5b5850" stroke-width="0.6"/>'
if nose: b += f'<path d="M{ox+42} {Y(TOP)} L{ox+42} 156 L{ox+47} 174 L{ox+50} 172 L{ox+45.5} 156 L{ox+45.5} {Y(TOP)}" fill="#d9d6cc" stroke="#5b5850" stroke-width="0.6"/>'
return b
def blade(ox, x0, y0, x1, y1, w, fill): # a leaf or twig seen edge-on: a thin bar from (x0,y0) up to (x1,y1)
return f'<path d="M{ox+x0} {Y(y0)} L{ox+x0+w} {Y(y0)} L{ox+x1+w} {Y(y1)} L{ox+x1} {Y(y1)} Z" fill="{fill}" stroke="#1d4a1f" stroke-width="0.45" stroke-linejoin="round"/>'
strip = lambda ox: f'<rect x="{ox+48}" y="{Y(TOP+27)}" width="5" height="22" rx="1.5" fill="#6b4a2b" stroke="#3e2a16" stroke-width="0.5"/>'
glasses = lambda ox: f'<path d="M{ox+57} {Y(TOP)-1} L{ox+57} 166 M{ox+57} {Y(TOP)-1} L{ox+51} {Y(TOP)-1}" fill="none" stroke="#8a8a8a" stroke-width="1.6" stroke-linecap="round"/>'
def lab(x, y, tx, ty, text, anchor='start'):
return f'<path d="M{x} {y} L{tx} {ty}" stroke="#888" stroke-width="0.4"/><text x="{tx + (1.5 if anchor == "start" else -1.5)}" y="{ty+1.5}" font-size="4.4" text-anchor="{anchor}" fill="#222">{text}</text>'
title = lambda ox, t: f'<text x="{ox+44}" y="-25" font-size="5" font-weight="700" fill="#222">{t}</text>'
s = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="-6 -34 300 236" role="img"><title>Two side views through the mask</title>'
# ---------------- panel A: on the centre line
o = 0
s += title(o, 'On the centre line') + face(o) + band(o)
s += f'<path d="M{o+48} {Y(TOP+42)} L{o+50} {Y(TOP+42)} L{o+50} {Y(TOP+55)} L{o+48} {Y(TOP+55)} Z" fill="#2f6b2f" stroke="#1d4a1f" stroke-width="0.45"/>' # centre leaf stem, on the FRONT
s += blade(o, 48, TOP+55, 20, TOP+150, 2.2, '#2f6b2f') # its blade, raked back over the head
s += f'<path d="M{o+50} {Y(TOP+70)} Q{o+65} {Y(TOP+62)} {o+64} {Y(TOP+49)} Q{o+65} {Y(TOP+36)} {o+50} {Y(TOP+28)} Z" fill="#6b4a2b" stroke="#3e2a16" stroke-width="0.5"/>' # knot, over the stem
s += strip(o) + glasses(o)
s += f'<path d="M{o+45.5} {Y(TOP+4)} L{o+47.5} {Y(TOP+4)} L{o+52} 176 L{o+49.5} 177 L{o+45.5} {Y(TOP-8)} Z" fill="#77ad4e" stroke="#1d4a1f" stroke-width="0.5"/>'
s += lab(o+30, Y(TOP+122), o+66, 4, 'centre large leaf')
s += lab(o+49, Y(TOP+48), o+72, 20, 'its stem: on the FRONT,') + f'<text x="{o+73.5}" y="27" font-size="4.4" fill="#222">under the knot</text>'
s += lab(o+62, Y(TOP+56), o+76, 58, 'knot') + lab(o+53, Y(TOP+16), o+72, 100, 'brow strip') + lab(o+45, Y(TOP+8), o+72, 112, 'foam band')
s += lab(o+57, 140, o+72, 140, 'glasses') + lab(o+51, 168, o+68, 172, 'nose leaf') + lab(o+39, 90, o+16, 150, 'forehead', 'end')
# ---------------- panel B: 30 mm to one side
o = 150
s += title(o, '30 mm to one side') + face(o)
s += f'<path d="M{o+40} {Y(TOP+40)} L{o+42} {Y(TOP+40)} L{o+41} {Y(TOP+54)} L{o+39} {Y(TOP+54)} Z" fill="#245a26" stroke="#1d4a1f" stroke-width="0.45"/>' # outer large leaf stem, on the BACK
s += blade(o, 39, TOP+54, 12, TOP+140, 2.2, '#245a26')
s += band(o, nose=False)
s += f'<path d="M{o+48} {Y(TOP+29)} L{o+51} {Y(TOP+29)} L{o+51} {Y(TOP+52)} L{o+48} {Y(TOP+52)} Z" fill="#8a5a2b" stroke="#3e2a16" stroke-width="0.45"/>' # twig, flat on the FRONT
s += f'<path d="M{o+48} {Y(TOP+52)} L{o+51} {Y(TOP+52)} L{o+36} {Y(TOP+113)} L{o+33.4} {Y(TOP+112)} Z" fill="#8a5a2b" stroke="#3e2a16" stroke-width="0.45"/>'
s += f'<path d="M{o+51} {Y(TOP+29)} L{o+53} {Y(TOP+29)} L{o+53} {Y(TOP+41)} L{o+51} {Y(TOP+41)} Z" fill="#4c8a3c" stroke="#1d4a1f" stroke-width="0.45"/>' # front-row leaf stem, in FRONT of the twig
s += blade(o, 51, TOP+41, 41, TOP+110, 2.2, '#4c8a3c')
s += strip(o) + glasses(o)
s += lab(o+20, Y(TOP+116), o+62, 2, 'outer large leaf: stem on the BACK')
s += lab(o+38, Y(TOP+104), o+68, 16, 'twig: flat side on the FRONT')
s += lab(o+45, Y(TOP+84), o+72, 30, 'front-row leaf: on the FRONT,') + f'<text x="{o+73.5}" y="37" font-size="4.4" fill="#222">in front of the twig</text>'
s += lab(o+53, Y(TOP+16), o+72, 100, 'brow strip') + lab(o+45, Y(TOP+8), o+72, 112, 'foam band') + lab(o+57, 140, o+72, 140, 'glasses')
return s + '</svg>'
def strap_section():
"""Seen from above, as built: the strap comes from behind the head, wraps the outer edge onto the FRONT of the band,
runs inward to the slit, and is fed through from front to back. The tail comes out on the back, turns outward, and is
glued to the underside of the strap (the side facing the head) just past the edge."""
s = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -8 236 112" role="img"><title>Strap anchor seen from above</title>'
s += '<rect x="20" y="52" width="122" height="7" fill="#d9d6cc" stroke="#5b5850" stroke-width="0.6"/><rect x="104" y="49" width="33" height="3" fill="#bdb7a3" stroke="#5b5850" stroke-width="0.5"/>'
s += '<rect x="118.5" y="48.5" width="4" height="11" fill="#fff" stroke="#c8321e" stroke-width="0.6"/>'
# strap (dark): from behind the head, around the outer edge, inward along the front, up through the slit
s += '<path d="M204 30.5 L154 46.2 Q147.2 48.4 147.2 53 L147.2 60 Q147.2 63.4 144 63.4 L124 63.4 Q120.5 63.4 120.5 60 L120.5 50" fill="none" stroke="#2b2b2b" stroke-width="2.6" stroke-linejoin="round" stroke-linecap="round"/>'
# tail (grey): out of the slit on the back, outward along the back face, then up against the underside of the strap
s += '<path d="M120.5 50 Q120.5 47.4 124 47.4 L138 47.4 Q145 47.4 150 44.4 L170 38.1" fill="none" stroke="#7d7d7d" stroke-width="2.6" stroke-linejoin="round" stroke-linecap="round"/>'
s += '<path d="M153 45 L170.6 39.5" stroke="#c8321e" stroke-width="0.7" stroke-dasharray="1.4 1.1"/>'
s += '<ellipse cx="134" cy="71" rx="14" ry="6" fill="#9a6a34" stroke="#3e2a16" stroke-width="0.5" opacity="0.85"/>'
T = lambda x, y, t, a='start', c='#222', w=400: f'<text x="{x}" y="{y}" font-size="4.6" text-anchor="{a}" fill="{c}" font-weight="{w}">{t}</text>'
L = lambda d, c='#888': f'<path d="{d}" stroke="{c}" stroke-width="0.4" fill="none"/>'
s += T(20, 42, 'BACK (against your face)', c='#666') + T(20, 70, 'FRONT', c='#666') + T(60, 57.4, '6 mm band', 'middle', '#444')
s += T(98, 47, '2 mm patch', 'end', '#444') + L('M99 46 L104 50')
s += T(84, 90, 'slit, 20 mm in from the edge', 'end', '#c8321e', 600) + L('M86 88.5 L120.5 62', '#c8321e')
s += T(153, 60, 'outer edge of the band', c='#444')
s += T(234, 48, 'strap, from the back of your head', 'end')
s += T(96, 6, 'tail (grey): comes out of the slit on the back and turns outward', 'middle', '#555') + L('M130 8 L132 46.3', '#777')
s += T(150, 20, 'glue the tail to the underside of the strap', 'middle', '#c8321e') + L('M160 22 L161 41.6', '#c8321e')
s += T(152, 84, 'the acorn cluster later covers this run', 'start', '#6b4a2b') + L('M151 82 L141 76', '#6b4a2b')
return s + '</svg>'
# --------------------------------------------------------------------------- construction guide
STEP = {
'strap': dict(time='25 min + cure', glue='Contact cement for the patches, hot glue for the tails', do=[
'Cut two 30 × 36 mm patches from 2 mm foam (outline on template page 4). Lay the paper base template on the formed foam base and push a pin through both ends of each red slit to mark them on the foam.',
'Cement a patch to the <b>back</b> of the band, centred over each pair of pin marks. Coat both surfaces, wait until touch-dry, press. Let it cure at least 30 minutes.',
'Cut each slit through band and patch together with a fresh blade: two parallel cuts 20 mm long and 3 mm apart, then lift out the sliver. Cutting through both layers at once is what keeps the slit from stretching.',
'Bring the end of the elastic around the outer edge of the band onto the <b>front</b>, and feed it through the slit from front to back. Pull about 50 mm through. The tail comes out on the back; turn it outward and hot-glue it to the underside of the strap, the side that faces your head, just past the edge of the band. Glue <b>elastic to elastic</b> and leave the foam free of glue.',
'Do one side, put the mask and your glasses on, pull the strap snug around your head, mark it, then do the other side. Go slightly snug: elastic relaxes over a few hours. This sets the strap length for good; the ends are about to be covered.'],
check='Mask stays put when you shake your head. Glasses go on over it and come off without dragging it.'),
'strip': dict(time='15 min', glue='Contact cement', do=[
'The brow strip was heat-formed to the curve of the band in Stage E. Hold it in place dry on the <b>front</b> of the band first: centred, lower edge about 5 mm above the lower edge of the band, each end stopping just short of a strap slit.',
'Brush contact cement on the back of the strip and on the band where it sits. Wait about 10 minutes until both are touch-dry.',
'Press on from the centre outward, backing the band with your other hand. You get one try; contact cement grabs at once.'],
check='No edge of the strip lifts when you flex the band gently, and neither end covers a strap slit.'),
'clusters': dict(time='15 min', glue='Contact cement; hot glue where acorn meets acorn', do=[
'One cluster per temple, covering the 20 mm of strap that crosses the front of the band. Contact cement holds on the elastic as well as on the foam.',
'Acorn 1 (large): flat on the band over the strap, cap pointing up and slightly out, with its inboard edge on bare foam. Acorn 2 (large): above and inboard of it, tilted the other way, leaning on acorn 1. Acorn 3 (small): outboard, bridging the two.',
'Keep the whole cluster at least 4 mm above the lower edge of the band. The glasses arm rests just below.',
'Press each one with your hand behind the band.'],
check='With glasses on, each arm passes under its cluster without touching it.'),
'centre': dict(time='10 min', glue='Hot glue, on the stem only', do=[
'Rest the mask face-up over a rolled towel. The three centre leaves glue by their stems to the <b>front</b> of the band, in the upper middle where the knot will go later.',
'Leaf 1 stands upright on the centre line with its blade starting level with the top edge of the band. It is the tallest leaf on the mask.',
'Leaves 2 and 3 go 17 mm to each side of it, leaning out 10°, and about 6 mm lower.',
'Hold each leaf raked back about 30° over where your head will be until its glue has cooled, because this is the only chance to set the lean.',
'If you fitted the optional top strap, glue the stem of leaf 1 just to one side of it.',
'From here on, never rest the mask on its crown. Lay it over a rolled towel, or hang it by the strap.'],
check='Three large leaves stand in a narrow fan at the centre, raked back, with their stems side by side on the front of the band.'),
'back': dict(time='10 min', glue='Hot glue, on the stem only', do=[
'Turn the mask face-down over the rolled towel, with the centre leaves hanging clear of it. The four outer large leaves glue by their <b>stems</b> to the <b>back</b> of the band, leaf faces toward the front.',
'Leaves 1 and 2: one 36 mm to each side of the centre line, leaning out 22°. Set them so the leaf blade starts level with the top edge of the band.',
'Leaves 3 and 4: 52 mm each side, leaning out 30°, and 10 mm lower on the band.',
'Keep every stem inboard of the strap patches. Rake each leaf back to match the centre three and hold it until the glue has cooled. Their inner edges tuck behind the edges of the centre leaves.'],
check='From the front, seven large leaves read as one fan: a tall centre leaf with three stepping down on each side.'),
'twigs': dict(time='10 min', glue='Contact cement on the band, a dab of hot glue higher up', do=[
'Mask face-up over the rolled towel. The twigs are flat on one side, and that flat side goes against the foam with the bark facing out.',
'Each twig stands on the <b>front</b> of the band, its thick end just above the brow strip and about 30 mm out from the centre line, beside the knot. Roughly 22 mm of it lies on the band.',
'Cement that lower part to the band. Above the band the twig lies against the front of the large leaves, so add one dab of hot glue where it touches a leaf to stop it rattling.',
'The forked ends should reach up between the leaves. The front row goes on later and covers the thick ends.'],
check='Both twigs sit flat on the band, roughly mirrored, with the bark side facing forward.'),
'knot': dict(time='5 min + tack time', glue='Contact cement', do=[
'Turn the mask face-up again. The knot sits on the <b>front</b> of the band at the centre line, on top of the three centre stems, with its lower edge touching the top edge of the brow strip. It overhangs the top edge of the band by about 14 mm, which is intended.',
'Brush contact cement on the back of the knot and on the stems and foam it will cover. Wait until touch-dry.',
'Press it on with your other hand flat behind the band. No stems are glued to the back at the centre, so the band can be backed properly.'],
check='Knot and strip read as one piece of wood, and the three centre stems are hidden.'),
'front': dict(time='15 min', glue='Hot glue, on the stem only', do=[
'Six medium leaves, stems glued to the <b>front</b> of the band in the space directly above the brow strip, either side of each twig.',
'Leaves 1 and 2: either side of the knot, about 24 mm from the centre line, leaning out 12°. Their inner lobes rest on the sides of the knot; the middle of the knot stays visible between them.',
'Leaves 3 and 4: 42 mm out, leaning 27°, their blades crossing in front of the twigs. Leaves 5 and 6: 58 mm out, leaning 42°, with their blades resting on the inner edge of each acorn cluster.',
'Hold each one leaning back toward the large leaves until its glue has cooled. Where a leaf rides up over the knot or an acorn it will stand a little proud, which looks natural.'],
check='From the side there is little or no daylight between the front row and the large leaves behind it.'),
'hang': dict(time='10 min', glue='Hot glue', do=[
'Each full acorn hangs from an 8 cm length of fishing line. Thin wire works just as well. Tie one end around the stem of the acorn, tight under the cap, and lock the knot with a drop of hot glue. With wire, wrap it twice and twist it closed.',
'Hot-glue the last 10 mm of the free end to the front of the cheek tab, pointing <b>up</b>, on the outer half of the tab about 12 mm below the lower edge of the band. That is just under where the glasses arm rests.',
'Lead the line downward and outward from there, so the acorn hangs past the outer edge of the cheek tab, level with the lens. Fishing line lets the acorn swing; wire can be bent to hold it in one place.'],
check='The anchor holds when you tug the acorn. With glasses on, the line does not touch the arm.'),
'tendrils': dict(time='15 min', glue='Hot glue for the tip leaves, contact cement for the tendrils', do=[
'On the bench first: hot-glue the stem of one tip leaf to the curled end of each of the four tendrils.',
'Each cheek tab takes two tendrils <b>side by side</b> on the front of its lower third, each glued flat by the first 8 mm of its straight end. Flip the acorn up out of the way while you work.',
'Tendril 1 goes on the inner half of the tab and curls toward the nose. Tendril 2 goes on the outer half and curls toward the ear. They fan apart and must not cross. Each one is rigid and 7 mm thick, so a crossed tendril cannot sit flat.'],
check='All four hang freely below the cheek tabs, none crosses another, and none touches a lens.'),
'cheeks': dict(time='10 min', glue='Hot glue, on the stem only', do=[
'Three leaves per side, tips down, stems side by side across the top of the cheek tab. Keep the tops of the stems just below the line the glasses arm rests on. Keep the acorn flipped up until all three are on.',
'Leaf 1 (medium): centre of the tab, straight down.',
'Leaf 2 (small): toward the lens, straight down. Its blade must stay off the glass.',
'Leaf 3 (small): toward the ear, tip angled outward about 8°. Its stem and the stem of leaf 1 go <b>over</b> the line and hide the anchor.',
'Let the acorn drop. It hangs in front of the outer lobes of leaves 1 and 3. The tendrils hang out below all three.'],
check='Glasses on: both arms sit flat, no cheek leaf shows through a lens, and each acorn swings freely.'),
'nose': dict(time='5 min', glue='Hot glue, on the stem only', do=[
'One small leaf, tip down, on the front of the nose strip of the base. The stem glues at the very top of the nose strip and runs up under where the bridge of the glasses sits.',
'The leaf is wider than the nose strip, so its side lobes hang free and show at the inner corners of the lenses, as in the photos. If that bothers you, trim the two widest lobes.',
'Press it to follow the curve of your nose while the glue is warm.'],
check='Glasses still seat on your nose as they did before. If they ride up, thin the stem with a blade.'),
}
SHORT = {'L': ('large leaf', 'large leaves'), 'M': ('medium leaf', 'medium leaves'), 'S': ('small leaf', 'small leaves'), 'T': ('tip leaf', 'tip leaves'),
'STRIP': ('brow strip',)*2, 'KNOT': ('bark knot',)*2, 'TWIG': ('twig', 'twigs'), 'AL': ('large acorn half', 'large acorn halves'), 'AS': ('small acorn half', 'small acorn halves'),
'AF': ('full acorn', 'full acorns'), 'SPIRAL': ('tendril', 'tendrils'), 'STRAP': ('elastic strap',)*2, 'WIRE': ('hanging line', 'hanging lines'), 'PATCH': ('strap patch', 'strap patches')}
def qty(k, n): return f'{n} {SHORT[k][0 if n == 1 else 1]}'
def step_counts(key):
c = Counter()
for p in M.step_placements(key): c[p['part']] += p.get('count', 1)
return OrderedDict((k, n) for k, n in c.items() if n)
def step_parts(key): return ''.join(f'<span class="chip">{qty(k, n)}</span>' for k, n in step_counts(key).items())
def piles():
"""Where each cut leaf goes, straight from the manifest."""
names = {'back': 'crown, outer', 'centre': 'crown, centre', 'front': 'front row', 'cheeks': 'cheeks', 'nose': 'nose', 'tendrils': 'tendrils'}
out = [f'{names[k]} ({", ".join(qty(p, n) for p, n in step_counts(k).items() if p in "LMST")})' for k in names]
return ', '.join(out) + f', spares ({", ".join(qty(p, n) for p, n in M.SPARES.items())})'
def step_block(key, n):
st = M.STEPS[key]; t = STEP[key]; done = STEPKEYS[:STEPKEYS.index(key)]
view = 'back' if st['view'] in ('back', 'both') else 'front'
svg = D.scene(view, done=done, hl=key, numbers=True)
cap = ('Back view (the side that touches your face). ' if view == 'back' else 'Front view. ') + 'Red outline: glued in this step. Numbers: the order. Grey: already on.'
why = ''.join(f'<li>After <b>{M.STEPS[d]["title"].lower()}</b>: {r}.</li>' for d, r in st['after'])
body = f'<div class="step-head"><span class="num">{n}</span><h3>{st["title"]}</h3><span class="meta">{t["time"]} · {t["glue"]}</span></div>'
body += f'<div class="chips">{step_parts(key)}</div>' + ol(t['do'])
if why: body += f'<div class="why"><b>Why now</b><ul>{why}</ul></div>'
body += f'<div class="check"><b>Before moving on</b> {t["check"]}</div>'
extra = fig(strap_section(), 'The strap anchor seen from above. The elastic loops around the 20 mm of foam between the slit and the edge, and the tail is glued to the strap behind the band.', 'wide') if key == 'strap' else ''
return f'<section class="step" id="step-{key}">{fig(svg, cap, "stepfig")}<div class="step-body">{body}</div>{extra}</section>'
def construction():
H = []
H.append(f'''<header class="cover"><div class="cover-text"><p class="kicker">Build guide</p><h1>Green Man mask</h1>
<p class="lead">A half-mask of oak leaves, acorns and bark, built for people who wear glasses. The structure is EVA foam with a handful of 3D-printed details, and your glasses go on over it.</p>
<dl class="facts"><div><dt>Hands-on time</dt><dd>about 8 hours over 3 evenings</dd></div><div><dt>Printing</dt><dd>{print_total()} small parts, printed unattended</dd></div>
<div><dt>Foam</dt><dd>1 base, {leaf_total()} leaves</dd></div><div><dt>Skills</dt><dd>craft knife, heat gun, contact cement</dd></div></dl></div>
{photo("finished", "The finished mask, worn with a knitted hood.", "cover-photo")}</header>''')
H.append('''<section><h2>Tested in use</h2>
<p>This mask was built and then worn for a full day at a renaissance faire, glasses and all. It stayed comfortable, nothing came loose, and it needed no repairs. The photos throughout this guide are from that build.</p>
<p>The templates and print files have been refined a little since then, so dry-fit the parts against your own base before gluing, as the guide suggests.</p></section>''')
H.append(f'''<section><h2>How it goes together</h2><div class="cols"><div>
<p>The base is a band of 6 mm foam across the forehead with a strip down the nose and a tab on each cheek. It is worn <b>behind</b> your glasses, so the frame rests on the foam and nothing surrounds the lenses.</p>
<p>Everything else is glued to that band in layers. Seven large leaves stand up from the band and rake back over the head: the four outer ones glued to its back face, the three centre ones to its front. A printed bark strip sits across the front, and a knot covers the centre stems. Two twigs and a row of medium leaves stand in front of the large ones. Acorns cover the strap anchors at the temples. Leaves and tendrils hang from the cheek tabs into the beard.</p>
<p>Assembly order follows from what overlaps what. Each step says why it comes where it does.</p></div>
{fig(side_profile(), "Two slices through the mask, seen from the wearer’s left, with the front of the mask to the right.", "profile")}</div>
<div class="cols">{fig(D.scene("front", done=STEPKEYS, palette=D.BUILD), "Front: every part in place.")}{fig(D.scene("back", done=["strap", "strip", "back"], palette=D.BUILD), "Back: strap anchors and the stems of the four outer large leaves.")}</div></section>''')
mats = [('6 mm EVA foam', 'one piece 21 × 15 cm', 'base'), ('2 mm EVA foam', f'about {foam2_cm2():,} cm² laid out tightly; one 30 × 45 cm sheet, or three letter-size sheets', f'{leaf_total()} leaves, 2 strap patches'),
('PLA filament', f'about {filament_g()} g', f'{print_total()} parts and the vein stamp'), ('Flat elastic, 19 mm (¾ in) wide', '60 cm; add 30 cm for the optional top strap', 'strap'),
('Fishing line, or thin floral wire', '20 cm', 'hanging acorns'),
('Painter’s tape', '', 'masking the strap before sealing'), ('Contact cement', 'small can; Barge or Weldwood original, not the gel or water-based kind', 'foam to foam, printed parts to foam'),
('Hot glue, high-temperature', '4 to 5 sticks', 'leaf stems, elastic tails, hanging lines'), ('Card stock', '4 sheets', 'templates'),
('120-grit sandpaper, rubbing alcohol', '', 'roughing and cleaning printed parts before gluing')]
tools = 'Craft knife with spare blades, cutting mat, heat gun, hot-glue gun, a small brush for the cement, silver or white pen for tracing on dark foam, a pin, scissors, a heat-proof glove, two towels, ruler. A printer for the templates and a 3D printer with a bed of at least 150 × 135 mm.'
H.append(f'''<section><h2>Materials and tools</h2>{table(["Material", "How much", "Used for"], mats)}<p><b>Tools.</b> {tools}</p>
<p>Paint and sealer are listed in the painting guide.</p></section>''')
H.append(f'''<section class="keep"><h2>Everything you will make</h2><p>This list is complete, and every item on it ends up on the mask. The only extras are three spare leaves, which you keep unpainted for repairs.</p>{parts_table()}</section>''')
plan = [('Evening 1', 'Start the print (stamp and brow strip first). Print the templates, paper-fit the base, cut and heat-form it. Fit the strap.', '1½ h'),
('Evening 2', f'Cut, vein and curl the {leaf_total()} leaves. Clean up the printed parts and heat-form the brow strip.', '2 h'),
('Evening 3', f'Assemble ({len(ASSEMBLY)} steps). Seal and paint, following the painting guide. Hang overnight.', '2 h + 3 h'),
('Next morning', 'Finger-test the paint, pack the spare leaves and a small glue gun, wear it.', '5 min')]
H.append(f'''<section class="keep"><h2>Plan your time</h2>{table(["When", "What", "Hands-on"], plan)}
<p>Printing takes the longest, though none of the evening 1 work or the leaf cutting waits on it. Start it first and let it run. If a print fails overnight you still have a day of slack.</p></section>''')
H.append(f'''<section><h2>Stage A · Print</h2>{print_table()}
<div class="stl-grid">{"".join(f'<figure><img src="{IMG}{n[:-4]}.png" alt="{n}"><figcaption>{n[:-4].replace("_", " ")}</figcaption></figure>' for n in REPORT)}</div><div class="cols"><div><p><b>Settings.</b> PLA, 0.4 mm nozzle, 0.2 mm layers, 3 walls, 15% infill, brim on. No supports on anything. For the brow strip use 4 top and bottom layers, because it has to bend later without snapping.</p>
<p><b>Print order.</b> First the vein stamp and the brow strip, so the leaf work is never waiting on the printer. Then everything else, on as many plates as your bed needs. Expect the full set to take most of a day on a slow printer.</p><p><b>Scaled your base?</b> If you print the base template at anything other than 100% (see Stage B), scale <code>brow_strip.stl</code> by the same percentage in the slicer.</p>
</div><div><p><b>Every part has a flat underside along its full length.</b> If your slicer shows any part of a model floating above the bed, the model has been rotated, so lay it back on its flat face.</p></div>
</div></section>''')
H.append(f'''<section><h2>Stage B · Base</h2><div class="cols"><div>{ol([
'Print the template pages on card stock at 100%. Measure the 100 mm bar on every page before cutting anything.',
'<b>Paper fit.</b> Cut the base out of paper, hold it to your face and put your glasses on over it. The band should lie on your forehead with the frame’s top bar along its lower edge, the nose strip should drop between the nose pads, and each cheek tab should sit outside the frame with the arm passing over it. If your frame is not close to 140 mm wide, reprint the base page only at the scale in its fit table. On that reprint the bar will measure the scaled length (93 mm at 93%), the brow strip must be printed at the same scale, and the distances given in the assembly steps shrink or grow by the same few percent; the drawings still show where everything goes.',
'Trace onto 6 mm foam and cut with the blade upright. Fold the template on its centre line and cut both halves together if you want exact symmetry.',
'<b>Heat-form.</b> Warm the band with the heat gun for a few seconds at a time and press it to your forehead (through a cloth) until it holds the curve. Do the same to bend each cheek tab in against your cheekbone.',
'Score the back of the nose strip lightly where it meets the band, so it drapes down your nose.',
'Put it on under your glasses again. It should sit there on its own for a moment before it slides.'])}</div>
{photo("base_fit", "The formed base behind the glasses. (This photo was taken after the strap went on in Stage C.) The frame’s top bar runs along the lower edge of the band.")}</div></section>''')
H.append('<section><h2>Stage C · Strap</h2>' + step_block('strap', 'C') + '''<div class="note"><b>Optional second strap: decide now.</b> One strap, sitting at brow level, holds the mask comfortably through a full day. If you want a second one as insurance, fit it now, the same way: a patch on the back at the dashed slit marked top-centre on the template, a slit through both, 30 cm of elastic running over the top of your head and stitched to the main strap behind it. It cannot be added later, because the knot and the centre leaf will cover that spot. It can always be snipped off.</div></section>''')
H.append(f'''<section><h2>Stage D · Leaves</h2><div class="cols"><div>{ol([
f'Trace and cut exactly the numbers printed on the template pages: {ML["L"]["total"]} large, {ML["M"]["total"]} medium, {ML["S"]["total"]} small, {ML["T"]["total"]} tip. Tick the boxes as you go. Turn the card over for every other leaf.',
'<b>Veins.</b> Warm a leaf for 3 to 5 seconds until it just goes limp, lay it on a firm surface and press the stamp into it hard for about 5 seconds. For the large leaves stamp the upper and lower halves separately. For small and tip leaves use just the tip end of the stamp. No stamp yet? Score the veins with a ballpoint pen on warm foam.',
'<b>Cup and curl</b> while it is still warm: press your thumb along the midrib to cup it, then bend the tip back. Crown leaves get a strong curl; cheek and nose leaves only a slight one. All shaping happens now. Once leaves are glued on, a heat gun would soften the hot glue and the printed parts.',
f'Sort into piles by where they go: {piles()}. Put the spares away now, unpainted.'])}</div>
{photo("leaf_pile", "Cut leaves, the vein stamp, and printed parts, ready for assembly.")}</div></section>''')
H.append(f'''<section><h2>Stage E · Prepare the printed parts</h2>{ol([
'Snap off the brims. Sand every flat back with 120 grit until it is dull, then wipe with alcohol. Contact cement will not hold on glossy PLA.',
'<b>Form the brow strip.</b> Warm it from the back on the gun’s low setting, moving constantly, until it starts to sag (10 to 15 seconds). Lay it on the curved band, press from the centre outward with a gloved hand, and hold for 30 seconds. Bend in stages; forcing the ends cold will crack it. Do not glue it yet.',
'<b>Dry-fit everything</b> against the front-view drawing in “How it goes together”: strip, knot, acorns over the strap, a few leaves held in place. A part that does not fit your base is much cheaper to notice now.'])}</section>''')
H.append('<section><h2>Stage F · Assembly</h2><p>' + f'{len(ASSEMBLY)} steps' + ', about two hours. Hot glue goes on leaf stems, so every blade can still be lifted to reach behind it. The brow strip and acorns are pressed on first, while the mask can still lie flat. The crown is built up after that, starting with the large leaves. Work with glasses within reach; several checks need them.</p>'
+ ''.join(step_block(k, i+1) for i, k in enumerate(ASSEMBLY)) + '</section>')
H.append(f'''<section class="keep"><h2>Final fit</h2><div class="cols"><div>{ul([
'Put it on, then your glasses. Walk around, look down, shake your head.',
'Both glasses arms sit flat and pass under the acorn clusters.',
'Nothing presses on a lens. (The side lobes of the nose leaf do show at the inner corners.)',
'The crown does not nod forward. If it does and you fitted the top strap, shorten it a little.',
'Flex the crown gently and look for any leaf that moves at its stem. Re-glue it now.'])}
<p>Then go to the painting guide. Nothing more is glued on after sealing.</p></div>{photo("assembled_a", "Assembled and unpainted. The foam colours do not matter; sealer covers them.")}</div></section>''')
H.append('''<section class="keep"><h2>If something is off</h2>''' + table(['Problem', 'Fix'], [
('Mask nods forward', 'Shorten the top strap if you fitted one. If not, it cannot be added now; unpick one strap tail at the back and re-glue it 10 mm shorter so the band grips higher on the forehead.'),
('Glasses ride up or rock', 'The nose strip or the nose-leaf stem is too thick under the bridge. Thin the foam there with a blade or a sanding drum.'),
('A cheek tab flares out', 'Before assembly: reheat its lower corner and hold it against your cheekbone until cool. After assembly: warm only the back of the tab with a hair dryer, never a heat gun.'),
('A leaf sits at the wrong angle', 'Do not reheat it in place. Peel the stem off, reshape the leaf away from the mask, glue it back.'),
('Brow strip cracked while forming', 'It was bent too cold. Glue it down anyway with the crack closed; paint hides it. Or reprint: it is a 35-minute part.'),
('A leaf comes off', 'Use a spare (medium or small; cut a large or tip leaf fresh if you lose one). Hot glue on the stem, then base colour brushed straight onto the foam; good enough for a repair.'),
('Frame catches under the band', 'Shave a shallow groove along the back of the band where the top bar crosses it.')]) + '</section>')
H.append('''<section class="keep"><h2>Without glasses</h2><div class="note warn"><b>Untested.</b> The no-glasses base on template page 2 was drawn from the glasses base and has not been built.</div>
<p>It is the same band, nose strip and cheek tabs, joined under the eyes, with two 46 × 24 mm eye holes 64 mm apart. Everything in this guide applies unchanged, with three differences: paper-fit by checking you see clearly through both holes; ignore the instructions about glasses arms and lenses; and you may let the cheek leaves and the nose leaf sit a little higher, since no frame is in the way. Keep leaf blades clear of the eye holes.</p></section>''')
return ''.join(H)
# --------------------------------------------------------------------------- painting guide
TONES = {'L-back': 'back', 'L-front': 'back', 'M-front': 'front', 'M-cheek': 'cheek', 'S-cheek': 'cheek', 'S': 'cheek', 'T': 'cheek'}
def _pal(**kw):
p = dict(D.BUILD); p.update(kw); return p
SEAL = _pal(base='#3d3d3d', base_s='#262626', L='#3d3d3d', M='#3d3d3d', S='#3d3d3d', T='#3d3d3d', leaf_s='#262626', vein='#2c2c2c', bark='#3d3d3d', bark_s='#262626', ridge='#2c2c2c', nut='#3d3d3d', cap='#3d3d3d', tendril='#3d3d3d', tendril_s='#262626', strap='#3d3d3d')
BASEC = _pal(base='#1f4d22', base_s='#143016', L='#1f4d22', M='#1f4d22', S='#1f4d22', T='#1f4d22', leaf_s='#143016', vein='#18401b', bark='#3a2614', bark_s='#24170b', ridge='#32200f', nut='#3a2614', cap='#3a2614', tendril='#1f4d22', tendril_s='#143016', strap='#3a2614')
MID = _pal(**{**BASEC, 'back': '#2b5c2c', 'front': '#3f7d37', 'cheek': '#3f7d37', 'T': '#3f7d37', 'tendril': '#2f6830'})
HI = _pal(**{**MID, 'edge_front': '#b4d455', 'edge_cheek': '#b4d455', 'vein_front': '#b4d455', 'vein_cheek': '#a6c94e', 'tendril_s': '#a6c94e'})
BARK = _pal(**{**HI, 'bark': '#6b4a2b', 'ridge': '#d1ab5e', 'nut': '#8a5a2b', 'cap': '#6b4a2b', 'cap_hi': '#d1ab5e'})
WASH = _pal(**{**BARK, 'back': '#244f26', 'front': '#376d30', 'cheek': '#376d30', 'T': '#376d30', 'vein': '#3a2a14', 'vein_front': '#5a4a1c', 'vein_cheek': '#5a4a1c', 'base': '#173a1a', 'bark': '#573b21', 'ridge': '#c19c54', 'cap': '#573b21', 'leaf_s': '#2a2010', 'strap': '#2a1c0e'})
FIN = _pal(**{**WASH, 'edge_back': '#9cc14d', 'vein_back': '#6f8f3a', 'gloss': True, 'nut': '#9a6a34'})
STAGES = [
dict(key='seal', n=1, title='Seal', time='60 min with waits', pal=SEAL, photo=None, use='Plasti Dip spray, black or grey', do=[
'Wrap the part of the strap that goes behind your head in painter’s tape; sealer stiffens elastic. Hang the mask by the strap. Flex apart any two leaves that touch face to face.',
'Three mist coats from about 30 cm. Each coat is five short passes: from below looking up into the crown, from above, from the left, from the right, and from behind for the backs of the large leaves. The straight-on front view covers first and matters least. The skin side of the base gets whatever lands on it and is not painted.',
'If a surface looks wet you are too close. Wet sealer runs into the overlaps and glues neighbouring leaves into a web.',
'Wait 10 to 15 minutes between coats, and each time run a finger between leaves that sit close together to break any bridge.',
'After the third coat wait 30 minutes. Bare foam still showing in the deepest pockets is fine: the wash will sit there.'],
done='Foam, PLA and elastic are one even matte colour and every leaf still moves separately.'),
dict(key='base', n=2, title='Base coats', time='40 min', pal=BASEC, photo='paint_base', use='Dark green, dark brown; flat 12 mm brush', do=[
'<b>Dark green</b> on every leaf, front and back, on the tendrils and tip leaves, and on all foam you can see: the edges of the band, the cheek tabs, the nose strip.',
'<b>Dark brown</b> on the brow strip, the knot, the twigs, every acorn (nut and cap), and the elastic where it shows at the temples.',
'Thin the paint a little so it flows, and push the brush under every leaf edge. Two thin coats beat one thick one.',
'It can be sloppy, since five more stages go over it.'],
done='Nothing sealer-coloured shows from any angle you would be seen from. Everything will look flat and dull at this point.'),
dict(key='mid', n=3, title='Leaves: mid-tone', time='30 min', pal=MID, photo='paint_mid', use='Mid green; old stiff 8 mm flat brush, paper towel', do=[
'<b>Dry-brush.</b> Load the brush, wipe nearly all the paint off on a paper towel, then drag it lightly across the surface so only the raised parts catch colour. Test on the towel: a stroke should leave almost nothing.',
'Brush from stem toward tip on the face of every leaf.',
'Large leaves: one light pass. Front row, cheek leaves, nose leaf and tip leaves: two or three passes. That difference gives the crown its depth.',
'One light pass along the top of each tendril, and on leaf backs wherever they show from the side.'],
done='Leaves are clearly green with dark veins. The front row is visibly lighter than the large leaves behind it.'),
dict(key='hi', n=4, title='Leaves: highlights', time='15 min', pal=HI, photo='paint_hi', use='Yellow-green; the same brush, drier still', do=[
'Forward leaves only: front row, cheek leaves, nose leaf, tip leaves, and the curl of each tendril.',
'Drag the nearly dry brush across the lobe tips and along the vein ridges. It should come out streaky, the way light catches a real leaf.',
'<b>Leave the large leaves alone for now.</b> They get their highlight after the wash.',
'Stop early. If a leaf looks striped there was too much paint on the brush.'],
done='From across the room the front row stands out from the large leaves.'),
dict(key='bark', n=5, title='Bark and acorns', time='20 min', pal=BARK, photo='paint_bark', use='Warm brown, tan or old gold; the dry-brushing brush, rinsed', do=[
'<b>Warm brown</b> dry-brushed over the brow strip, the rings of the knot, the tops of the twigs and the acorn nuts.',
'<b>Tan or old gold</b>, drier, on the very tops of the strip’s ridges and knobs, the knot’s rings, and across the acorn caps so it catches each scale.',
'No other step changes the mask as much. The strip stops looking like painted plastic and starts to look carved.'],
done='The strip and knot are the first thing your eye goes to.'),
dict(key='wash', n=6, title='Dark wash', time='30 min', pal=WASH, photo='paint_wash', use='Burnt umber thinned 1:4 with water, a drop of dish soap; round 4 mm brush, damp rag', do=[
'Flood the wash into every low place: leaf veins and the notches between lobes, under every overlap, the grooves of the strip, around the knot, between acorn scales, where stems meet the band.',
'Within a minute, wipe the raised surfaces with the damp rag so the brown stays only in the low places.',
'On the strip, wipe the ridge tops promptly to keep the gold. On the foam base and deep under the crown, leave it; those should go dark.',
'Do the whole mask in one session so it dries evenly. It looks too contrasty while wet, though it settles as it dries.'],
done='Every vein and groove is dark, every raised surface still shows its colour.'),
dict(key='fin', n=7, title='After the wash', time='15 min, then overnight', pal=FIN, photo='paint_final', use='Yellow-green, gloss varnish or clear nail polish', do=[
'<b>Re-highlight the tall leaves.</b> The wash dulls the large leaves more than the rest. Once it is dry, dry-brush yellow-green down the midrib and across the top lobes of the three centre large leaves. Top halves only.',
'Optional, and it must come before the gloss: one light coat of matte spray varnish over the whole mask, to protect the dry-brushing from a hood or scarf. Let it dry.',
'<b>Gloss</b>, brushed on last, on the acorn nuts and a dot in the eye of the knot. Caps stay matte.',
'Hang by the strap overnight somewhere warm with moving air. Do not lay it down, because leaves set in whatever shape they rest in.'],
done='Next morning a finger pressed on a hidden spot lifts no paint.'),
]
def stage_block(st):
svg = D.scene('front', done=STEPKEYS, palette=st['pal'], tones=TONES, glasses=False)
pics = fig(svg, 'What this stage should look like, as a diagram.') + (photo(st['photo'], 'The mask at the end of this stage.') if st['photo'] else '')
body = f'<div class="step-head"><span class="num">{st["n"]}</span><h3>{st["title"]}</h3><span class="meta">{st["time"]} · {st["use"]}</span></div>' + ol(st['do']) + f'<div class="check"><b>Done when</b> {st["done"]}</div>'
return f'<section class="stage" id="stage-{st["key"]}"><div class="stage-pics">{pics}</div><div class="step-body">{body}</div></section>'
def surface_table():
c = M.counts(); nA = c['AL'] + c['AS'] + c['AF']
rows = [(f'Crown, large leaves ({qty("L", c["L"])})', '✓', 'dark green', '1 light pass', '', '', 'veins, notches', 'top lobes of the 3 centre leaves'),
(f'Crown front row ({qty("M", step_counts("front")["M"])})', '✓', 'dark green', '2 to 3 passes', 'edges, veins', '', 'veins, notches, overlaps', ''),
(f'Cheek leaves ({", ".join(qty(k, n) for k, n in step_counts("cheeks").items())}) and nose leaf', '✓', 'dark green', '2 to 3 passes', 'edges, veins', '', 'veins, notches', ''),
(f'Tip leaves ({c["T"]})', '✓', 'dark green', '2 to 3 passes', 'tips', '', 'light', ''),
(f'Tendrils ({c["SPIRAL"]})', '✓', 'dark green', 'tops only', 'the curl', '', 'inside the curl', ''),
('Leaf backs that show from the side', '✓', 'dark green', '1 light pass', '', '', 'light', ''),
('Foam base: band edges, cheek tabs, nose strip', '✓', 'dark green', '', '', '', 'all over; leave it dark', ''),
('Brow strip', '✓', 'dark brown', '', '', 'warm brown, then gold on ridge tops', 'every groove; wipe ridges fast', ''),
('Bark knot', '✓', 'dark brown', '', '', 'warm brown, then gold on rings', 'between rings', 'gloss dot in the eye'),
(f'Twigs ({c["TWIG"]})', '✓', 'dark brown', '', '', 'warm brown on top', 'light', ''),
(f'Acorn nuts ({nA})', '✓', 'dark brown', '', '', 'warm brown', 'at the cap line', 'gloss'),
(f'Acorn caps ({nA})', '✓', 'dark brown', '', '', 'gold across the scales', 'between scales', 'stay matte'),
('Elastic where it shows', '✓', 'dark brown', '', '', '', '', '')]
return table(['Surface', '1 Seal', '2 Base', '3 Mid-tone', '4 Highlight', '5 Bark', '6 Wash', '7 After'], rows, 'data dense')
def leaf_strip():
pals = [('Sealed', SEAL, None), ('Base', BASEC, None), ('Mid-tone', MID, 'front'), ('Highlight', HI, 'front'), ('Wash', WASH, 'front')]
out = ''
for name, pal, tone in pals:
p = dict(part='M', shape=G.oak('M', 0), x=0, y=0, ang=0, flip=False, tone=tone)
out += f'<figure><svg xmlns="http://www.w3.org/2000/svg" viewBox="-30 -74 60 90">{D._leaf(p, pal, False, False)}</svg><figcaption>{name}</figcaption></figure>'
return f'<div class="leafstrip">{out}</div>'
def painting():
H = []
H.append(f'''<header class="cover"><div class="cover-text"><p class="kicker">Painting guide</p><h1>Green Man mask</h1>
<p class="lead">Seven simple layers, ordered so that none of them undoes an earlier one. Allow about three and a half hours including drying, then leave it overnight to cure.</p>
<dl class="facts"><div><dt>Start with</dt><dd>the assembled mask, nothing left to glue</dd></div><div><dt>Technique</dt><dd>dry-brushing and one wash</dd></div>
<div><dt>Application</dt><dd>brushed, apart from the sealer and optional varnish</dd></div><div><dt>Finish by</dt><dd>the evening before you wear it</dd></div></dl></div>
{photo("finished_front", "Finished and worn.", "cover-photo")}</header>''')
paints = [('Plasti Dip spray, black or grey', '1 can', 'Sealer. Flexible, so it does not crack when leaves bend.'),
('Dark green', 'most used', 'Phthalo, Hooker’s or forest green. Base for all leaves, tendrils and foam.'),
('Mid green', '', 'Sap green or similar. The main leaf colour.'), ('Yellow-green', 'a little', 'Mid green plus yellow. Leaf highlights.'),
('Dark brown (burnt umber)', '', 'Base for bark and acorns, and thinned for the wash.'), ('Warm brown', 'a little', 'Burnt or raw sienna.'),
('Tan or old gold', 'a little', 'Ridge tops and acorn caps.'), ('Gloss varnish or clear nail polish', 'a few drops', 'Acorn nuts.'), ('Matte spray varnish', 'optional', 'Protects the finish.')]
H.append(f'''<section><h2>Paints and brushes</h2>{table(["Paint", "Amount", "Notes"], paints)}
<p><b>Brushes.</b> A 12 mm flat for base coats, an old stiff 8 mm flat for all the dry-brushing, a 4 mm round for the wash and the gloss. Paper towels, a water cup, a damp rag, a drop of dish soap for the wash, painter’s tape. Ordinary craft acrylics are fine.</p></section>''')
H.append(f'''<section><h2>Why this order</h2><div class="cols"><div>{ul([
'<b>Sealer goes on first.</b> Paint soaks into bare foam and flakes off bare PLA.', '<b>Dark base coats come before anything light</b>, since dry-brushing only shows over a darker colour.',
'<b>Highlights go on before the wash.</b> If a highlight came out too strong, the wash softens it.',
'<b>The tall centre leaves get one more highlight after the wash</b>, because the wash flattens them most.',
'<b>Gloss is the last thing on</b>, as either the wash or a matte varnish would dull it.'])}</div>
<div><p>One medium leaf through five of the stages:</p>{leaf_strip()}</div></div></section>''')
H.append(f'<section class="keep"><h2>Every surface, every stage</h2><p>Tick down each column as you finish a stage. If a row has an entry in the column, that surface gets paint in that stage.</p>{surface_table()}</section>')
H.append('<section><h2>Stages</h2>' + ''.join(stage_block(s) for s in STAGES) + '</section>')
H.append('<section><h2>If something is off</h2>' + table(['Problem', 'Fix'], [
('Leaves stuck together after sealing', 'Slide a blade between them now. After paint it tears.'), ('Dry-brush went on solid', 'Too much paint. Let it dry, dry-brush the base colour back over it, try again with a drier brush.'),
('Wash dried on a raised surface', 'Scrub with a damp brush within the hour, or dry-brush that surface’s colour back over it.'), ('The whole thing looks flat', 'More contrast between rows: another pass of highlight on the front row only.'),
('Paint still tacky in the morning', 'Thick sealer underneath. An hour in front of a fan before wearing.')]) + '</section>')
return ''.join(H)
+157
View File
@@ -0,0 +1,157 @@
"""SVG drawings generated from the manifest. Units are mm (viewBox in mm); y is flipped for SVG."""
import numpy as np
from shapely.geometry import Polygon, MultiPolygon, LineString, Point, box
from shapely import affinity
import geom as G, manifest as M
from geom import TOP
VB = (-130.0, -(TOP+156), 260.0, TOP+156+104) # x, y, w, h for the full mask, front or back view
BUILD = dict(base='#d9d6cc', base_s='#5b5850', L='#2f6b2f', M='#4c8a3c', S='#77ad4e', T='#93c25c', leaf_s='#1d4a1f', vein='#1d4a1f',
bark='#6b4a2b', bark_s='#3e2a16', ridge='#8f6d42', nut='#9a6a34', cap='#5a3d22', tendril='#2e6b2f', strap='#2b2b2b',
patch='#bdb7a3', wire='#777', glasses='#8a8a8a')
GHOST = dict(base='#eceae4', base_s='#9a978e', L='#e3e2dc', M='#e3e2dc', S='#e3e2dc', T='#e3e2dc', leaf_s='#b3b1a9', vein='#c4c2ba',
bark='#dddbd4', bark_s='#b3b1a9', ridge='#c9c7bf', nut='#dddbd4', cap='#d0cec6', tendril='#cfcdc5', strap='#bcbab2',
patch='#e6e3d8', wire='#bbb', glasses='#b8b8b8')
HL = '#c8321e'
def f(v):
s = f'{v:.2f}'.rstrip('0').rstrip('.')
return '0' if s == '-0' else s # keep output identical across platforms
def path(geom, mirror=False):
"""SVG path data for a shapely polygon / multipolygon (y flipped; optionally x mirrored for the back view)."""
sx = -1 if mirror else 1
if geom.geom_type == 'MultiPolygon': return ' '.join(path(g, mirror) for g in geom.geoms)
if geom.geom_type != 'Polygon': return ''
out = []
for ring in [geom.exterior] + list(geom.interiors):
c = list(ring.coords)
out.append('M' + ' L'.join(f'{f(sx*x)} {f(-y)}' for x, y in c[:-1]) + ' Z')
return ' '.join(out)
def line(ls, mirror=False):
sx = -1 if mirror else 1
return 'M' + ' L'.join(f'{f(sx*x)} {f(-y)}' for x, y in ls.coords)
def _leaf(p, pal, mirror, hl):
size = p['part']; tone = p.get('tone')
fill = (pal.get(tone) if tone else None) or pal[size]
edge = (pal.get('edge_' + tone) if tone else None) or pal.get('edge')
vein = (pal.get('vein_' + tone) if tone else None) or pal['vein']
s = f'<path d="{path(p["shape"], mirror)}" fill="{fill}" stroke="{HL if hl else edge or pal["leaf_s"]}" stroke-width="{0.9 if hl else (pal.get("edge_w", 1.0) if edge else 0.45)}" stroke-linejoin="round"/>'
v = ' '.join(line(G.place(l, p['x'], p['y'], p['ang'], p['flip']), mirror) for l in G.vein_lines(size, p.get('variant', 0)))
return s + f'<path d="{v}" fill="none" stroke="{vein}" stroke-width="{pal.get("vein_w", 0.35)}" stroke-linecap="round"/>'
def _strip(p, pal, mirror, hl):
s = f'<path d="{path(p["shape"], mirror)}" fill="{pal["bark"]}" stroke="{HL if hl else pal["bark_s"]}" stroke-width="{0.9 if hl else 0.5}"/>'
x = np.linspace(-G.STRIP_L/2+4, G.STRIP_L/2-4, 60); grooves = []
for k in range(5):
y = -7 + k*3.5 + 1.6*np.sin(x*0.09+k) + 0.7*np.sin(x*0.31+2*k)
keep = np.abs(y) < (11 - 5*(np.abs(x)/(G.STRIP_L/2))**1.6) - 1.5
seg = [(a, b + G.STRIP_Y) for a, b, kk in zip(x, y, keep) if kk]
if len(seg) > 2: grooves.append(line(LineString(seg), mirror))
s += f'<path d="{" ".join(grooves)}" fill="none" stroke="{pal["ridge"]}" stroke-width="0.7" stroke-linecap="round"/>'
for kx in (-52, -26, -5, 16, 40, 58):
s += f'<ellipse cx="{f((-1 if mirror else 1)*kx)}" cy="{f(-G.STRIP_Y)}" rx="4.2" ry="2.6" fill="{pal["bark"]}" stroke="{pal["ridge"]}" stroke-width="0.6"/>'
return s
def _knot(p, pal, mirror, hl):
cx, cy = G.KNOT_C; s = ''
for r, w in ((G.KNOT_R, 0.9 if hl else 0.5), (14, 0.7), (8, 0.7)):
s += f'<circle cx="{f(cx)}" cy="{f(-cy)}" r="{r}" fill="{pal["bark"]}" stroke="{(HL if hl else pal["bark_s"]) if r == G.KNOT_R else pal["ridge"]}" stroke-width="{w}"/>'
s += f'<ellipse cx="{f(cx)}" cy="{f(-cy)}" rx="3.6" ry="2.4" fill="{pal["bark_s"]}"/>'
if pal.get('gloss'): s += f'<circle cx="{f(cx-1)}" cy="{f(-cy-0.8)}" r="0.9" fill="#fff"/>'
return s
def _acorn(p, pal, mirror, hl):
w, l = G.ACORN[p['part']]; e = affinity.scale(Point(0, 0).buffer(1, 32), w/2, l/2)
cap = affinity.scale(e, 1.14, 1.0).intersection(box(-w, l*0.08, w, l)) # cap covers the upper ~40%
tfm = lambda g: G.place(g, p['x'], p['y'], p['ang'])
stroke = HL if hl else pal['bark_s']; sw = 0.9 if hl else 0.45
s = f'<path d="{path(tfm(e), mirror)}" fill="{pal["nut"]}" stroke="{stroke}" stroke-width="{sw}"/>'
if pal.get('gloss'):
s += f'<path d="{path(tfm(affinity.translate(affinity.scale(Point(0,0).buffer(1, 12), w*0.09, l*0.13), -w*0.2, -l*0.18)), mirror)}" fill="#fff" opacity="0.8"/>'
s += f'<path d="{path(tfm(cap), mirror)}" fill="{pal["cap"]}" stroke="{stroke}" stroke-width="{sw}"/>'
if pal.get('cap_hi'):
dots = [Point(dx, l*0.2+dy).buffer(0.9, 6) for dy in (l*0.02, l*0.12, l*0.22) for dx in np.linspace(-w*0.36, w*0.36, 5)]
s += ''.join(f'<path d="{path(tfm(d), mirror)}" fill="{pal["cap_hi"]}"/>' for d in dots if cap.contains(d))
return s
def _poly(p, pal, mirror, hl, fill, stroke, sw=0.45, dash=None):
d = f' stroke-dasharray="{dash}"' if dash else ''
return f'<path d="{path(p["shape"], mirror)}" fill="{fill}" stroke="{HL if hl else stroke}" stroke-width="{0.9 if hl else sw}" stroke-linejoin="round"{d}/>'
def _part(p, pal, mirror, hl):
k = p['part']
if k in 'LMST': return _leaf(p, pal, mirror, hl)
if k == 'STRIP': return _strip(p, pal, mirror, hl)
if k == 'KNOT': return _knot(p, pal, mirror, hl)
if k in ('AL', 'AS', 'AF'): return _acorn(p, pal, mirror, hl)
if k == 'TWIG': return _poly(p, pal, mirror, hl, pal['bark'], pal['bark_s'])
if k == 'SPIRAL': return _poly(p, pal, mirror, hl, pal['tendril'], pal.get('tendril_s') or pal['leaf_s'], 0.4)
if k == 'STRAP': return _poly(p, pal, mirror, hl, pal['strap'], pal['strap'], 0.3)
if k == 'PATCH': return _poly(p, pal, mirror, hl, pal['patch'], pal['base_s'], 0.4, '1.5 1')
if k == 'WIRE': return f'<circle cx="{f((-1 if mirror else 1)*p["x"])}" cy="{f(-p["y"])}" r="1.4" fill="{HL if hl else pal["wire"]}"/>'
return ''
def _base(base, pal, mirror, slits=True):
s = f'<path d="{path(base["outline"], mirror)}" fill="{pal["base"]}" stroke="{pal["base_s"]}" stroke-width="0.6" fill-rule="evenodd" stroke-linejoin="round"/>'
return s
def _glasses(pal):
s = ''.join(f'<path d="{path(G.lens(sg))}" fill="none" stroke="{pal["glasses"]}" stroke-width="1.1"/>' for sg in (-1, 1))
s += f'<path d="M{f(-G.BRIDGE/2-1)} {f(-(G.LENS_H/2-6))} Q0 {f(-(G.LENS_H/2+1))} {f(G.BRIDGE/2+1)} {f(-(G.LENS_H/2-6))}" fill="none" stroke="{pal["glasses"]}" stroke-width="1.1"/>'
for sg in (-1, 1):
s += f'<path d="M{f(sg*(G.FRAME_W/2-3))} {f(-(TOP-4))} L{f(sg*(G.FRAME_W/2+30))} {f(-(TOP-3))}" stroke="{pal["glasses"]}" stroke-width="1.6" stroke-linecap="round" fill="none"/>'
return s
def scene(view='front', done=(), hl=None, palette=None, numbers=False, glasses=True, base=None, hang_wire=True, vb=None, tones=None, extra=''):
"""One picture of the mask. done = steps already on (ghosted unless palette given); hl = step being added now."""
base = base or G.base_glasses(); mirror = view == 'back'
order = list(M.STEPS); show = set(done) | ({hl} if hl else set())
parts = [p for p in M.PLACEMENTS if p['step'] in show]
def pal_for(p):
if palette: return palette
return BUILD if p['step'] == hl else GHOST
backs = sorted([p for p in parts if p['face'] == 'back'], key=lambda p: -p['z'])
fronts = sorted([p for p in parts if p['face'] != 'back'], key=lambda p: p['z'])
for p in parts: p['tone'] = tones.get(p['id'].rsplit('-', 1)[0]) if tones else None
body = []
bpal = palette or (BUILD if (hl in (None, 'strap') or not done) else GHOST)
if view == 'front':
body += [_part(p, pal_for(p), False, p['step'] == hl and not palette) for p in backs if p['part'] != 'PATCH']
body.append(_base(base, bpal, False))
for p in fronts:
if p['part'] == 'AF' and hang_wire:
w = next(q for q in M.PLACEMENTS if q['id'] == p['onto'][0])
body.append(f'<path d="M{f(w["x"])} {f(-w["y"])} Q{f(p["x"])} {f(-w["y"]+2)} {f(p["x"])} {f(-(p["y"]+G.ACORN["AF"][1]/2))}" fill="none" stroke="{pal_for(p)["wire"]}" stroke-width="0.5"/>')
body.append(_part(p, pal_for(p), False, p['step'] == hl and not palette))
if glasses and base['kind'] == 'glasses': body.append(_glasses(bpal))
else:
body.append(_base(base, bpal, True))
for p in sorted(backs, key=lambda p: p['z']): body.append(_part(p, pal_for(p), True, p['step'] == hl and not palette))
if 'strap' in show: # the elastic as seen from behind: through the slit, tail lying on the patch, strap leaving sideways
sp = BUILD if hl == 'strap' else GHOST
for sg in (-1, 1):
x0 = -sg*G.SLIT_X; out = -sg*(G.FRAME_W/2+23)
body.append(f'<rect x="{f(min(x0, out+(-sg)*30))}" y="{f(-G.SLIT_Y1)}" width="{f(abs(out-x0)+30)}" height="{f(G.SLIT_Y1-G.SLIT_Y0)}" fill="{sp["strap"]}" opacity="0.9"/>')
body.append(f'<rect x="{f(min(x0, out))}" y="{f(-G.SLIT_Y1+2)}" width="{f(abs(out-x0))}" height="{f(G.SLIT_Y1-G.SLIT_Y0-4)}" fill="#6a6a6a" stroke="#fff" stroke-width="0.3" stroke-dasharray="1 1"/>')
if numbers and hl:
seq = [p for p in M.step_placements(hl) if p['footprint'] is not None and p['part'] not in ('STRAP',) and (p['face'] == 'back') == mirror]
for i, p in enumerate(seq):
c = p['footprint'].centroid; x = (-1 if mirror else 1)*c.x
body.append(f'<circle cx="{f(x)}" cy="{f(-c.y)}" r="3.3" fill="#fff" stroke="{HL}" stroke-width="0.6"/><text x="{f(x)}" y="{f(-c.y+1.25)}" font-size="3.6" font-weight="700" text-anchor="middle" fill="{HL}" font-family="Inter, Helvetica, Arial, sans-serif">{i+1}</text>')
v = vb or VB
return f'<svg xmlns="http://www.w3.org/2000/svg" viewBox="{f(v[0])} {f(v[1])} {f(v[2])} {f(v[3])}" role="img">{"".join(body)}{extra}</svg>'
if __name__ == '__main__':
steps = list(M.STEPS)
html = '<html><body style="margin:0;background:#fff;display:grid;grid-template-columns:repeat(3,420px)">'
html += f'<div>{scene("front", done=steps, palette=BUILD)}</div>'
html += f'<div>{scene("back", done=["strap","strip","back","twigs"], palette=BUILD)}</div>'
html += f'<div>{scene("front", done=steps[:6], hl="front", numbers=True)}</div>'
html += f'<div>{scene("back", done=["strap","strip"], hl="back", numbers=True)}</div>'
html += f'<div>{scene("front", done=steps[:8], hl="tendrils", numbers=True)}</div>'
html += f'<div>{scene("front", done=steps[:9], hl="cheeks", numbers=True)}</div>'
open(G.__file__.replace('geom.py', 'work/preview.html'), 'w').write(html + '</body></html>')
+6
View File
@@ -0,0 +1,6 @@
"""@font-face rules for the PDFs, pointing at the bundled files so a build does not depend on what is installed."""
from paths import ASSETS
_FACES = [('Inter', 400, 'Inter-Regular.otf'), ('Inter', 600, 'Inter-SemiBold.otf'), ('Inter', 700, 'Inter-Bold.otf'),
('Inter Display', 700, 'InterDisplay-Bold.otf'), ('DejaVu Sans Mono', 400, 'DejaVuSansMono.ttf')]
CSS = ''.join(f'@font-face {{ font-family: "{fam}"; font-weight: {w}; src: url("{(ASSETS / "fonts" / fn).as_uri()}"); }}\n' for fam, w, fn in _FACES)
+148
View File
@@ -0,0 +1,148 @@
"""Geometry for the Green Man mask kit. All units mm. Origin = centre of the eye line, +x = wearer's left
as seen from the front (viewer's right), +y = up. Everything else in the kit is generated from this file
and manifest.py."""
import numpy as np
from scipy.interpolate import splprep, splev
from shapely.geometry import Polygon, Point, LineString, box
from shapely.ops import unary_union
from shapely import affinity
# ---- reference glasses (the frames the mask was built around) ----
FRAME_W = 139.7 # outer width of the frame front
LENS_W, LENS_H = 57.15, 41.9
BRIDGE = FRAME_W - 2*LENS_W - 6.0
LENS_CX = BRIDGE/2 + LENS_W/2
TOP = LENS_H/2 + 4 # y of the frame's top bar; the brow band starts here
BAND_TOP = TOP + 56 # top of the band at the centre line
def _mirror(p): return affinity.scale(p, xfact=-1, origin=(0, 0))
def lens(sgn):
cx = sgn*LENS_CX; w, h = LENS_W-8, LENS_H-8
p = Polygon([(cx-sgn*w/2, h/2), (cx+sgn*w/2, h/2), (cx+sgn*(w/2-6), -h/2+3), (cx+sgn*4, -h/2), (cx-sgn*(w/2-2), -h/2+4)])
return p.buffer(4, join_style=1)
_band = Polygon([(-FRAME_W/2-22, TOP), (-FRAME_W/2-22, TOP+22), (-FRAME_W/2-10, TOP+44), (-40, TOP+52), (0, TOP+56),
(40, TOP+52), (FRAME_W/2+10, TOP+44), (FRAME_W/2+22, TOP+22), (FRAME_W/2+22, TOP)])
_nose = Polygon([(-9, TOP+2), (9, TOP+2), (6, TOP-10), (7, -8), (12, -34), (0, -48), (-12, -34), (-7, -8), (-6, TOP-10)])
_cheek = Polygon([(-FRAME_W/2-24, TOP+6), (-FRAME_W/2+4, TOP+6), (-FRAME_W/2+2, -6), (-FRAME_W/2-6, -24), (-FRAME_W/2-18, -18), (-FRAME_W/2-26, -2)])
SLIT_X = FRAME_W/2 + 2 # side strap slit centre (x = +/-)
SLIT_Y0, SLIT_Y1, SLIT_W = TOP+8, TOP+28, 3.0
PATCH_W, PATCH_H = 30.0, 36.0 # 2 mm reinforcement patch on the back, centred on the slit
def band_top(x):
"""y of the band's top edge at x (piecewise linear, matches _band)."""
xs = [0, 40, FRAME_W/2+10, FRAME_W/2+22]; ys = [TOP+56, TOP+52, TOP+44, TOP+22]
return float(np.interp(abs(x), xs, ys))
def base_glasses():
"""As-built base: brow band + nose strip + cheek tabs. Worn behind the glasses; nothing surrounds the lenses."""
outline = unary_union([_band, _nose, _cheek, _mirror(_cheek)]).buffer(5, join_style=1).buffer(-5, join_style=1)
return dict(kind='glasses', outline=outline, holes=[], **_common())
def base_plain():
"""No-glasses variant (UNTESTED): same band, nose and cheeks, joined under the eyes, with eye holes."""
under = box(-FRAME_W/2-4, -30, FRAME_W/2+4, TOP+2)
outline = unary_union([_band, _nose, _cheek, _mirror(_cheek), under]).buffer(8, join_style=1).buffer(-8, join_style=1)
eye = affinity.scale(Point(0, 0).buffer(1, 48), 23, 12) # 46 x 24 mm
holes = [affinity.translate(affinity.rotate(eye, 6*s), 32*s, 0) for s in (-1, 1)] # 64 mm between centres
return dict(kind='plain', outline=outline.difference(unary_union(holes)), holes=holes, **_common())
def _common():
slits = [box(s*SLIT_X-SLIT_W/2, SLIT_Y0, s*SLIT_X+SLIT_W/2, SLIT_Y1) for s in (-1, 1)]
patches = [box(s*SLIT_X-PATCH_W/2, (SLIT_Y0+SLIT_Y1)/2-PATCH_H/2, s*SLIT_X+PATCH_W/2, (SLIT_Y0+SLIT_Y1)/2+PATCH_H/2) for s in (-1, 1)]
top_slit = box(-12, TOP+45, 12, TOP+48) # optional second strap, only if the mask nods forward
return dict(slits=slits, patches=patches, top_slit=top_slit)
# zones on the glasses base where nothing raised may be glued (the frame and its arms rest here)
def frame_zone(): return box(-FRAME_W/2-1, -LENS_H/2-4, FRAME_W/2+1, TOP+2)
def arm_zones(): return [box(min(s*(FRAME_W/2-2), s*(FRAME_W/2+40)), TOP-6, max(s*(FRAME_W/2-2), s*(FRAME_W/2+40)), TOP+3) for s in (-1, 1)]
# ---- oak leaves ----
LEAF = {'L': (95, 65), 'M': (70, 48), 'S': (48, 33), 'T': (30, 21)} # blade length, width
STEM_L, STEM_W = 12.0, 5.0
# Two deliberately different leaf shapes per size, so a crown of them does not look stamped out.
# A: broad white-oak leaf, four shallow rounded lobes a side, nearly symmetric.
# B: slimmer leaf with three long lobes a side cut almost to the midrib, the lobes alternating left and right,
# and a large rounded end lobe.
# Each entry is (right half, left half) as (fraction of width, fraction of length) control points.
_A = [(0.00,0.00),(0.06,0.04),(0.26,0.12),(0.40,0.22),(0.30,0.28),(0.16,0.33),(0.36,0.40),(0.52,0.50),(0.46,0.56),
(0.20,0.60),(0.38,0.66),(0.50,0.74),(0.40,0.80),(0.18,0.84),(0.28,0.89),(0.30,0.94),(0.14,0.985),(0.00,1.00)]
_BR = [(0.00,0.00),(0.07,0.04),(0.17,0.10),(0.34,0.17),(0.50,0.25),(0.40,0.31),(0.15,0.36),(0.16,0.42),(0.36,0.47),
(0.58,0.56),(0.46,0.63),(0.15,0.67),(0.16,0.72),(0.34,0.76),(0.44,0.84),(0.38,0.93),(0.20,0.99),(0.00,1.00)]
_BL = [(0.00,0.00),(0.07,0.05),(0.15,0.15),(0.32,0.24),(0.46,0.33),(0.36,0.39),(0.15,0.43),(0.16,0.50),(0.36,0.56),
(0.54,0.65),(0.42,0.71),(0.15,0.75),(0.17,0.80),(0.36,0.84),(0.42,0.90),(0.32,0.96),(0.16,0.995),(0.00,1.00)]
_CTRL = {0: (_A, _A), 1: (_BR, _BL)}
_WIDTH = {0: 1.0, 1: 0.90} # B is a little slimmer overall
# lobe tips the side veins run to: (fraction of width, fraction of length), right half then left half
_VEIN = {0: ([(0.40,0.22),(0.52,0.50),(0.50,0.74),(0.30,0.92)],)*2,
1: ([(0.50,0.25),(0.58,0.56),(0.44,0.84)], [(0.46,0.33),(0.54,0.65),(0.42,0.90)])}
def _half(L, W, ctrl, rng, jitter):
pts = np.array([(x*W*(1+rng.uniform(-jitter, jitter)*(x > 0)), y*L) for x, y in ctrl])
tck, _ = splprep(pts.T, s=0, k=3); u = np.linspace(0, 1, 200)
x, y = splev(u, tck); return np.clip(x, 0, None), y
def oak(size, variant=0):
"""Leaf polygon WITH its stem, one piece. Blade base at (0,0), tip at +y, stem tab from y=-STEM_L to 0."""
L, W = LEAF[size]; W = W*_WIDTH[variant]
rng = np.random.default_rng({'L': 10, 'M': 20, 'S': 30, 'T': 40}[size] + variant)
cr, cl = _CTRL[variant]
xr, yr = _half(L, W, cr, rng, 0.04); xl, yl = _half(L, W, cl, rng, 0.04)
blade = Polygon(list(zip(xr, yr)) + [(-a, b) for a, b in reversed(list(zip(xl, yl)))][1:]).buffer(0)
sw = STEM_W if size != 'T' else 4.0
stem = box(-sw/2, -STEM_L, sw/2, L*0.06)
leaf = unary_union([blade, stem]).buffer(0.6, join_style=1).buffer(-0.6, join_style=1)
assert leaf.geom_type == 'Polygon' and leaf.is_valid, f'leaf {size}{variant} is not one piece'
# 2 mm foam tears where a lobe joins the midrib by less than about 5 mm (3 mm on the tiny tip leaves)
neck = {'L': 2.5, 'M': 2.5, 'S': 2.0, 'T': 1.4}[size]
assert leaf.buffer(-neck).geom_type == 'Polygon', f'leaf {size}{variant}: a lobe is joined by less than {2*neck:.0f} mm'
return leaf
def vein_lines(size, variant=0):
L, W = LEAF[size]; W = W*_WIDTH[variant]
out = [LineString([(0, -STEM_L*0.8), (0, 0.97*L)])]
for s, tips in zip((1, -1), _VEIN[variant]):
for wx, ly in tips: out.append(LineString([(0, L*(ly-0.13)), (s*W*wx*0.85, L*ly)]))
return out
def stem_tab(size):
sw = STEM_W if size != 'T' else 4.0
return box(-sw/2, -STEM_L, sw/2, 0)
def place(geom, x, y, angle=0.0, flip=False):
"""angle: 0 = tip up, positive = tip leans toward +x (clockwise as drawn)."""
g = affinity.scale(geom, xfact=-1, origin=(0, 0)) if flip else geom
return affinity.translate(affinity.rotate(g, -angle, origin=(0, 0)), x, y)
# ---- printed parts, front-view outlines ----
STRIP_L = 136.0
def strip_poly(L=STRIP_L):
"""Brow strip as printed: straight, 22 mm tall at the centre tapering to 12 mm. Centre at (0,0)."""
x = np.linspace(-L/2, L/2, 120); half = 11 - 5*(np.abs(x)/(L/2))**1.6
top = half + 1.2*np.sin(x*0.22) + 0.6*np.sin(x*0.53+1); bot = -half + 1.0*np.sin(x*0.19+2)
return Polygon(list(zip(x, top)) + list(zip(x[::-1], bot[::-1]))).buffer(1.5, join_style=1).buffer(-1.5, join_style=1)
STRIP_Y = TOP + 16 # strip centre line on the band
KNOT_R = 21.0
KNOT_C = (0.0, TOP + 16 + 11 + 1 + KNOT_R) # sits on the band just above the strip, touching its top edge
ACORN = {'AL': (30.0, 37.0), 'AS': (22.0, 29.0), 'AF': (27.0, 31.0)} # width, length as printed
def acorn_poly(kind):
w, l = ACORN[kind]; return affinity.scale(Point(0, 0).buffer(1, 32), w/2, l/2)
def spiral_path(n=80):
"""Small tendril, 65 x 26 mm as printed. Stem end at (0,0), runs toward +y then curls."""
L, turns = 48.0, 1.3
t = np.linspace(0, 1, 60); xs = t*L; ys = 10*np.sin(t*np.pi*1.4)
ts = np.linspace(0, 1, n); ang = ts*2*np.pi*turns; rad = 14*(1-0.72*ts)
sx = L + rad*np.sin(ang); sy = 10*np.sin(np.pi*1.4) + rad*(1-np.cos(ang))
pts = np.column_stack([np.concatenate([xs, sx[1:]]), np.concatenate([ys, sy[1:]])])
return LineString([(y, x) for x, y in pts]) # rotate so the stem runs along +y
def twig_paths():
t = np.linspace(0, 1, 40); main = np.column_stack([6*np.sin(t*np.pi*2.2), t*85])
p0 = main[18]; t2 = np.linspace(0, 1, 25); b1 = np.column_stack([p0[0]+t2*22+4*np.sin(t2*np.pi*1.5), p0[1]+t2*38])
p1 = main[30]; t3 = np.linspace(0, 1, 20); b2 = np.column_stack([p1[0]-t3*18, p1[1]+t3*26])
return [LineString(main), LineString(b1), LineString(b2)]
+224
View File
@@ -0,0 +1,224 @@
"""Single source of truth for the Green Man mask: every part, where it goes, what it is glued to, and in what order.
The cut list, print list, step order and all drawings are derived from PLACEMENTS. validate() fails loudly if
anything is made but not placed, placed but not made, glued onto an occupied spot, or sequenced after
something that covers it."""
from collections import Counter, OrderedDict
from shapely.geometry import Point, LineString, box
from shapely.ops import unary_union
import geom as G
from geom import TOP
SLIT_HALF = G.SLIT_W/2
PARTS = OrderedDict([
# id name made from / file kind
('BASE', ('Mask base', '6 mm EVA foam', 'foam')),
('PATCH', ('Strap reinforcement patch', '2 mm EVA foam, 30 x 36 mm', 'foam')),
('L', ('Large oak leaf, 95 mm', '2 mm EVA foam', 'leaf')),
('M', ('Medium oak leaf, 70 mm', '2 mm EVA foam', 'leaf')),
('S', ('Small oak leaf, 48 mm', '2 mm EVA foam', 'leaf')),
('T', ('Tip leaf, 30 mm', '2 mm EVA foam', 'leaf')),
('STRIP', ('Brow strip', 'brow_strip.stl', 'print')),
('KNOT', ('Bark knot', 'bark_knot.stl', 'print')),
('TWIG', ('Forked twig', 'twig_forked.stl', 'print')),
('AL', ('Acorn, large half', 'acorn_large_half.stl', 'print')),
('AS', ('Acorn, small half', 'acorn_small_half.stl', 'print')),
('AF', ('Acorn, full (hangs on a line)', 'acorn_full.stl', 'print')),
('SPIRAL',('Tendril spiral', 'tendril_spiral.stl', 'print')),
('STRAP', ('Elastic strap, 19-25 mm wide', 'flat elastic, about 45 cm', 'other')),
('WIRE', ('Hanging line, 8 cm', 'fishing line or thin wire', 'other')),
])
TOOLS = OrderedDict([('STAMP', ('Leaf vein stamp', 'leaf_vein_stamp.stl'))])
SPARES = {'M': 1, 'S': 2} # cut and keep UNSEALED as repair stock; the only parts not placed
# Assembly steps in order. 'after' lists (step, reason): the reason is printed in the guide.
STEPS = OrderedDict([
('strap', dict(title='Strap', view='both', prep=True, after=[])),
('strip', dict(title='Brow strip', view='front', after=[('strap', 'the strip is pressed on hard; do it while the band is bare and can be backed with your hand')])),
('clusters',dict(title='Acorn clusters', view='front', after=[('strap', 'the clusters cover the strap where it crosses the front of the band'), ('strip', 'the clusters butt against the ends of the strip')])),
('centre', dict(title='Crown, centre large leaves', view='front', after=[('strip', 'their stems sit on the front of the band above the strip'), ('clusters', 'the clusters are pressed on hard, which is easier before any leaves stand on the band')])),
('back', dict(title='Crown, outer large leaves', view='back', after=[('centre', 'the centre leaves set the height and rake that the outer ones are matched to')])),
('knot', dict(title='Bark knot', view='front', after=[('centre', 'the knot sits on top of the three centre stems and hides them'), ('strip', 'its lower edge touches the top edge of the strip')])),
('twigs', dict(title='Twigs', view='front', after=[('back', 'each twig lies up the front of the large leaves, so all seven need to be in place')])),
('front', dict(title='Crown, front row', view='front', after=[('knot', 'the two middle leaves fan around the knot and overlap its sides'), ('clusters', 'the outer leaves lean over the inner edge of each cluster'), ('twigs', 'the front-row leaves cover the thick ends of the twigs'), ('centre', 'the front row leans back onto the large leaves')])),
('hang', dict(title='Hanging acorns', view='front', after=[('clusters', 'so the hanging acorn can be judged against the cluster above it')])),
('tendrils',dict(title='Tendrils', view='front', after=[('hang', 'the cheek tab is still bare except for the line, so both tendril stems can be pressed flat')])),
('cheeks', dict(title='Cheek leaves', view='front', after=[('hang', 'two of the leaf stems go over the line and hide it'), ('tendrils', 'the leaf blades hang in front of the tendril stems; glued first, the leaves would be in the way')])),
('nose', dict(title='Nose leaf', view='front', after=[('strip', 'its stem sits just under the brow strip')])),
])
def _pair(fn):
out = []
for s in (-1, 1): out += fn(s)
return out
def build_placements():
P = []
def add(pid, part, step, face, glue, shape, footprint, z, x=None, y=None, note='', onto=(), ang=0.0, flip=False, variant=0, count=1):
P.append(dict(id=pid, part=part, step=step, face=face, glue=glue, shape=shape, footprint=footprint, z=z, x=x, y=y, note=note,
onto=tuple(onto), ang=ang, flip=flip, variant=variant, count=count))
side = {-1: 'R', 1: 'L'} # wearer's right is at -x in the front view
# --- strap: around the outer edge onto the front, through the slit front-to-back, tail glued to the underside of the strap
for s in (-1, 1):
run = box(min(s*G.SLIT_X, s*(G.FRAME_W/2+23)), G.SLIT_Y0, max(s*G.SLIT_X, s*(G.FRAME_W/2+23)), G.SLIT_Y1)
add(f'STRAP-front-{side[s]}', 'STRAP', 'strap', 'front', 'none', run, run, 12, s*G.SLIT_X, (G.SLIT_Y0+G.SLIT_Y1)/2, count=1 if s < 0 else 0) # one strap, two ends
add(f'PATCH-{side[s]}', 'PATCH', 'strap', 'back', 'contact', G._common()['patches'][(s+1)//2], G._common()['patches'][(s+1)//2], 1, s*G.SLIT_X, (G.SLIT_Y0+G.SLIT_Y1)/2)
# --- brow strip and knot
sp = G.place(G.strip_poly(), 0, G.STRIP_Y)
add('STRIP', 'STRIP', 'strip', 'front', 'contact', sp, sp, 20, 0, G.STRIP_Y)
kn = Point(*G.KNOT_C).buffer(G.KNOT_R, 48)
add('KNOT', 'KNOT', 'knot', 'front', 'contact', kn, kn.intersection(G.base_glasses()['outline']), 21, *G.KNOT_C,
onto=('L-front-1', 'L-front-2', 'L-front-3'))
# --- crown, large leaves. As built: the four outer ones on the BACK of the band, the three centre ones on the FRONT
# (their stems end up under the knot).
for j, (x, ang, drop) in enumerate([(-36, -22, 2), (36, 22, 2), (-52, -30, 12), (52, 30, 12)]):
y = G.band_top(x) - drop; v = (j // 2) % 2
add(f'L-back-{j+1}', 'L', 'back', 'back', 'hot', G.place(G.oak('L', v), x, y, ang, flip=x < 0), G.place(G.stem_tab('L'), x, y, ang), 2 + j // 2, x, y, ang=ang, flip=x < 0, variant=v)
for j, (x, ang, drop) in enumerate([(0, 0, 2), (-17, -10, 8), (17, 10, 8)]):
y = G.band_top(x) - drop; v = 0 if j == 0 else 1
add(f'L-front-{j+1}', 'L', 'centre', 'front', 'hot', G.place(G.oak('L', v), x, y, ang, flip=x < 0), G.place(G.stem_tab('L'), x, y, ang), 6 + (j == 0), x, y, ang=ang, flip=x < 0, variant=v)
# --- twigs: printed flat-backed, so they go on the FRONT. Thick end on the front of the band near its top edge,
# the rest lying up the front faces of the back-row leaves. The front row later hides the thick ends.
for s in (-1, 1):
x, y, ang = s*30, TOP + 29, 2
paths = [G.place(l, x, y, s*ang, flip=s < 0) for l in G.twig_paths()]
tw = unary_union(paths).buffer(1.6)
foot = LineString([paths[0].interpolate(d) for d in (1, 8, 16, 22)]).buffer(3.2) # the 22 mm that lies on the band
add(f'TWIG-{side[s]}', 'TWIG', 'twigs', 'front', 'contact', tw, foot, 10, x, y, ang=s*ang, flip=s < 0)
# --- acorn clusters at the strap exits: 2 large + 1 small per side, stacked on each other
for s in (-1, 1):
zone = box(min(s*70, s*100), TOP+4, max(s*70, s*100), TOP+47)
acs = [('AL', 86, TOP+23, 15), ('AL', 80, TOP+41, -35), ('AS', 93, TOP+35, 50)]
for k, (kind, ax, ay, rot) in enumerate(acs):
shp = G.place(G.acorn_poly(kind), s*ax, ay, s*rot)
add(f'{kind}-cluster-{side[s]}{k+1}', kind, 'clusters', 'front', 'contact', shp, shp.intersection(zone) if k == 0 else Point(s*ax, ay).buffer(3), 22+k, s*ax, ay, ang=s*rot,
onto=(f'STRAP-front-{side[s]}',) + tuple(f'{a[0]}-cluster-{side[s]}{m+1}' for m, a in enumerate(acs[:k])))
# --- crown front row: 6 medium leaves on the FRONT of the band, stems just above the strip
for k, (x0, y0, ang) in enumerate([(24, TOP+41, 12), (42, TOP+39, 27), (58, TOP+37, 42)]):
for s in (-1, 1):
add(f'M-front-{side[s]}{k+1}', 'M', 'front', 'front', 'hot', G.place(G.oak('M', k % 2), s*x0, y0, s*ang, flip=s < 0),
G.place(G.stem_tab('M'), s*x0, y0, s*ang), 30+k, s*x0, y0, note=f'{ang} deg out', ang=s*ang, flip=s < 0, variant=k % 2)
# --- hanging acorns: wire glued to the top of the cheek tab, later covered by the medium cheek leaf stem
for s in (-1, 1):
anchor = Point(s*88, 13).buffer(3)
add(f'WIRE-{side[s]}', 'WIRE', 'hang', 'front', 'hot', anchor, anchor, 25, s*88, 13)
add(f'AF-hang-{side[s]}', 'AF', 'hang', 'hangs', 'wire', G.place(G.acorn_poly('AF'), s*108, -16), None, 45, s*108, -16, onto=(f'WIRE-{side[s]}',))
# --- tendrils: two small spirals per side on the lower cheek tab, each with a tip leaf glued to its curl
for s in (-1, 1):
for k, (x0, y0, ang, fl) in enumerate([(73, -6, 20, True), (89, -4, -22, False)]): # side by side, curling away from each other
line = G.place(G.spiral_path(), s*x0, y0, 180 + s*ang, flip=(s < 0) != fl)
add(f'SPIRAL-{side[s]}{k+1}', 'SPIRAL', 'tendrils', 'front', 'contact', line.buffer(2.2), line.interpolate(6).buffer(4), 26+k, s*x0, y0, ang=180 + s*ang, flip=(s < 0) != fl)
ex, ey = line.coords[-1]
add(f'T-{side[s]}{k+1}', 'T', 'tendrils', 'onpart', 'hot', G.place(G.oak('T', k), ex, ey, 180 + s*(8 if k else -12)), None, 44, ex, ey, onto=(f'SPIRAL-{side[s]}{k+1}',), ang=180 + s*(8 if k else -12), variant=k)
# --- cheek leaves: 1 medium + 2 small per side, tips down, stems just below the line the glasses arms rest on
for s in (-1, 1):
for k, (size, x0, y0, th) in enumerate([('M', 85, 6, 0), ('S', 76, 7, -3), ('S', 92.5, 7, -8)]):
add(f'{size}-cheek-{side[s]}{k+1}', size, 'cheeks', 'front', 'hot', G.place(G.oak(size, k % 2), s*x0, y0, 180 + s*th, flip=s < 0),
G.place(G.stem_tab(size), s*x0, y0, 180 + s*th), 40+k, s*x0, y0, onto=(f'WIRE-{side[s]}',) if (size == 'M' or k == 2) else (), ang=180 + s*th, flip=s < 0, variant=k % 2)
# --- nose leaf
add('S-nose', 'S', 'nose', 'front', 'hot', G.place(G.oak('S', 1), 0, TOP-8, 180), G.place(G.stem_tab('S'), 0, TOP-8, 180), 46, 0, TOP-8, ang=180, variant=1)
order = list(STEPS)
P.sort(key=lambda p: (order.index(p['step']),)) # stable: keeps authoring order inside a step
for i, p in enumerate(P): p['seq'] = i
return P
PLACEMENTS = build_placements()
def counts():
"""Number of each part actually placed."""
c = Counter()
for p in PLACEMENTS: c[p['part']] += p.get('count', 1)
return c
def make_list():
"""What to cut / print / buy = placed + declared spares. Nothing else."""
c = counts(); out = OrderedDict()
for pid, (name, src, kind) in PARTS.items():
n = (1 if pid == 'BASE' else c.get(pid, 0)); sp = SPARES.get(pid, 0)
out[pid] = dict(name=name, src=src, kind=kind, placed=n, spare=sp, total=n+sp)
return out
def step_placements(step): return [p for p in PLACEMENTS if p['step'] == step]
def validate(verbose=True):
errs, notes = [], []
base = G.base_glasses(); outline = base['outline']; order = list(STEPS)
# 1. every part is placed; every placement is a known part
for pid, row in make_list().items():
if row['placed'] == 0: errs.append(f'{pid} is in the parts list but never placed')
for p in PLACEMENTS:
if p['part'] not in PARTS: errs.append(f"{p['id']} uses unknown part {p['part']}")
# 2. step dependencies are satisfied by the written order
for i, (k, st) in enumerate(STEPS.items()):
for dep, why in st['after']:
if order.index(dep) >= i: errs.append(f'step {k} is listed before {dep} but must follow it ({why})')
# 3. glue footprints on the same face never collide unless one is declared glued onto the other
glued = [p for p in PLACEMENTS if p['footprint'] is not None and p['face'] in ('front', 'back')]
for i, a in enumerate(glued):
for b in glued[i+1:]:
if a['face'] != b['face']: continue
ov = a['footprint'].intersection(b['footprint']).area
if ov > 1.0 and a['id'] not in b['onto'] and b['id'] not in a['onto']:
errs.append(f"glue areas collide on the {a['face']}: {a['id']} and {b['id']} ({ov:.0f} mm2)")
# 4. nothing is sequenced after a part that already covers its glue area (same face)
for a in glued:
for b in PLACEMENTS:
if b is a or b['face'] != a['face'] or b['shape'] is None: continue
if b['seq'] < a['seq'] and b['shape'].intersection(a['footprint']).area > 1.0 and b['id'] not in a['onto']:
errs.append(f"{a['id']} is glued after {b['id']}, which already covers its glue area")
# 5. glue areas sit on foam: leaf stems fully, rigid printed parts at least 55%
for p in glued:
if p['part'] in ('STRAP',): continue
ground = unary_union([outline] + [q['shape'] for q in PLACEMENTS if q['id'] in p['onto']])
frac = p['footprint'].intersection(ground).area / max(p['footprint'].area, 1e-6)
need = 0.97 if p['part'] in ('L', 'M', 'S', 'PATCH', 'WIRE', 'SPIRAL', 'TWIG', 'STRIP') else 0.55
if frac < need: errs.append(f"{p['id']}: only {frac:.0%} of its glue area is on the base (needs {need:.0%})")
# 6. glasses keep-outs on the front: nothing in the arm zones; only the nose leaf under the frame
for p in glued:
if p['face'] != 'front' or p['part'] == 'STRAP': continue
for z in G.arm_zones():
if p['footprint'].intersection(z).area > 0.5: errs.append(f"{p['id']} is glued where a glasses arm rests")
if p['footprint'].intersection(G.frame_zone()).area > 0.5 and p['id'] != 'S-nose':
errs.append(f"{p['id']} is glued under the glasses frame")
for p in PLACEMENTS:
if p['shape'] is None or p['face'] == 'back' or p['id'] == 'S-nose': continue
for sg in (-1, 1):
if p['shape'].intersection(G.lens(sg).buffer(-4)).area > 2: errs.append(f"{p['id']} hangs over the glass of a lens")
rigid = [p for p in PLACEMENTS if p['part'] in ('STRIP', 'KNOT', 'AL', 'AS', 'SPIRAL') and p['shape'] is not None]
for i, a in enumerate(rigid):
for b in rigid[i+1:]:
ov = a['shape'].intersection(b['shape']).area
if ov > 3 and a['id'] not in b['onto'] and b['id'] not in a['onto']:
errs.append(f"rigid parts overlap: {a['id']} and {b['id']} ({ov:.0f} mm2); they cannot both sit flat")
# 7. on the back: leaf stems and twigs stay clear of the strap patches (the tail of the elastic lives there)
for p in glued:
if p['face'] == 'back' and p['part'] != 'PATCH':
for pt in base['patches']:
if p['footprint'].intersection(pt).area > 0.5: errs.append(f"{p['id']} is glued onto a strap patch")
# 8. base template is one piece with no thin necks, slits sit well inside foam and inside their patches
for b in (G.base_glasses(), G.base_plain()):
o = b['outline']
if o.geom_type != 'Polygon' or not o.is_valid: errs.append(f"{b['kind']} base is not one valid piece")
if o.buffer(-4).geom_type != 'Polygon': errs.append(f"{b['kind']} base has a neck narrower than 8 mm")
for sl, pt in zip(b['slits'], b['patches']):
cx, cy = sl.centroid.x, sl.centroid.y; sgn = 1 if cx > 0 else -1
ray = box(min(cx, cx+sgn*60), cy-0.5, max(cx, cx+sgn*60), cy+0.5).intersection(o)
outward = ray.bounds[2]-ray.bounds[0] - SLIT_HALF
if outward < 15: errs.append(f"{b['kind']} base: only {outward:.0f} mm of foam outboard of the strap slit")
if sl.distance(o.exterior) < 8: errs.append(f"{b['kind']} base: strap slit is {sl.distance(o.exterior):.0f} mm from an edge")
if not pt.buffer(-4).contains(sl): errs.append(f"{b['kind']} base: patch does not cover its slit with 4 mm to spare")
for h in b['holes']:
d = h.distance(o.exterior) if not o.interiors else min(h.exterior.distance(o.exterior), 99)
if d < 10: errs.append(f"{b['kind']} base: eye hole is {d:.0f} mm from the outer edge")
notes.append(f"{b['kind']} base: {o.bounds[2]-o.bounds[0]:.0f} x {o.bounds[3]-o.bounds[1]:.0f} mm, one piece, min neck >= 8 mm")
ml = make_list()
notes.append('leaves to cut: ' + ', '.join(f"{ml[k]['total']} {k} ({ml[k]['placed']} placed + {ml[k]['spare']} spare)" for k in 'LMST'))
notes.append('to print: ' + ', '.join(f"{v['total']} x {k}" for k, v in ml.items() if v['kind'] == 'print') + ', 1 x STAMP (tool)')
if verbose:
for n in notes: print(' ok ', n)
for e in errs: print(' FAIL', e)
print(f'{len(PLACEMENTS)} placements, {len(STEPS)} steps, {len(errs)} problems')
return errs
if __name__ == '__main__':
import sys; sys.exit(1 if validate() else 0)
+10
View File
@@ -0,0 +1,10 @@
"""Where things live. Everything is relative to this folder, so the generator runs from any checkout."""
from pathlib import Path
ROOT = Path(__file__).resolve().parent
STL_SRC = ROOT / 'stl_src' # hand-modelled STL files, plus the three that failed on the printer (test controls)
ASSETS = ROOT / 'assets' # photos, part renders, share image, kit README
WORK = ROOT / 'work' # intermediate files; not committed
OUT = ROOT / 'out' # finished kit before it is published; not committed
SITE = ROOT.parent / 'greenman' # the published page in the builds site
for d in (WORK, OUT, OUT / 'stl'): d.mkdir(parents=True, exist_ok=True)
+22
View File
@@ -0,0 +1,22 @@
"""Render an HTML file to PNG (for checking) or PDF (for the kit) with the pre-installed Chromium."""
import sys, asyncio
from playwright.async_api import async_playwright
async def go(src, out, width=1260, scale=1, footer=None):
async with async_playwright() as p:
try: b = await p.chromium.launch()
except Exception: b = await p.chromium.launch(channel='chrome') # no Playwright browser installed: use Google Chrome
pg = await b.new_page(viewport={'width': width, 'height': 800}, device_scale_factor=scale)
await pg.goto('file://' + src); await pg.evaluate('document.fonts.ready'); await pg.wait_for_timeout(300)
if out.endswith('.pdf'):
kw = dict(display_header_footer=True, header_template='<span></span>', footer_template=
'<div style="font-family:Inter,Helvetica,sans-serif;font-size:7.5px;color:#777;width:100%;padding:0 14mm;display:flex;justify-content:space-between"><span>' + footer +
'</span><span><span class="pageNumber"></span> / <span class="totalPages"></span></span></div>') if footer else {}
await pg.pdf(path=out, prefer_css_page_size=True, print_background=True, **kw)
else:
await pg.screenshot(path=out, full_page=True)
await b.close()
if __name__ == '__main__':
src, out = sys.argv[1], sys.argv[2]
asyncio.run(go(src, out, width=int(sys.argv[3]) if len(sys.argv) > 3 else 1260))
+116
View File
@@ -0,0 +1,116 @@
"""Assemble the print set (only parts the manifest places, plus the stamp) and test each file for printability:
watertight, sitting on the bed, no layer that starts in mid-air, and how much steep overhang it has."""
import os, shutil, json, numpy as np, trimesh
from trimesh import creation
from shapely.geometry import Polygon, LineString
from shapely.ops import unary_union
import geom as G, manifest as M
from paths import STL_SRC, OUT as _OUT, WORK
SRC = str(STL_SRC); OUT = str(_OUT / 'stl')
def brow_strip(L=G.STRIP_L):
"""Thin heat-formable brow strip: 2.4 mm plate, bark ridges 1.2 mm proud, low knobs. Same outline the guide draws."""
outline = G.strip_poly(L)
parts = [creation.extrude_polygon(outline, 2.4)]
x = np.linspace(-L/2, L/2, 240); ridges = []
for k in range(6):
ys = -8 + k*3.2 + 1.8*np.sin(x*0.09 + k) + 0.8*np.sin(x*0.31 + 2*k)
ridges.append(LineString(list(zip(x, ys))).buffer(0.55, cap_style=1))
rp = unary_union(ridges).intersection(outline.buffer(-1.0))
for g in (rp.geoms if rp.geom_type == 'MultiPolygon' else [rp]):
if g.area > 2: parts.append(creation.extrude_polygon(g, 3.6))
for kx, s in [(-52, 4.2), (-26, 5.0), (-5, 3.8), (16, 5.0), (40, 4.2), (58, 3.4)]:
k = creation.icosphere(2, s); k.apply_scale([1.5, 1, 0.5]); k.apply_translation([kx, 0, 2.4]); parts.append(k)
m = trimesh.boolean.union(parts, engine='manifold')
cut = creation.box([L+40, 80, 10]); cut.apply_translation([0, 0, -5]); m = m.difference(cut)
m.apply_translation([-m.bounds[0][0], -m.bounds[0][1], -m.bounds[0][2]]); return m
def acorn(h, r, cap_frac=0.42):
"""Acorn along z: cap and stem at z<=0 end, nut tip at z=h. Cap scales are teardrops pointing at the nut tip,
so when the acorn is printed standing on its tip each scale grows out of the wall instead of starting in mid-air."""
t = np.linspace(0, 1, 50); rr = r*np.sqrt(np.clip(1-((t-0.30)/0.74)**2, 0, 1)); rr[0] = rr[-1] = 0
nut = creation.revolve(np.column_stack([rr, t*h]), sections=64)
ch = h*cap_frac
prof = np.array([[0, -2.5], [r*0.55, -2.5], [r*1.05, -0.5], [r*1.19, ch*0.45], [r*1.16, ch*0.85], [r*1.0, ch], [0, ch]])
parts = [nut, creation.revolve(prof, sections=64)]
for i in range(5):
zz = -1.0 + ch*(0.08 + 0.70*i/4); rad = np.interp(zz, prof[1:-1, 1], prof[1:-1, 0]); n = int(round(2*np.pi*rad/(r*0.30)))
for j in range(n):
ang = 2*np.pi*(j + 0.5*(i % 2))/n
b = creation.icosphere(subdivisions=1, radius=r*0.17); v = b.vertices.copy(); v[v[:, 2] > 0, 2] *= 2.4; b.vertices = v
b.apply_translation([rad*np.cos(ang), rad*np.sin(ang), zz]); parts.append(b)
stem = creation.cylinder(radius=r*0.2, height=5, sections=20); stem.apply_translation([0, 0, -4.5]); parts.append(stem)
return trimesh.boolean.union(parts, engine='manifold')
def _floor(m):
cut = creation.box([400, 400, 100]); cut.apply_translation([0, 0, -50]); m = m.difference(cut)
m.apply_translation([-m.bounds[0][0], -m.bounds[0][1], -m.bounds[0][2]]); m.merge_vertices(); m.fix_normals(); return m
def acorn_half(h, r):
m = acorn(h, r); m.apply_transform(trimesh.transformations.rotation_matrix(np.pi/2, [1, 0, 0])); return _floor(m)
def acorn_full(h=28, r=10, cut=4.0):
m = acorn(h, r); m.apply_transform(trimesh.transformations.rotation_matrix(np.pi, [1, 0, 0])) # nut tip down, stem up
m.apply_translation([0, 0, -m.bounds[0][2] - cut]); return _floor(m)
GEN = {'brow_strip.stl': brow_strip, 'acorn_large_half.stl': lambda: acorn_half(30, 11), 'acorn_small_half.stl': lambda: acorn_half(22, 8), 'acorn_full.stl': acorn_full}
FILES = { # kit file name -> (source, part id)
'brow_strip.stl': (None, 'STRIP'), 'bark_knot.stl': ('bark_knot.stl', 'KNOT'), 'twig_forked.stl': ('twig_forked_flat.stl', 'TWIG'),
'acorn_large_half.stl': ('acorn_large_halfback.stl', 'AL'), 'acorn_small_half.stl': ('acorn_small_halfback.stl', 'AS'),
'acorn_full.stl': ('acorn_full_upright.stl', 'AF'), 'tendril_spiral.stl': ('tendril_spiral_small_flat.stl', 'SPIRAL'),
'leaf_vein_stamp.stl': ('leaf_vein_stamp.stl', 'STAMP'),
}
def check(m, layer=0.2):
r = dict(extents=[round(float(v), 1) for v in m.extents], watertight=bool(m.is_watertight), zmin=round(float(m.bounds[0][2]), 3),
volume_cm3=round(float(m.volume)/1000, 2))
# bed contact: area of the first layer
def layer_poly(z):
sec = m.section(plane_origin=[0, 0, z], plane_normal=[0, 0, 1])
if sec is None: return None
pl, _ = sec.to_2D(to_2D=np.eye(4))
polys = [p for p in pl.polygons_full if p.area > 0.02]
return unary_union(polys) if polys else None
first = layer_poly(layer/2)
r['bed_contact_mm2'] = round(first.area, 0) if first is not None else 0
# unsupported material: in each layer, whatever lies more than 0.7 mm sideways beyond the layer below has
# nothing under it (0.7 mm per 0.4 mm of height = a 60 degree overhang, the most PLA bridges reliably)
unsup, worst, prev, z = 0.0, 0.0, first, layer*1.5
top = m.bounds[1][2]
while z < top:
cur = layer_poly(z)
if cur is not None and prev is not None:
hang = cur.difference(prev.buffer(0.7))
a_ = sum(g.area for g in (hang.geoms if hasattr(hang, 'geoms') else [hang]) if g.area > 0.25)
unsup += a_; worst = max(worst, a_)
if cur is not None: prev = cur
z += layer*2
r['midair_mm2'] = round(unsup, 1); r['midair_worst_layer_mm2'] = round(worst, 1)
# steep overhang: downward faces more than 55 degrees from vertical, above the first layers
n = m.face_normals; cz = m.triangles_center[:, 2]
steep = (n[:, 2] < -np.sin(np.radians(55))) & (cz > 0.5)
r['overhang_mm2'] = round(float(m.area_faces[steep].sum()), 0)
why = [w for w, bad in (('not watertight', not r['watertight']), ('not on the bed', abs(r['zmin']) > 0.01), ('prints in mid-air', r['midair_mm2'] > 12), ('too little bed contact', r['bed_contact_mm2'] < 20)) if bad]
r['verdict'] = ('FAIL: ' + ', '.join(why)) if why else ('ok, supports optional' if r['midair_mm2'] > 3 else 'ok, no supports')
return r
def build():
ml = M.make_list(); report = {}
for name, (src, pid) in FILES.items():
if name in GEN: m = GEN[name](); m.export(f'{OUT}/{name}')
else: shutil.copy(f'{SRC}/{src}', f'{OUT}/{name}'); m = trimesh.load(f'{OUT}/{name}')
r = check(m); r['qty'] = 1 if pid == 'STAMP' else ml[pid]['total']; r['part'] = pid; report[name] = r
print(f"{name:24s} x{r['qty']} {str(r['extents']):22s} bed {r['bed_contact_mm2']:6.0f} mm2 mid-air {r['midair_mm2']:5.1f} steep overhang {r['overhang_mm2']:5.0f} {r['verdict']}")
# every printed part in the manifest has a file, and no file is for an unplaced part
need = {k for k, v in ml.items() if v['kind'] == 'print'}; have = {pid for _, pid in FILES.values()} - {'STAMP'}
assert need == have, (need ^ have)
# control: the two files that failed on the printer must fail this test
for bad in ('tendril_spiral_small.stl', 'tendril_spiral.stl', 'twig_forked.stl'):
rb = check(trimesh.load(f'{SRC}/{bad}')); print(f"control {bad:28s} mid-air {rb['midair_mm2']:6.1f} {rb['verdict']}"); assert rb['verdict'].startswith('FAIL'), 'the test must reject the files that failed on the printer'
json.dump(report, open(WORK / 'stl_report.json', 'w'), indent=1)
return report
if __name__ == '__main__':
build()
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+32 -35
View File
@@ -17,36 +17,35 @@
<meta property="og:image:height" content="630"> <meta property="og:image:height" content="630">
<meta property="og:image:alt" content="A Green Man half-mask worn with glasses: a crown of painted oak leaves above a bark brow ridge, with acorns at the temples and a leaf over the nose."> <meta property="og:image:alt" content="A Green Man half-mask worn with glasses: a crown of painted oak leaves above a bark brow ridge, with acorns at the temples and a leaf over the nose.">
<meta name="twitter:card" content="summary_large_image"> <meta name="twitter:card" content="summary_large_image">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,700&family=Inter:wght@400;600;700&display=swap"> <meta name="theme-color" content="#14181a">
<style> <style>
/* layout: one reading column of guide text; each step is a drawing beside its instructions, stacking on phones */ /* Same ink, bone and gold as the builds index and Kestrel's Hall, and the same serif. Drawings stay on light paper with sans labels.
:root { --bg:#f3f5f1; --surface:#ffffff; --fg:#1b201c; --muted:#5d665f; --line:#d3d9d1; --accent:#2c6a31; --accent-fg:#ffffff; --bark:#7a5530; layout: one reading column of guide text; each step is a drawing beside its instructions, stacking on phones */
--note:#f4eedd; --warn:#fbe9e6; --warn-fg:#a3261c; --ok:#e6f0e3; --paper:#f7f8f5; --paper-fg:#33382f; :root { --bg:#14181a; --surface:#1c2124; --fg:#e6dfcf; --muted:#a9a494; --line:#2c3236; --accent:#d2a94a; --accent-fg:#14181a; --bark:#d2a94a;
--display:"Bricolage Grotesque","Inter",system-ui,sans-serif; --body:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif; --mono:ui-monospace,"SF Mono",Menlo,monospace; } --note:#211f18; --warn:#2e1b19; --warn-fg:#f0988c; --ok:#1a231d; --paper:#ebe6d9; --paper-fg:#33382f;
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg:#141815; --surface:#1c221d; --fg:#e7ece6; --muted:#9aa59b; --line:#313a32; --accent:#7fc27f; --accent-fg:#0f1a10; --bark:#c79a66; --display:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif; --body:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
--note:#2a2618; --warn:#3a1d1a; --warn-fg:#ff9d92; --ok:#1e2c1f; --paper:#e9ece6; --paper-fg:#33382f; color-scheme: dark } } --sans:"Helvetica Neue",Helvetica,Arial,sans-serif; --mono:ui-monospace,"SF Mono",Menlo,monospace; }
:root[data-theme="dark"] { --bg:#141815; --surface:#1c221d; --fg:#e7ece6; --muted:#9aa59b; --line:#313a32; --accent:#7fc27f; --accent-fg:#0f1a10; --bark:#c79a66; html { background: var(--bg); color-scheme: dark; }
--note:#2a2618; --warn:#3a1d1a; --warn-fg:#ff9d92; --ok:#1e2c1f; --paper:#e9ece6; --paper-fg:#33382f; color-scheme: dark }
* { box-sizing: border-box; } * { box-sizing: border-box; }
body { background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 16px; line-height: 1.6; } body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1060px; margin: 0 auto; padding-block: 28px 80px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } .wrap { max-width: 1060px; margin: 0 auto; padding-block: 28px 80px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; line-height: 1.12; margin: 0; } h1, h2, h3 { font-family: var(--display); font-weight: 400; text-wrap: balance; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); letter-spacing: -0.02em; } h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); letter-spacing: 0.01em; }
h2 { font-size: 1.5rem; padding-top: 18px; border-top: 2px solid var(--accent); margin-bottom: 12px; } h2 { font-size: 1.6rem; padding-top: 18px; border-top: 1px solid var(--accent); margin-bottom: 12px; }
h3 { font-size: 1.2rem; } h3 { font-size: 1.3rem; font-weight: 500; }
p { margin: 0 0 12px; max-width: 68ch; } ul, ol { margin: 0 0 12px; padding-left: 1.3em; max-width: 68ch; } li { margin-bottom: 6px; } p { margin: 0 0 12px; max-width: 68ch; } ul, ol { margin: 0 0 12px; padding-left: 1.3em; max-width: 68ch; } li { margin-bottom: 6px; }
a { color: var(--accent); } code { font-family: var(--mono); font-size: 0.86em; } a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; } b, strong { font-weight: 600; } code { font-family: var(--mono); font-size: 0.86em; }
section { margin: 0 0 40px; min-width: 0; } section { margin: 0 0 40px; min-width: 0; }
figure { margin: 0; min-width: 0; } figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 6px; line-height: 1.35; } figure { margin: 0; min-width: 0; } figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 6px; line-height: 1.35; }
img { border-radius: 8px; display: block; height: auto; } img { border-radius: 6px; display: block; height: auto; max-width: 100%; }
.fig svg, .leafstrip svg { display: block; width: 100%; height: auto; background: var(--paper); border-radius: 8px; } .fig svg, .leafstrip svg { display: block; width: 100%; height: auto; background: var(--paper); border-radius: 6px; }
.fig svg text { font-family: var(--body); } .fig svg text, .leafstrip svg text { font-family: var(--sans); }
nav.top { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; } nav.top { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
nav.top a { text-decoration: none; border: 1px solid var(--line); background: var(--surface); color: var(--fg); padding: 7px 14px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; } nav.top a { text-decoration: none; border: 1px solid var(--line); background: var(--surface); color: var(--fg); padding: 7px 14px; border-radius: 999px; font-size: 0.92rem; }
nav.top a:hover, nav.top a:focus-visible { border-color: var(--accent); color: var(--accent); outline: none; } nav.top a:hover, nav.top a:focus-visible { border-color: var(--accent); color: var(--accent); outline: none; text-decoration: none; }
.cover { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 32px; align-items: end; margin-bottom: 40px; } .cover { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 32px; align-items: end; margin-bottom: 40px; }
.kicker { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; font-weight: 700; color: var(--accent); margin: 0 0 10px; } .kicker { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; color: var(--accent); margin: 0 0 10px; }
.lead { font-size: 1.15rem; line-height: 1.5; color: var(--fg); margin-top: 14px; } .lead { font-size: 1.2rem; line-height: 1.5; color: var(--muted); margin-top: 14px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 20px 0 0; } .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 20px 0 0; }
.facts dt { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); } .facts dd { margin: 0; font-weight: 600; } .facts dt { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); } .facts dd { margin: 0; font-weight: 600; }
.guide-start { margin-top: 72px; } .guide-start { margin-top: 72px; }
@@ -62,24 +61,22 @@ table.dense { font-size: 0.8rem; min-width: 760px; }
.step .wide { grid-column: 1 / -1; max-width: 640px; } .step .wide { grid-column: 1 / -1; max-width: 640px; }
.stage-pics { display: grid; gap: 14px; align-content: start; } .stage-pics { display: grid; gap: 14px; align-content: start; }
.step-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; } .step-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.num { display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 14px; background: var(--accent); color: var(--accent-fg); font-weight: 700; font-size: 0.9rem; padding: 0 6px; font-family: var(--body); } .num { display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 14px; background: var(--accent); color: var(--accent-fg); font-weight: 700; font-size: 0.85rem; padding: 0 6px; font-family: var(--sans); }
.meta { font-size: 0.82rem; color: var(--muted); flex-basis: 100%; } .meta { font-size: 0.82rem; color: var(--muted); flex-basis: 100%; }
.chips { margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px; } .chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 1px 10px; font-size: 0.8rem; } .chips { margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px; } .chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 1px 10px; font-size: 0.8rem; }
.why { font-size: 0.88rem; color: var(--muted); margin: 0 0 10px; } .why ul { margin: 4px 0 0; } .why { font-size: 0.88rem; color: var(--muted); margin: 0 0 10px; } .why ul { margin: 4px 0 0; }
.check { font-size: 0.9rem; background: var(--ok); border-radius: 6px; padding: 9px 12px; max-width: 68ch; } .check b { color: var(--accent); margin-right: 6px; } .check { font-size: 0.9rem; background: var(--ok); border-radius: 6px; padding: 9px 12px; max-width: 68ch; } .check b { color: var(--accent); margin-right: 6px; }
.stl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin: 0 0 14px; } .stl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin: 0 0 14px; }
.stl-grid figure { background: var(--paper); border-radius: 8px; padding: 4px 4px 8px; } .stl-grid figcaption { text-align: center; color: var(--paper-fg); margin: 0; font-size: 0.72rem; } .stl-grid figure { background: var(--paper); border-radius: 6px; padding: 4px 4px 8px; } .stl-grid figcaption { text-align: center; color: var(--paper-fg); margin: 0; font-size: 0.72rem; }
.leafstrip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; } .leafstrip figcaption { text-align: center; } .leafstrip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; } .leafstrip figcaption { text-align: center; }
.dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 10px; } .dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 10px; }
.dl .dlbtn { text-decoration: none; text-align: left; font: inherit; color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; cursor: pointer; display: grid; gap: 4px; } .dl .dlbtn { text-decoration: none; text-align: left; font: inherit; color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; cursor: pointer; display: grid; gap: 4px; }
.dl .dlbtn:hover, .dl .dlbtn:focus-visible { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 1px; } .dl .dlbtn:hover, .dl .dlbtn:focus-visible { border-color: var(--accent); outline: none; text-decoration: none; } .dl .dlbtn:hover b, .dl .dlbtn:focus-visible b { color: var(--accent); }
.dl .dlbtn b { font-family: var(--display); font-size: 1.05rem; } .dl .dlbtn span { font-size: 0.82rem; color: var(--muted); } .dl .dlbtn b { font-family: var(--display); font-size: 1.2rem; font-weight: 500; } .dl .dlbtn span { font-size: 0.82rem; color: var(--muted); }
#dl-status { font-size: 0.88rem; color: var(--muted); min-height: 1.4em; } .home { margin: 0 0 24px; font-size: 0.95rem; } .home a { text-decoration: none; } .home a:hover, .home a:focus-visible { text-decoration: underline; }
@media (max-width: 760px) { .cover, .cols, .step, .stage { grid-template-columns: minmax(0, 1fr); } .cover-photo { max-width: 360px; } .leafstrip { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.home { margin: 0 0 24px; font-size: 0.9rem; font-weight: 600; } .home a { text-decoration: none; } .home a:hover, .home a:focus-visible { text-decoration: underline; }
.home.foot { margin: 48px 0 0; padding-top: 18px; border-top: 1px solid var(--line); } .home.foot { margin: 48px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .cover, .cols, .step, .stage { grid-template-columns: minmax(0, 1fr); } .cover-photo { max-width: 360px; } .leafstrip { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
</style> </style>
<style>body{margin:0}img{max-width:100%}</style>
</head> </head>
<body> <body>
<div class="wrap"><p class="home"><a href="../">← Kestrel’s Builds</a></p><header class="cover"><div class="cover-text"><p class="kicker">Build guide</p><h1>Green Man mask</h1> <div class="wrap"><p class="home"><a href="../">← Kestrel’s Builds</a></p><header class="cover"><div class="cover-text"><p class="kicker">Build guide</p><h1>Green Man mask</h1>
@@ -93,15 +90,15 @@ table.dense { font-size: 0.8rem; min-width: 760px; }
<p>Everything else is glued to that band in layers. Seven large leaves stand up from the band and rake back over the head: the four outer ones glued to its back face, the three centre ones to its front. A printed bark strip sits across the front, and a knot covers the centre stems. Two twigs and a row of medium leaves stand in front of the large ones. Acorns cover the strap anchors at the temples. Leaves and tendrils hang from the cheek tabs into the beard.</p> <p>Everything else is glued to that band in layers. Seven large leaves stand up from the band and rake back over the head: the four outer ones glued to its back face, the three centre ones to its front. A printed bark strip sits across the front, and a knot covers the centre stems. Two twigs and a row of medium leaves stand in front of the large ones. Acorns cover the strap anchors at the temples. Leaves and tendrils hang from the cheek tabs into the beard.</p>
<p>Assembly order follows from what overlaps what. Each step says why it comes where it does.</p></div> <p>Assembly order follows from what overlaps what. Each step says why it comes where it does.</p></div>
<figure class="fig profile"><svg xmlns="http://www.w3.org/2000/svg" viewBox="-6 -34 300 236" role="img"><title>Two side views through the mask</title><text x="44" y="-25" font-size="5" font-weight="700" fill="#222">On the centre line</text><path d="M40 196 L40 128 Q40 100 38 76 Q34 36 10 10" fill="none" stroke="#c9a78a" stroke-width="2.2" stroke-linecap="round"/><path d="M40 156 Q56 172 60 190 Q52 196 42 196" fill="none" stroke="#c9a78a" stroke-width="2.2" stroke-linecap="round"/><path d="M42 124.0 L42 94.0 Q41 78.0 38.5 68.0 L44.3 69.6 Q47 78.0 48 94.0 L48 124.0 Z" fill="#d9d6cc" stroke="#5b5850" stroke-width="0.6"/><path d="M42 124.0 L42 156 L47 174 L50 172 L45.5 156 L45.5 124.0" fill="#d9d6cc" stroke="#5b5850" stroke-width="0.6"/><path d="M48 82.0 L50 82.0 L50 69.0 L48 69.0 Z" fill="#2f6b2f" stroke="#1d4a1f" stroke-width="0.45"/><path d="M48 69.0 L50.2 69.0 L22.2 -26.0 L20 -26.0 Z" fill="#2f6b2f" stroke="#1d4a1f" stroke-width="0.45" stroke-linejoin="round"/><path d="M50 54.0 Q65 62.0 64 75.0 Q65 88.0 50 96.0 Z" fill="#6b4a2b" stroke="#3e2a16" stroke-width="0.5"/><rect x="48" y="97.0" width="5" height="22" rx="1.5" fill="#6b4a2b" stroke="#3e2a16" stroke-width="0.5"/><path d="M57 123.0 L57 166 M57 123.0 L51 123.0" fill="none" stroke="#8a8a8a" stroke-width="1.6" stroke-linecap="round"/><path d="M45.5 120.0 L47.5 120.0 L52 176 L49.5 177 L45.5 132.0 Z" fill="#77ad4e" stroke="#1d4a1f" stroke-width="0.5"/><path d="M30 2.000000000000014 L66 4" stroke="#888" stroke-width="0.4"/><text x="67.5" y="5.5" font-size="4.4" text-anchor="start" fill="#222">centre large leaf</text><path d="M49 76.0 L72 20" stroke="#888" stroke-width="0.4"/><text x="73.5" y="21.5" font-size="4.4" text-anchor="start" fill="#222">its stem: on the FRONT,</text><text x="73.5" y="27" font-size="4.4" fill="#222">under the knot</text><path d="M62 68.0 L76 58" stroke="#888" stroke-width="0.4"/><text x="77.5" y="59.5" font-size="4.4" text-anchor="start" fill="#222">knot</text><path d="M53 108.0 L72 100" stroke="#888" stroke-width="0.4"/><text x="73.5" y="101.5" font-size="4.4" text-anchor="start" fill="#222">brow strip</text><path d="M45 116.0 L72 112" stroke="#888" stroke-width="0.4"/><text x="73.5" y="113.5" font-size="4.4" text-anchor="start" fill="#222">foam band</text><path d="M57 140 L72 140" stroke="#888" stroke-width="0.4"/><text x="73.5" y="141.5" font-size="4.4" text-anchor="start" fill="#222">glasses</text><path d="M51 168 L68 172" stroke="#888" stroke-width="0.4"/><text x="69.5" y="173.5" font-size="4.4" text-anchor="start" fill="#222">nose leaf</text><path d="M39 90 L16 150" stroke="#888" stroke-width="0.4"/><text x="14.5" y="151.5" font-size="4.4" text-anchor="end" fill="#222">forehead</text><text x="194" y="-25" font-size="5" font-weight="700" fill="#222">30 mm to one side</text><path d="M190 196 L190 128 Q190 100 188 76 Q184 36 160 10" fill="none" stroke="#c9a78a" stroke-width="2.2" stroke-linecap="round"/><path d="M190 156 Q206 172 210 190 Q202 196 192 196" fill="none" stroke="#c9a78a" stroke-width="2.2" stroke-linecap="round"/><path d="M190 84.0 L192 84.0 L191 70.0 L189 70.0 Z" fill="#245a26" stroke="#1d4a1f" stroke-width="0.45"/><path d="M189 70.0 L191.2 70.0 L164.2 -16.0 L162 -16.0 Z" fill="#245a26" stroke="#1d4a1f" stroke-width="0.45" stroke-linejoin="round"/><path d="M192 124.0 L192 94.0 Q191 78.0 188.5 68.0 L194.3 69.6 Q197 78.0 198 94.0 L198 124.0 Z" fill="#d9d6cc" stroke="#5b5850" stroke-width="0.6"/><path d="M198 95.0 L201 95.0 L201 72.0 L198 72.0 Z" fill="#8a5a2b" stroke="#3e2a16" stroke-width="0.45"/><path d="M198 72.0 L201 72.0 L186 11.000000000000014 L183.4 12.000000000000014 Z" fill="#8a5a2b" stroke="#3e2a16" stroke-width="0.45"/><path d="M201 95.0 L203 95.0 L203 83.0 L201 83.0 Z" fill="#4c8a3c" stroke="#1d4a1f" stroke-width="0.45"/><path d="M201 83.0 L203.2 83.0 L193.2 14.000000000000014 L191 14.000000000000014 Z" fill="#4c8a3c" stroke="#1d4a1f" stroke-width="0.45" stroke-linejoin="round"/><rect x="198" y="97.0" width="5" height="22" rx="1.5" fill="#6b4a2b" stroke="#3e2a16" stroke-width="0.5"/><path d="M207 123.0 L207 166 M207 123.0 L201 123.0" fill="none" stroke="#8a8a8a" stroke-width="1.6" stroke-linecap="round"/><path d="M170 8.000000000000014 L212 2" stroke="#888" stroke-width="0.4"/><text x="213.5" y="3.5" font-size="4.4" text-anchor="start" fill="#222">outer large leaf: stem on the BACK</text><path d="M188 20.000000000000014 L218 16" stroke="#888" stroke-width="0.4"/><text x="219.5" y="17.5" font-size="4.4" text-anchor="start" fill="#222">twig: flat side on the FRONT</text><path d="M195 40.0 L222 30" stroke="#888" stroke-width="0.4"/><text x="223.5" y="31.5" font-size="4.4" text-anchor="start" fill="#222">front-row leaf: on the FRONT,</text><text x="223.5" y="37" font-size="4.4" fill="#222">in front of the twig</text><path d="M203 108.0 L222 100" stroke="#888" stroke-width="0.4"/><text x="223.5" y="101.5" font-size="4.4" text-anchor="start" fill="#222">brow strip</text><path d="M195 116.0 L222 112" stroke="#888Line truncated <figure class="fig profile"><svg xmlns="http://www.w3.org/2000/svg" viewBox="-6 -34 300 236" role="img"><title>Two side views through the mask</title><text x="44" y="-25" font-size="5" font-weight="700" fill="#222">On the centre line</text><path d="M40 196 L40 128 Q40 100 38 76 Q34 36 10 10" fill="none" stroke="#c9a78a" stroke-width="2.2" stroke-linecap="round"/><path d="M40 156 Q56 172 60 190 Q52 196 42 196" fill="none" stroke="#c9a78a" stroke-width="2.2" stroke-linecap="round"/><path d="M42 124.0 L42 94.0 Q41 78.0 38.5 68.0 L44.3 69.6 Q47 78.0 48 94.0 L48 124.0 Z" fill="#d9d6cc" stroke="#5b5850" stroke-width="0.6"/><path d="M42 124.0 L42 156 L47 174 L50 172 L45.5 156 L45.5 124.0" fill="#d9d6cc" stroke="#5b5850" stroke-width="0.6"/><path d="M48 82.0 L50 82.0 L50 69.0 L48 69.0 Z" fill="#2f6b2f" stroke="#1d4a1f" stroke-width="0.45"/><path d="M48 69.0 L50.2 69.0 L22.2 -26.0 L20 -26.0 Z" fill="#2f6b2f" stroke="#1d4a1f" stroke-width="0.45" stroke-linejoin="round"/><path d="M50 54.0 Q65 62.0 64 75.0 Q65 88.0 50 96.0 Z" fill="#6b4a2b" stroke="#3e2a16" stroke-width="0.5"/><rect x="48" y="97.0" width="5" height="22" rx="1.5" fill="#6b4a2b" stroke="#3e2a16" stroke-width="0.5"/><path d="M57 123.0 L57 166 M57 123.0 L51 123.0" fill="none" stroke="#8a8a8a" stroke-width="1.6" stroke-linecap="round"/><path d="M45.5 120.0 L47.5 120.0 L52 176 L49.5 177 L45.5 132.0 Z" fill="#77ad4e" stroke="#1d4a1f" stroke-width="0.5"/><path d="M30 2.000000000000014 L66 4" stroke="#888" stroke-width="0.4"/><text x="67.5" y="5.5" font-size="4.4" text-anchor="start" fill="#222">centre large leaf</text><path d="M49 76.0 L72 20" stroke="#888" stroke-width="0.4"/><text x="73.5" y="21.5" font-size="4.4" text-anchor="start" fill="#222">its stem: on the FRONT,</text><text x="73.5" y="27" font-size="4.4" fill="#222">under the knot</text><path d="M62 68.0 L76 58" stroke="#888" stroke-width="0.4"/><text x="77.5" y="59.5" font-size="4.4" text-anchor="start" fill="#222">knot</text><path d="M53 108.0 L72 100" stroke="#888" stroke-width="0.4"/><text x="73.5" y="101.5" font-size="4.4" text-anchor="start" fill="#222">brow strip</text><path d="M45 116.0 L72 112" stroke="#888" stroke-width="0.4"/><text x="73.5" y="113.5" font-size="4.4" text-anchor="start" fill="#222">foam band</text><path d="M57 140 L72 140" stroke="#888" stroke-width="0.4"/><text x="73.5" y="141.5" font-size="4.4" text-anchor="start" fill="#222">glasses</text><path d="M51 168 L68 172" stroke="#888" stroke-width="0.4"/><text x="69.5" y="173.5" font-size="4.4" text-anchor="start" fill="#222">nose leaf</text><path d="M39 90 L16 150" stroke="#888" stroke-width="0.4"/><text x="14.5" y="151.5" font-size="4.4" text-anchor="end" fill="#222">forehead</text><text x="194" y="-25" font-size="5" font-weight="700" fill="#222">30 mm to one side</text><path d="M190 196 L190 128 Q190 100 188 76 Q184 36 160 10" fill="none" stroke="#c9a78a" stroke-width="2.2" stroke-linecap="round"/><path d="M190 156 Q206 172 210 190 Q202 196 192 196" fill="none" stroke="#c9a78a" stroke-width="2.2" stroke-linecap="round"/><path d="M190 84.0 L192 84.0 L191 70.0 L189 70.0 Z" fill="#245a26" stroke="#1d4a1f" stroke-width="0.45"/><path d="M189 70.0 L191.2 70.0 L164.2 -16.0 L162 -16.0 Z" fill="#245a26" stroke="#1d4a1f" stroke-width="0.45" stroke-linejoin="round"/><path d="M192 124.0 L192 94.0 Q191 78.0 188.5 68.0 L194.3 69.6 Q197 78.0 198 94.0 L198 124.0 Z" fill="#d9d6cc" stroke="#5b5850" stroke-width="0.6"/><path d="M198 95.0 L201 95.0 L201 72.0 L198 72.0 Z" fill="#8a5a2b" stroke="#3e2a16" stroke-width="0.45"/><path d="M198 72.0 L201 72.0 L186 11.000000000000014 L183.4 12.000000000000014 Z" fill="#8a5a2b" stroke="#3e2a16" stroke-width="0.45"/><path d="M201 95.0 L203 95.0 L203 83.0 L201 83.0 Z" fill="#4c8a3c" stroke="#1d4a1f" stroke-width="0.45"/><path d="M201 83.0 L203.2 83.0 L193.2 14.000000000000014 L191 14.000000000000014 Z" fill="#4c8a3c" stroke="#1d4a1f" stroke-width="0.45" stroke-linejoin="round"/><rect x="198" y="97.0" width="5" height="22" rx="1.5" fill="#6b4a2b" stroke="#3e2a16" stroke-width="0.5"/><path d="M207 123.0 L207 166 M207 123.0 L201 123.0" fill="none" stroke="#8a8a8a" stroke-width="1.6" stroke-linecap="round"/><path d="M170 8.000000000000014 L212 2" stroke="#888" stroke-width="0.4"/><text x="213.5" y="3.5" font-size="4.4" text-anchor="start" fill="#222">outer large leaf: stem on the BACK</text><path d="M188 20.000000000000014 L218 16" stroke="#888" stroke-width="0.4"/><text x="219.5" y="17.5" font-size="4.4" text-anchor="start" fill="#222">twig: flat side on the FRONT</text><path d="M195 40.0 L222 30" stroke="#888" stroke-width="0.4"/><text x="223.5" y="31.5" font-size="4.4" text-anchor="start" fill="#222">front-row leaf: on the FRONT,</text><text x="223.5" y="37" font-size="4.4" fill="#222">in front of the twig</text><path d="M203 108.0 L222 100" stroke="#888" stroke-width="0.4"/><text x="223.5" y="101.5" font-size="4.4" text-anchor="start" fill="#222">brow strip</text><path d="M195 116.0 L222 112" stroke="#888Line truncated
<div class="cols"><figure class="fig "><svg xmlns="http://www.w3.org/2000/svg" viewBox="-130 -180.95 260 284.95" role="img"><path d="M-50.95 -65.72 L-50.98 -65.77 L-51 -65.82 L-51.01 -65.88 L-51.02 -65.93 L-51.03 -65.99 L-51.03 -66.04 L-51.02 -66.1 L-50.94 -66.76 L-50.93 -66.78 L-50.86 -67.63 L-50.86 -67.64 L-50.82 -68.51 L-50.82 -68.52 L-50.81 -69.38 L-50.81 -69.39 L-50.82 -70.26 L-50.82 -70.27 L-50.86 -71.14 L-50.86 -71.15 L-50.9 -72.03 L-50.9 -72.03 L-50.96 -72.91 L-51.03 -73.79 L-51.09 -74.66 L-51.09 -74.66 L-51.15 -75.53 L-51.15 -75.54 L-51.2 -76.39 L-51.2 -76.4 L-51.24 -77.25 L-51.24 -77.27 L-51.26 -78.1 L-51.26 -78.12 L-51.25 -78.94 L-51.25 -78.96 L-51.22 -79.78 L-51.21 -79.8 L-51.15 -80.6 L-51.15 -80.62 L-51.05 -81.42 L-51.05 -81.44 L-50.92 -82.23 L-50.92 -82.25 L-50.76 -83.04 L-50.76 -83.06 L-50.57 -83.84 L-50.57 -83.86 L-50.36 -84.65 L-50.35 -84.67 L-50.11 -85.47 L-50.1 -85.48 L-49.83 -86.28 L-49.82 -86.3 L-49.52 -87.11 L-49.52 -87.12 L-49.19 -87.94 L-49.18 -87.96 L-48.83 -88.79 L-48.82 -88.8 L-48.44 -89.65 L-48.43 -89.66 L-48.02 -90.53 L-48.01 -90.54 L-47.57 -91.42 L-47.57 -91.43 L-47.1 -92.34 L-47.1 -92.34 L-46.62 -93.26 L-46.14 -94.2 L-45.66 -95.13 L-45.66 -95.14 L-45.21 -96.06 L-45.21 -96.07 L-44.8 -96.98 L-44.79 -96.99 L-44.43 -97.88 L-44.42 -97.89 L-44.12 -98.75 L-44.12 -98.77 L-43.89 -99.6 L-43.88 -99.62 L-43.74 -100.4 L-43.73 -100.44 L-43.69 -101.17 L-43.69 -101.18 L-43.69 -101.2 L-43.74 -101.89 L-43.74 -101.9 L-43.75 -101.91 L-43.92 -102.55 L-43.93 -102.56 L-43.93 -102.58 L-44.23 -103.15 L-44.24 -103.16 L-44.25 -103.17 L-44.69 -103.68 L-44.7 -103.69 L-44.71 -103.7 L-45.28 -104.15 L-45.29 -104.15 L-45.3 -104.16 L-45.98 -104.53 L-46.02 -104.55 L-46.79 -104.85 L-46.82 -104.86 L-47.68 -105.09 L-47.71 -105.09 L-48.63 -105.25 L-48.65 -105.25 L-49.62 -105.33 L-49.65 -105.33 L-50.65 -105.32 L-50.67 -105.32 L-51.69 -105.24 L-51.71 -105.23 L-52.72 -105.06 L-52.74 -105.06 L-53.74 -104.81 L-53.76 -104.81 L-54.74 -104.5 L-54.75 -104.49 L-55.72 -104.13 L-55.73 -104.13 L-56.68 -103.74 L-56.69 -103.74 L-57.62 -103.34 L-58.52 -102.95 L-58.53 -102.95 L-59.4 -102.58 L-59.41 -102.57 L-60.24 -102.25 L-60.27 -102.24 L-61.05 -101.98 L-61.1 -101.97 L-61.83 -101.78 L-61.89 -101.77 L-62.57 -101.67 L-62.66 -101.67 L-63.27 -101.67 L-63.33 -101.67 L-63.38 -101.68 L-63.94 -101.79 L-64 -101.8 L-64.06 -101.82 L-64.57 -102.04 L-64.63 -102.08 L-64.69 -102.11 L-65.18 -102.47 L-65.22 -102.51 L-65.26 -102.55 L-65.74 -103.06 L-65.79 -103.13 L-66.23 -103.77 L-66.27 -103.83 L-66.66 -104.58 L-66.69 -104.64 L-67.02 -105.46 L-67.03 -105.51 L-67.29 -106.38 L-67.31 -106.43 L-67.48 -107.3 L-67.49 -107.36 L-67.58 -108.21 L-67.58 -108.27 L-67.57 -109.07 L-67.57 -109.15 L-67.47 -109.9 L-67.46 -109.97 L-67.28 -110.68 L-67.26 -110.75 L-67 -111.44 L-66.98 -111.49 L-66.65 -112.17 L-66.62 -112.21 L-66.22 -112.87 L-66.2 -112.91 L-65.74 -113.56 L-65.72 -113.59 L-65.2 -114.24 L-65.18 -114.26 L-64.61 -114.92 L-64.59 -114.93 L-63.98 -115.6 L-63.97 -115.6 L-63.31 -116.28 L-63.31 -116.29 L-62.62 -116.98 L-61.91 -117.7 L-61.19 -118.45 L-61.19 -118.45 L-60.47 -119.22 L-60.46 -119.23 L-59.75 -120.04 L-59.74 -120.04 L-59.03 -120.87 L-59.03 -120.88 L-58.34 -121.73 L-58.33 -121.74 L-57.67 -122.61 L-57.67 -122.62 L-57.04 -123.49 L-57.03 -123.5 L-56.45 -124.38 L-56.44 -124.39 L-55.91 -125.26 L-55.91 -125.27 L-55.44 -126.13 L-55.43 -126.15 L-55.03 -126.99 L-55.02 -127.01 L-54.69 -127.82 L-54.68 -127.85 L-54.44 -128.63 L-54.43 -128.65 L-54.28 -129.39 L-54.28 -129.43 L-54.22 -130.13 L-54.22 -130.14 L-54.22 -130.15 L-54.27 -130.81 L-54.27 -130.83 L-54.28 -130.84 L-54.44 -131.44 L-54.44 -131.46 L-54.45 -131.47 L-54.73 -132.01 L-54.73 -132.02 L-54.74 -132.04 L-55.15 -132.52 L-55.16 -132.53 L-55.17 -132.54 L-55.7 -132.96 L-55.71 -132.96 L-55.72 -132.97 L-56.36 -133.32 L-56.39 -133.34 L-57.12 -133.62 L-57.15 -133.63 L-57.97 -133.84 L-58 -133.84 L-58.89 -133.98 L-58.91 -133.99 L-59.87 -134.05 L-59.89 -134.05 L-60.88 -134.04 L-60.91 -134.04 L-61.93 -133.96 L-61.96 -133.95 L-63 -133.79 L-63.02 -133.78 L-64.06 -133.54 L-64.08 -133.53 L-65.12 -133.21 L-65.14 -133.2 L-66.17 -132.81 L-66.18 -132.8 L-67.2 -132.35 L-67.21 -132.35 L-68.22 -131.86 L-68.23 -131.86 L-69.22 -131.34 L-69.22 -131.33 L-70.19 -130.8 L-70.2 -130.8 L-71.15 -130.26 L-72.08 -129.72 L-72.08 -129.72 L-72.97 -129.22 L-72.98 -129.21 L-73.84 -128.74 L-73.86 -128.74 L-74.68 -128.32 L-74.7 -128.31 L-75.48 -127.96 L-75.51 -127.94 L-76.24 -127.67 L-76.29 -127.65 L-76.96 -127.47 L-77.03 -127.45 L-77.64 -127.36 L-77.68 -127.36 L-77.73 -127.36 L-78.27 -127.36 L-78.33 -127.37 L-78.39 -127.38 L-78.86 -127.48 L-78.93 -127.5 L-79 -127.53 L-79.42 -127.74 L-79.49 -127.78 L-79.54 -127.82 L-79.94 -128.16 L-79.99 -128.2 L-80.03 -128.25 L-80.42 -128.74 L-80.44 -128.79 L-80.47 -128.83 L-80.82 -129.49 L-80.85 -129.56 L-81.14 -130.33 L-81.16 -130.4 L-81.36 -131.24 L-81.37 -131.31 L-81.46 -132.16 L-81.47 -132.24 L-81.44 -133.05 L-81.44 -133.1 L-81.43 -133.15 L-81.28 -133.88 L-81.26 -133.93 L-81.24 -133.98 L-80.97 -134.65 L-80.Line truncated <div class="cols"><figure class="fig "><svg xmlns="http://www.w3.org/2000/svg" viewBox="-130 -180.95 260 284.95" role="img"><path d="M-50.95 -65.72 L-50.98 -65.77 L-51 -65.82 L-51.01 -65.88 L-51.02 -65.93 L-51.03 -65.99 L-51.03 -66.04 L-51.02 -66.1 L-50.94 -66.76 L-50.93 -66.78 L-50.86 -67.63 L-50.86 -67.64 L-50.82 -68.51 L-50.82 -68.52 L-50.81 -69.38 L-50.81 -69.39 L-50.82 -70.26 L-50.82 -70.27 L-50.86 -71.14 L-50.86 -71.15 L-50.9 -72.03 L-50.9 -72.03 L-50.96 -72.91 L-51.03 -73.79 L-51.09 -74.66 L-51.09 -74.66 L-51.15 -75.53 L-51.15 -75.54 L-51.2 -76.39 L-51.2 -76.4 L-51.24 -77.25 L-51.24 -77.27 L-51.26 -78.1 L-51.26 -78.12 L-51.25 -78.94 L-51.25 -78.96 L-51.22 -79.78 L-51.21 -79.8 L-51.15 -80.6 L-51.15 -80.62 L-51.05 -81.42 L-51.05 -81.44 L-50.92 -82.23 L-50.92 -82.25 L-50.76 -83.04 L-50.76 -83.06 L-50.57 -83.84 L-50.57 -83.86 L-50.36 -84.65 L-50.35 -84.67 L-50.11 -85.47 L-50.1 -85.48 L-49.83 -86.28 L-49.82 -86.3 L-49.52 -87.11 L-49.52 -87.12 L-49.19 -87.94 L-49.18 -87.96 L-48.83 -88.79 L-48.82 -88.8 L-48.44 -89.65 L-48.43 -89.66 L-48.02 -90.53 L-48.01 -90.54 L-47.57 -91.42 L-47.57 -91.43 L-47.1 -92.34 L-47.1 -92.34 L-46.62 -93.26 L-46.14 -94.2 L-45.66 -95.13 L-45.66 -95.14 L-45.21 -96.06 L-45.21 -96.07 L-44.8 -96.98 L-44.79 -96.99 L-44.43 -97.88 L-44.42 -97.89 L-44.12 -98.75 L-44.12 -98.77 L-43.89 -99.6 L-43.88 -99.62 L-43.74 -100.4 L-43.73 -100.44 L-43.69 -101.17 L-43.69 -101.18 L-43.69 -101.2 L-43.74 -101.89 L-43.74 -101.9 L-43.75 -101.91 L-43.92 -102.55 L-43.93 -102.56 L-43.93 -102.58 L-44.23 -103.15 L-44.24 -103.16 L-44.25 -103.17 L-44.69 -103.68 L-44.7 -103.69 L-44.71 -103.7 L-45.28 -104.15 L-45.29 -104.15 L-45.3 -104.16 L-45.98 -104.53 L-46.02 -104.55 L-46.79 -104.85 L-46.82 -104.86 L-47.68 -105.09 L-47.71 -105.09 L-48.63 -105.25 L-48.65 -105.25 L-49.62 -105.33 L-49.65 -105.33 L-50.65 -105.32 L-50.67 -105.32 L-51.69 -105.24 L-51.71 -105.23 L-52.72 -105.06 L-52.74 -105.06 L-53.74 -104.81 L-53.76 -104.81 L-54.74 -104.5 L-54.75 -104.49 L-55.72 -104.13 L-55.73 -104.13 L-56.68 -103.74 L-56.69 -103.74 L-57.62 -103.34 L-58.52 -102.95 L-58.53 -102.95 L-59.4 -102.58 L-59.41 -102.57 L-60.24 -102.25 L-60.27 -102.24 L-61.05 -101.98 L-61.1 -101.97 L-61.83 -101.78 L-61.89 -101.77 L-62.57 -101.67 L-62.66 -101.67 L-63.27 -101.67 L-63.33 -101.67 L-63.38 -101.68 L-63.94 -101.79 L-64 -101.8 L-64.06 -101.82 L-64.57 -102.04 L-64.63 -102.08 L-64.69 -102.11 L-65.18 -102.47 L-65.22 -102.51 L-65.26 -102.55 L-65.74 -103.06 L-65.79 -103.13 L-66.23 -103.77 L-66.27 -103.83 L-66.66 -104.58 L-66.69 -104.64 L-67.02 -105.46 L-67.03 -105.51 L-67.29 -106.38 L-67.31 -106.43 L-67.48 -107.3 L-67.49 -107.36 L-67.58 -108.21 L-67.58 -108.27 L-67.57 -109.07 L-67.57 -109.15 L-67.47 -109.9 L-67.46 -109.97 L-67.28 -110.68 L-67.26 -110.75 L-67 -111.44 L-66.98 -111.49 L-66.65 -112.17 L-66.62 -112.21 L-66.22 -112.87 L-66.2 -112.91 L-65.74 -113.56 L-65.72 -113.59 L-65.2 -114.24 L-65.18 -114.26 L-64.61 -114.92 L-64.59 -114.93 L-63.98 -115.6 L-63.97 -115.6 L-63.31 -116.28 L-63.31 -116.29 L-62.62 -116.98 L-61.91 -117.7 L-61.19 -118.45 L-61.19 -118.45 L-60.47 -119.22 L-60.46 -119.23 L-59.75 -120.04 L-59.74 -120.04 L-59.03 -120.87 L-59.03 -120.88 L-58.34 -121.73 L-58.33 -121.74 L-57.67 -122.61 L-57.67 -122.62 L-57.04 -123.49 L-57.03 -123.5 L-56.45 -124.38 L-56.44 -124.39 L-55.91 -125.26 L-55.91 -125.27 L-55.44 -126.13 L-55.43 -126.15 L-55.03 -126.99 L-55.02 -127.01 L-54.69 -127.82 L-54.68 -127.85 L-54.44 -128.63 L-54.43 -128.65 L-54.28 -129.39 L-54.28 -129.43 L-54.22 -130.13 L-54.22 -130.14 L-54.22 -130.15 L-54.27 -130.81 L-54.27 -130.83 L-54.28 -130.84 L-54.44 -131.44 L-54.44 -131.46 L-54.45 -131.47 L-54.73 -132.01 L-54.73 -132.02 L-54.74 -132.04 L-55.15 -132.52 L-55.16 -132.53 L-55.17 -132.54 L-55.7 -132.96 L-55.71 -132.96 L-55.72 -132.97 L-56.36 -133.32 L-56.39 -133.34 L-57.12 -133.62 L-57.15 -133.63 L-57.97 -133.84 L-58 -133.84 L-58.89 -133.98 L-58.91 -133.99 L-59.87 -134.05 L-59.89 -134.05 L-60.88 -134.04 L-60.91 -134.04 L-61.93 -133.96 L-61.96 -133.95 L-63 -133.79 L-63.02 -133.78 L-64.06 -133.54 L-64.08 -133.53 L-65.12 -133.21 L-65.14 -133.2 L-66.17 -132.81 L-66.18 -132.8 L-67.2 -132.35 L-67.21 -132.35 L-68.22 -131.86 L-68.23 -131.86 L-69.22 -131.34 L-69.22 -131.33 L-70.19 -130.8 L-70.2 -130.8 L-71.15 -130.26 L-72.08 -129.72 L-72.08 -129.72 L-72.97 -129.22 L-72.98 -129.21 L-73.84 -128.74 L-73.86 -128.74 L-74.68 -128.32 L-74.7 -128.31 L-75.48 -127.96 L-75.51 -127.94 L-76.24 -127.67 L-76.29 -127.65 L-76.96 -127.47 L-77.03 -127.45 L-77.64 -127.36 L-77.68 -127.36 L-77.73 -127.36 L-78.27 -127.36 L-78.33 -127.37 L-78.39 -127.38 L-78.86 -127.48 L-78.93 -127.5 L-79 -127.53 L-79.42 -127.74 L-79.49 -127.78 L-79.54 -127.82 L-79.94 -128.16 L-79.99 -128.2 L-80.03 -128.25 L-80.42 -128.74 L-80.44 -128.79 L-80.47 -128.83 L-80.82 -129.49 L-80.85 -129.56 L-81.14 -130.33 L-81.16 -130.4 L-81.36 -131.24 L-81.37 -131.31 L-81.46 -132.16 L-81.47 -132.24 L-81.44 -133.05 L-81.44 -133.1 L-81.43 -133.15 L-81.28 -133.88 L-81.26 -133.93 L-81.24 -133.98 L-80.97 -134.65 L-80.Line truncated
<p>Paint and sealer are listed in the painting guide.</p></section><section class="keep"><h2>Everything you will make</h2><p>This list is complete, and every item on it ends up on the mask. The only extras are three spare leaves, which you keep unpainted for repairs.</p><div class="tw"><table class="data"><thead><tr><th>Qty</th><th>Part</th><th>Made from</th><th>Where it goes</th></tr></thead><tbody><tr><td><b>1</b></td><td>Mask base</td><td>6 mm EVA foam</td><td>everything is glued to it</td></tr><tr><td><b>2</b></td><td>Strap reinforcement patch</td><td>2 mm EVA foam, 30 x 36 mm</td><td>back of the band, one behind each strap slit</td></tr><tr><td><b>7</b></td><td>Large oak leaf, 95 mm</td><td>2 mm EVA foam</td><td>3 crown, centre (on the front), 4 crown, outer (on the back)</td></tr><tr><td><b>9</b></td><td>Medium oak leaf, 70 mm</td><td>2 mm EVA foam</td><td>6 crown, front row, 2 cheeks, 1 spare</td></tr><tr><td><b>7</b></td><td>Small oak leaf, 48 mm</td><td>2 mm EVA foam</td><td>4 cheeks, 1 nose, 2 spare</td></tr><tr><td><b>4</b></td><td>Tip leaf, 30 mm</td><td>2 mm EVA foam</td><td>4 tendril ends</td></tr><tr><td><b>1</b></td><td>Brow strip</td><td>brow_strip.stl</td><td>1 front of the band</td></tr><tr><td><b>1</b></td><td>Bark knot</td><td>bark_knot.stl</td><td>1 centre of the band</td></tr><tr><td><b>2</b></td><td>Forked twig</td><td>twig_forked.stl</td><td>2 in the crown, between the leaf rows</td></tr><tr><td><b>4</b></td><td>Acorn, large half</td><td>acorn_large_half.stl</td><td>4 temple clusters</td></tr><tr><td><b>2</b></td><td>Acorn, small half</td><td>acorn_small_half.stl</td><td>2 temple clusters</td></tr><tr><td><b>2</b></td><td>Acorn, full (hangs on a line)</td><td>acorn_full.stl</td><td>2 hanging beside the cheeks</td></tr><tr><td><b>4</b></td><td>Tendril spiral</td><td>tendril_spiral.stl</td><td>4 on the lower cheek tabs, 2 per side</td></tr><tr><td><b>1</b></td><td>Elastic strap, 19-25 mm wide</td><td>flat elastic, about 45 cm</td><td>through both slits and around the back of the head</td></tr><tr><td><b>2</b></td><td>Hanging line, 8 cm</td><td>fishing line or thin wire</td><td>one for each hanging acorn</td></tr></tbody></table></div></section><section class="keep"><h2>Plan your time</h2><div class="tw"><table class="data"><thead><tr><th>When</th><th>What</th><th>Hands-on</th></tr></thead><tbody><tr><td>Evening 1</td><td>Start the print (stamp and brow strip first). Print the templates, paper-fit the base, cut and heat-form it. Fit the strap.</td><td>1½ h</td></tr><tr><td>Evening 2</td><td>Cut, vein and curl the 27 leaves. Clean up the printed parts and heat-form the brow strip.</td><td>2 h</td></tr><tr><td>Evening 3</td><td>Assemble (11 steps). Seal and paint, following the painting guide. Hang overnight.</td><td>2 h + 3 h</td></tr><tr><td>Next morning</td><td>Finger-test the paint, pack the spare leaves and a small glue gun, wear it.</td><td>5 min</td></tr></tbody></table></div> <p>Paint and sealer are listed in the painting guide.</p></section><section class="keep"><h2>Everything you will make</h2><p>This list is complete, and every item on it ends up on the mask. The only extras are three spare leaves, which you keep unpainted for repairs.</p><div class="tw"><table class="data"><thead><tr><th>Qty</th><th>Part</th><th>Made from</th><th>Where it goes</th></tr></thead><tbody><tr><td><b>1</b></td><td>Mask base</td><td>6 mm EVA foam</td><td>everything is glued to it</td></tr><tr><td><b>2</b></td><td>Strap reinforcement patch</td><td>2 mm EVA foam, 30 x 36 mm</td><td>back of the band, one behind each strap slit</td></tr><tr><td><b>7</b></td><td>Large oak leaf, 95 mm</td><td>2 mm EVA foam</td><td>3 crown, centre (on the front), 4 crown, outer (on the back)</td></tr><tr><td><b>9</b></td><td>Medium oak leaf, 70 mm</td><td>2 mm EVA foam</td><td>6 crown, front row, 2 cheeks, 1 spare</td></tr><tr><td><b>7</b></td><td>Small oak leaf, 48 mm</td><td>2 mm EVA foam</td><td>4 cheeks, 1 nose, 2 spare</td></tr><tr><td><b>4</b></td><td>Tip leaf, 30 mm</td><td>2 mm EVA foam</td><td>4 tendril ends</td></tr><tr><td><b>1</b></td><td>Brow strip</td><td>brow_strip.stl</td><td>1 front of the band</td></tr><tr><td><b>1</b></td><td>Bark knot</td><td>bark_knot.stl</td><td>1 centre of the band</td></tr><tr><td><b>2</b></td><td>Forked twig</td><td>twig_forked.stl</td><td>2 in the crown, between the leaf rows</td></tr><tr><td><b>4</b></td><td>Acorn, large half</td><td>acorn_large_half.stl</td><td>4 temple clusters</td></tr><tr><td><b>2</b></td><td>Acorn, small half</td><td>acorn_small_half.stl</td><td>2 temple clusters</td></tr><tr><td><b>2</b></td><td>Acorn, full (hangs on a line)</td><td>acorn_full.stl</td><td>2 hanging beside the cheeks</td></tr><tr><td><b>4</b></td><td>Tendril spiral</td><td>tendril_spiral.stl</td><td>4 on the lower cheek tabs, 2 per side</td></tr><tr><td><b>1</b></td><td>Elastic strap, 19-25 mm wide</td><td>flat elastic, about 45 cm</td><td>through both slits and around the back of the head</td></tr><tr><td><b>2</b></td><td>Hanging line, 8 cm</td><td>fishing line or thin wire</td><td>one for each hanging acorn</td></tr></tbody></table></div></section><section class="keep"><h2>Plan your time</h2><div class="tw"><table class="data"><thead><tr><th>When</th><th>What</th><th>Hands-on</th></tr></thead><tbody><tr><td>Evening 1</td><td>Start the print (stamp and brow strip first). Print the templates, paper-fit the base, cut and heat-form it. Fit the strap.</td><td>1½ h</td></tr><tr><td>Evening 2</td><td>Cut, vein and curl the 27 leaves. Clean up the printed parts and heat-form the brow strip.</td><td>2 h</td></tr><tr><td>Evening 3</td><td>Assemble (11 steps). Seal and paint, following the painting guide. Hang overnight.</td><td>2 h + 3 h</td></tr><tr><td>Next morning</td><td>Finger-test the paint, pack the spare leaves and a small glue gun, wear it.</td><td>5 min</td></tr></tbody></table></div>
<p>Printing takes the longest, though none of the evening 1 work or the leaf cutting waits on it. Start it first and let it run. If a print fails overnight you still have a day of slack.</p></section><section><h2>Stage A · Print</h2><div class="tw"><table class="data"><thead><tr><th>File</th><th>Print</th><th>Size</th><th>Supports</th><th>Notes</th></tr></thead><tbody><tr><td><code>brow_strip.stl</code></td><td><b>1</b></td><td>136 × 23.6 × 4.9 mm</td><td>none</td><td>Prints flat; heat-formed to the forehead later. PLA only.</td></tr><tr><td><code>bark_knot.stl</code></td><td><b>1</b></td><td>42 × 42 × 14.2 mm</td><td>none</td><td>Flat back.</td></tr><tr><td><code>twig_forked.stl</code></td><td><b>2</b></td><td>92.9 × 43.1 × 7.6 mm</td><td>none</td><td>Flat underside along its whole length.</td></tr><tr><td><code>acorn_large_half.stl</code></td><td><b>4</b></td><td>29.7 × 37 × 14.9 mm</td><td>none</td><td>Lies on its flat back.</td></tr><tr><td><code>acorn_small_half.stl</code></td><td><b>2</b></td><td>21.6 × 29 × 10.8 mm</td><td>none</td><td>Lies on its flat back.</td></tr><tr><td><code>acorn_full.stl</code></td><td><b>2</b></td><td>27 × 27 × 31 mm</td><td>none</td><td>Stands on a 13 mm flat, stem up. Use a brim.</td></tr><tr><td><code>tendril_spiral.stl</code></td><td><b>4</b></td><td>64.9 × 25.9 × 6.8 mm</td><td>none</td><td>Flat underside along its whole length.</td></tr><tr><td><code>leaf_vein_stamp.stl</code></td><td><b>1</b></td><td>50 × 121 × 4.2 mm</td><td>none</td><td>A tool for the leaves. Print it first.</td></tr></tbody></table></div> <p>Printing takes the longest, though none of the evening 1 work or the leaf cutting waits on it. Start it first and let it run. If a print fails overnight you still have a day of slack.</p></section><section><h2>Stage A · Print</h2><div class="tw"><table class="data"><thead><tr><th>File</th><th>Print</th><th>Size</th><th>Supports</th><th>Notes</th></tr></thead><tbody><tr><td><code>brow_strip.stl</code></td><td><b>1</b></td><td>136 × 23.6 × 4.9 mm</td><td>none</td><td>Prints flat; heat-formed to the forehead later. PLA only.</td></tr><tr><td><code>bark_knot.stl</code></td><td><b>1</b></td><td>42 × 42 × 14.2 mm</td><td>none</td><td>Flat back.</td></tr><tr><td><code>twig_forked.stl</code></td><td><b>2</b></td><td>92.9 × 43.1 × 7.6 mm</td><td>none</td><td>Flat underside along its whole length.</td></tr><tr><td><code>acorn_large_half.stl</code></td><td><b>4</b></td><td>29.7 × 37 × 14.9 mm</td><td>none</td><td>Lies on its flat back.</td></tr><tr><td><code>acorn_small_half.stl</code></td><td><b>2</b></td><td>21.6 × 29 × 10.8 mm</td><td>none</td><td>Lies on its flat back.</td></tr><tr><td><code>acorn_full.stl</code></td><td><b>2</b></td><td>27 × 27 × 31 mm</td><td>none</td><td>Stands on a 13 mm flat, stem up. Use a brim.</td></tr><tr><td><code>tendril_spiral.stl</code></td><td><b>4</b></td><td>64.9 × 25.9 × 6.8 mm</td><td>none</td><td>Flat underside along its whole length.</td></tr><tr><td><code>leaf_vein_stamp.stl</code></td><td><b>1</b></td><td>50 × 121 × 4.2 mm</td><td>none</td><td>A tool for the leaves. Print it first.</td></tr></tbody></table></div>
<div class="stl-grid"><figure><img src="img/brow_strip.png" alt="brow_strip.stl" loading="lazy"><figcaption>brow strip</figcaption></figure><figure><img src="img/bark_knot.png" alt="bark_knot.stl" loading="lazy"><figcaption>bark knot</figcaption></figure><figure><img src="img/twig_forked.png" alt="twig_forked.stl" loading="lazy"><figcaption>twig forked</figcaption></figure><figure><img src="img/acorn_large_half.png" alt="acorn_large_half.stl" loading="lazy"><figcaption>acorn large half</figcaption></figure><figure><img src="img/acorn_small_half.png" alt="acorn_small_half.stl" loading="lazy"><figcaption>acorn small half</figcaption></figure><figure><img src="img/acorn_full.png" alt="acorn_full.stl" loading="lazy"><figcaption>acorn full</figcaption></figure><figure><img src="img/tendril_spiral.png" alt="tendril_spiral.stl" loading="lazy"><figcaption>tendril spiral</figcaption></figure><figure><img src="img/leaf_vein_stamp.png" alt="leaf_vein_stamp.stl" loading="lazy"><figcaption>leaf vein stamp</figcaption></figure></div><div class="cols"><div><p><b>Settings.</b> PLA, 0.4 mm nozzle, 0.2 mm layers, 3 walls, 15% infill, brim on. No supports on anything. For the brow strip use 4 top and bottom layers, because it has to bend later without snapping.</p> <div class="stl-grid"><figure><img src="img/brow_strip.png" alt="brow_strip.stl" loading="lazy"><figcaption>brow strip</figcaption></figure><figure><img src="img/bark_knot.png" alt="bark_knot.stl" loading="lazy"><figcaption>bark knot</figcaption></figure><figure><img src="img/twig_forked.png" alt="twig_forked.stl" loading="lazy"><figcaption>twig forked</figcaption></figure><figure><img src="img/acorn_large_half.png" alt="acorn_large_half.stl" loading="lazy"><figcaption>acorn large half</figcaption></figure><figure><img src="img/acorn_small_half.png" alt="acorn_small_half.stl" loading="lazy"><figcaption>acorn small half</figcaption></figure><figure><img src="img/acorn_full.png" alt="acorn_full.stl" loading="lazy"><figcaption>acorn full</figcaption></figure><figure><img src="img/tendril_spiral.png" alt="tendril_spiral.stl" loading="lazy"><figcaption>tendril spiral</figcaption></figure><figure><img src="img/leaf_vein_stamp.png" alt="leaf_vein_stamp.stl" loading="lazy"><figcaption>leaf vein stamp</figcaption></figure></div><div class="cols"><div><p><b>Settings.</b> PLA, 0.4 mm nozzle, 0.2 mm layers, 3 walls, 15% infill, brim on. No supports on anything. For the brow strip use 4 top and bottom layers, because it has to bend later without snapping.</p>
<p><b>Print order.</b> First the vein stamp and the brow strip, so the leaf work is never waiting on the printer. Then everything else, on as many plates as your bed needs. Expect the full set to take most of a day on a slow printer.</p><p><b>Scaled your base?</b> If you print the base template at anything other than 100% (see Stage B), scale <code>brow_strip.stl</code> by the same percentage in the slicer.</p> <p><b>Print order.</b> First the vein stamp and the brow strip, so the leaf work is never waiting on the printer. Then everything else, on as many plates as your bed needs. Expect the full set to take most of a day on a slow printer.</p><p><b>Scaled your base?</b> If you print the base template at anything other than 100% (see Stage B), scale <code>brow_strip.stl</code> by the same percentage in the slicer.</p>
</div><div><p><b>Every part has a flat underside along its full length.</b> If your slicer shows any part of a model floating above the bed, the model has been rotated, so lay it back on its flat face.</p></div> </div><div><p><b>Every part has a flat underside along its full length.</b> If your slicer shows any part of a model floating above the bed, the model has been rotated, so lay it back on its flat face.</p></div>
</div></section><section><h2>Stage B · Base</h2><div class="cols"><div><ol><li>Print the template pages on card stock at 100%. Measure the 100 mm bar on every page before cutting anything.</li><li><b>Paper fit.</b> Cut the base out of paper, hold it to your face and put your glasses on over it. The band should lie on your forehead with the frame’s top bar along its lower edge, the nose strip should drop between the nose pads, and each cheek tab should sit outside the frame with the arm passing over it. If your frame is not close to 140 mm wide, reprint the base page only at the scale in its fit table. On that reprint the bar will measure the scaled length (93 mm at 93%), the brow strip must be printed at the same scale, and the distances given in the assembly steps shrink or grow by the same few percent; the drawings still show where everything goes.</li><li>Trace onto 6 mm foam and cut with the blade upright. Fold the template on its centre line and cut both halves together if you want exact symmetry.</li><li><b>Heat-form.</b> Warm the band with the heat gun for a few seconds at a time and press it to your forehead (through a cloth) until it holds the curve. Do the same to bend each cheek tab in against your cheekbone.</li><li>Score the back of the nose strip lightly where it meets the band, so it drapes down your nose.</li><li>Put it on under your glasses again. It should sit there on its own for a moment before it slides.</li></ol></div> </div></section><section><h2>Stage B · Base</h2><div class="cols"><div><ol><li>Print the template pages on card stock at 100%. Measure the 100 mm bar on every page before cutting anything.</li><li><b>Paper fit.</b> Cut the base out of paper, hold it to your face and put your glasses on over it. The band should lie on your forehead with the frame’s top bar along its lower edge, the nose strip should drop between the nose pads, and each cheek tab should sit outside the frame with the arm passing over it. If your frame is not close to 140 mm wide, reprint the base page only at the scale in its fit table. On that reprint the bar will measure the scaled length (93 mm at 93%), the brow strip must be printed at the same scale, and the distances given in the assembly steps shrink or grow by the same few percent; the drawings still show where everything goes.</li><li>Trace onto 6 mm foam and cut with the blade upright. Fold the template on its centre line and cut both halves together if you want exact symmetry.</li><li><b>Heat-form.</b> Warm the band with the heat gun for a few seconds at a time and press it to your forehead (through a cloth) until it holds the curve. Do the same to bend each cheek tab in against your cheekbone.</li><li>Score the back of the nose strip lightly where it meets the band, so it drapes down your nose.</li><li>Put it on under your glasses again. It should sit there on its own for a moment before it slides.</li></ol></div>
<figure class="photo "><img src="img/base_fit.jpg" alt="The formed base behind the glasses. (This photo was taken after the strap went on in Stage C.) The frame’s top bar runs along the lower edge of the band." loading="lazy"><figcaption>The formed base behind the glasses. (This photo was taken after the strap went on in Stage C.) The frame’s top bar runs along the lower edge of the band.</figcaption></figure></div></section><section><h2>Stage C · Strap</h2><section class="step" id="step-strap"><figure class="fig stepfig"><svg xmlns="http://www.w3.org/2000/svg" viewBox="-130 -180.95 260 284.95" role="img"><path d="M95.84 2 L95.84 1.87 L93.86 -30.82 L93.84 -30.95 L93.81 -30.98 L93.42 -31.31 L93.07 -31.67 L92.75 -32.07 L92.48 -32.51 L92.26 -32.96 L92.08 -33.44 L91.95 -33.93 L91.88 -34.43 L91.85 -34.94 L91.85 -46.83 L91.84 -46.95 L91.79 -47.06 L79.91 -68.84 L79.85 -68.94 L79.73 -68.97 L40.12 -76.93 L39.88 -76.96 L0.12 -80.94 L-0 -80.94 L-0.12 -80.94 L-39.88 -76.96 L-40.12 -76.93 L-79.73 -68.97 L-79.85 -68.94 L-79.91 -68.84 L-91.79 -47.06 L-91.84 -46.95 L-91.85 -46.83 L-91.85 -34.94 L-91.88 -34.43 L-91.95 -33.93 L-92.08 -33.44 L-92.26 -32.96 L-92.48 -32.51 L-92.75 -32.07 L-93.07 -31.67 L-93.42 -31.31 L-93.81 -30.98 L-93.84 -30.95 L-93.86 -30.82 L-95.84 1.87 L-95.84 2 L-95.79 2.12 L-87.9 17.9 L-87.85 18 L-87.75 18.05 L-75.96 23.94 L-75.85 23.99 L-75.8 23.88 L-67.9 6.1 L-67.86 6 L-67.84 5.89 L-66.43 -20.22 L-66.38 -20.72 L-66.27 -21.22 L-66.12 -21.7 L-65.92 -22.16 L-65.68 -22.6 L-65.39 -23.02 L-65.06 -23.4 L-64.69 -23.75 L-64.29 -24.06 L-63.86 -24.32 L-63.41 -24.55 L-62.93 -24.72 L-62.44 -24.85 L-61.94 -24.92 L-61.44 -24.95 L-12.4 -24.95 L-11.93 -24.93 L-11.46 -24.86 L-11 -24.75 L-10.55 -24.6 L-10.12 -24.4 L-9.71 -24.16 L-9.33 -23.89 L-8.97 -23.58 L-8.64 -23.24 L-8.35 -22.87 L-8.09 -22.47 L-7.87 -22.05 L-7.69 -21.62 L-7.55 -21.16 L-6.18 -15.65 L-6.08 -15.18 L-6.03 -14.71 L-6.03 -14.22 L-6.98 7.63 L-7.07 8.36 L-11.98 33.88 L-11.99 34 L-11.92 34.09 L-0.08 47.91 L-0 47.99 L0.08 47.91 L11.92 34.09 L11.99 34 L11.98 33.88 L7.07 8.36 L6.98 7.63 L6.03 -14.22 L6.03 -14.71 L6.08 -15.18 L6.18 -15.65 L7.55 -21.16 L7.69 -21.62 L7.87 -22.05 L8.09 -22.47 L8.35 -22.87 L8.64 -23.24 L8.97 -23.58 L9.33 -23.89 L9.71 -24.16 L10.12 -24.4 L10.55 -24.6 L11 -24.75 L11.46 -24.86 L11.93 -24.93 L12.4 -24.95 L61.44 -24.95 L61.94 -24.92 L62.44 -24.85 L62.93 -24.72 L63.41 -24.55 L63.86 -24.32 L64.29 -24.06 L64.69 -23.75 L65.06 -23.4 L65.39 -23.02 L65.68 -22.6 L65.92 -22.16 L66.12 -21.7 L66.27 -21.22 L66.38 -20.72 L66.43 -20.22 L67.84 5.89 L67.86 6 L67.9 6.1 L75.8 23.88 L75.85 23.99 L75.96 23.94 L87.75 18.05 L87.85 18 L87.9 17.9 L95.79 2.12 Z" fill="#d9d6cc" stroke="#5b5850" stroke-width="0.6" fill-rule="evenodd" stroke-linejoin="round"/><path d="M56.85 -24.95 L56.85 -60.95 L86.85 -60.95 L86.85 -24.95 Z" fill="#bdb7a3" stroke="#c8321e" stroke-width="0.9" stroke-linejoin="round" stroke-dasharray="1.5 1"/><path d="M-86.85 -24.95 L-86.85 -60.95 L-56.85 -60.95 L-56.85 -24.95 Z" fill="#bdb7a3" stroke="#c8321e" stroke-width="0.9" stroke-linejoin="round" stroke-dasharray="1.5 1"/><rect x="71.85" y="-52.95" width="51" height="20" fill="#2b2b2b" opacity="0.9"/><rect x="71.85" y="-50.95" width="21" height="16" fill="#6a6a6a" stroke="#fff" stroke-width="0.3" stroke-dasharray="1 1"/><rect x="-122.85" y="-52.95" width="51" height="20" fill="#2b2b2b" opacity="0.9"/><rect x="-92.85" y="-50.95" width="21" height="16" fill="#6a6a6a" stroke="#fff" stroke-width="0.3" stroke-dasharray="1 1"/><circle cx="71.85" cy="-42.95" r="3.3" fill="#fff" stroke="#c8321e" stroke-width="0.6"/><text x="71.85" y="-41.7" font-size="3.6" font-weight="700" text-anchor="middle" fill="#c8321e" font-family="Inter, Helvetica, Arial, sans-serif">1</text><circle cx="-71.85" cy="-42.95" r="3.3" fill="#fff" stroke="#c8321e" stroke-width="0.6"/><text x="-71.85" y="-41.7" font-size="3.6" font-weight="700" text-anchor="middle" fill="#c8321e" font-family="Inter, Helvetica, Arial, sans-serif">2</text></svg><figcaption>Back view (the side that touches your face). Red outline: glued in this step. Numbers: the order. Grey: already on.</figcaption></figure><div class="step-body"><div class="step-head"><span class="num">C</span><h3>Strap</h3><span class="meta">25 min + cure · Contact cement for the patches, hot glue for the tails</span></div><div class="chips"><span class="chip">1 elastic strap</span><span class="chip">2 strap patches</span></div><ol><li>Cut two 30 × 36 mm patches from 2 mm foam (outline on template page 4). Lay the paper base template on the formed foam base and push a pin through both ends of each red slit to mark them on the foam.</li><li>Cement a patch to the <b>back</b> of the band, centred over each pair of pin marks. Coat both surfaces, wait until touch-dry, press. Let it cure at least 30 minutes.</li><li>Cut each slit through band and patch together with a fresh blade: two parallel cuts 20 mm long and 3 mm apart, then lift out the sliver. Cutting through both layers atLine truncated <figure class="photo "><img src="img/base_fit.jpg" alt="The formed base behind the glasses. (This photo was taken after the strap went on in Stage C.) The frame’s top bar runs along the lower edge of the band." loading="lazy"><figcaption>The formed base behind the glasses. (This photo was taken after the strap went on in Stage C.) The frame’s top bar runs along the lower edge of the band.</figcaption></figure></div></section><section><h2>Stage C · Strap</h2><section class="step" id="step-strap"><figure class="fig stepfig"><svg xmlns="http://www.w3.org/2000/svg" viewBox="-130 -180.95 260 284.95" role="img"><path d="M95.84 2 L95.84 1.87 L93.86 -30.82 L93.84 -30.95 L93.81 -30.98 L93.42 -31.31 L93.07 -31.67 L92.75 -32.07 L92.48 -32.51 L92.26 -32.96 L92.08 -33.44 L91.95 -33.93 L91.88 -34.43 L91.85 -34.94 L91.85 -46.83 L91.84 -46.95 L91.79 -47.06 L79.91 -68.84 L79.85 -68.94 L79.73 -68.97 L40.12 -76.93 L39.88 -76.96 L0.12 -80.94 L0 -80.94 L-0.12 -80.94 L-39.88 -76.96 L-40.12 -76.93 L-79.73 -68.97 L-79.85 -68.94 L-79.91 -68.84 L-91.79 -47.06 L-91.84 -46.95 L-91.85 -46.83 L-91.85 -34.94 L-91.88 -34.43 L-91.95 -33.93 L-92.08 -33.44 L-92.26 -32.96 L-92.48 -32.51 L-92.75 -32.07 L-93.07 -31.67 L-93.42 -31.31 L-93.81 -30.98 L-93.84 -30.95 L-93.86 -30.82 L-95.84 1.87 L-95.84 2 L-95.79 2.12 L-87.9 17.9 L-87.85 18 L-87.75 18.05 L-75.96 23.94 L-75.85 23.99 L-75.8 23.88 L-67.9 6.1 L-67.86 6 L-67.84 5.89 L-66.43 -20.22 L-66.38 -20.72 L-66.27 -21.22 L-66.12 -21.7 L-65.92 -22.16 L-65.68 -22.6 L-65.39 -23.02 L-65.06 -23.4 L-64.69 -23.75 L-64.29 -24.06 L-63.86 -24.32 L-63.41 -24.55 L-62.93 -24.72 L-62.44 -24.85 L-61.94 -24.92 L-61.44 -24.95 L-12.4 -24.95 L-11.93 -24.93 L-11.46 -24.86 L-11 -24.75 L-10.55 -24.6 L-10.12 -24.4 L-9.71 -24.16 L-9.33 -23.89 L-8.97 -23.58 L-8.64 -23.24 L-8.35 -22.87 L-8.09 -22.47 L-7.87 -22.05 L-7.69 -21.62 L-7.55 -21.16 L-6.18 -15.65 L-6.08 -15.18 L-6.03 -14.71 L-6.03 -14.22 L-6.98 7.63 L-7.07 8.36 L-11.98 33.88 L-11.99 34 L-11.92 34.09 L-0.08 47.91 L0 47.99 L0.08 47.91 L11.92 34.09 L11.99 34 L11.98 33.88 L7.07 8.36 L6.98 7.63 L6.03 -14.22 L6.03 -14.71 L6.08 -15.18 L6.18 -15.65 L7.55 -21.16 L7.69 -21.62 L7.87 -22.05 L8.09 -22.47 L8.35 -22.87 L8.64 -23.24 L8.97 -23.58 L9.33 -23.89 L9.71 -24.16 L10.12 -24.4 L10.55 -24.6 L11 -24.75 L11.46 -24.86 L11.93 -24.93 L12.4 -24.95 L61.44 -24.95 L61.94 -24.92 L62.44 -24.85 L62.93 -24.72 L63.41 -24.55 L63.86 -24.32 L64.29 -24.06 L64.69 -23.75 L65.06 -23.4 L65.39 -23.02 L65.68 -22.6 L65.92 -22.16 L66.12 -21.7 L66.27 -21.22 L66.38 -20.72 L66.43 -20.22 L67.84 5.89 L67.86 6 L67.9 6.1 L75.8 23.88 L75.85 23.99 L75.96 23.94 L87.75 18.05 L87.85 18 L87.9 17.9 L95.79 2.12 Z" fill="#d9d6cc" stroke="#5b5850" stroke-width="0.6" fill-rule="evenodd" stroke-linejoin="round"/><path d="M56.85 -24.95 L56.85 -60.95 L86.85 -60.95 L86.85 -24.95 Z" fill="#bdb7a3" stroke="#c8321e" stroke-width="0.9" stroke-linejoin="round" stroke-dasharray="1.5 1"/><path d="M-86.85 -24.95 L-86.85 -60.95 L-56.85 -60.95 L-56.85 -24.95 Z" fill="#bdb7a3" stroke="#c8321e" stroke-width="0.9" stroke-linejoin="round" stroke-dasharray="1.5 1"/><rect x="71.85" y="-52.95" width="51" height="20" fill="#2b2b2b" opacity="0.9"/><rect x="71.85" y="-50.95" width="21" height="16" fill="#6a6a6a" stroke="#fff" stroke-width="0.3" stroke-dasharray="1 1"/><rect x="-122.85" y="-52.95" width="51" height="20" fill="#2b2b2b" opacity="0.9"/><rect x="-92.85" y="-50.95" width="21" height="16" fill="#6a6a6a" stroke="#fff" stroke-width="0.3" stroke-dasharray="1 1"/><circle cx="71.85" cy="-42.95" r="3.3" fill="#fff" stroke="#c8321e" stroke-width="0.6"/><text x="71.85" y="-41.7" font-size="3.6" font-weight="700" text-anchor="middle" fill="#c8321e" font-family="Inter, Helvetica, Arial, sans-serif">1</text><circle cx="-71.85" cy="-42.95" r="3.3" fill="#fff" stroke="#c8321e" stroke-width="0.6"/><text x="-71.85" y="-41.7" font-size="3.6" font-weight="700" text-anchor="middle" fill="#c8321e" font-family="Inter, Helvetica, Arial, sans-serif">2</text></svg><figcaption>Back view (the side that touches your face). Red outline: glued in this step. Numbers: the order. Grey: already on.</figcaption></figure><div class="step-body"><div class="step-head"><span class="num">C</span><h3>Strap</h3><span class="meta">25 min + cure · Contact cement for the patches, hot glue for the tails</span></div><div class="chips"><span class="chip">1 elastic strap</span><span class="chip">2 strap patches</span></div><ol><li>Cut two 30 × 36 mm patches from 2 mm foam (outline on template page 4). Lay the paper base template on the formed foam base and push a pin through both ends of each red slit to mark them on the foam.</li><li>Cement a patch to the <b>back</b> of the band, centred over each pair of pin marks. Coat both surfaces, wait until touch-dry, press. Let it cure at least 30 minutes.</li><li>Cut each slit through band and patch together with a fresh blade: two parallel cuts 20 mm long and 3 mm apart, then lift out the sliver. Cutting through both layers at oLine truncated
<figure class="photo "><img src="img/leaf_pile.jpg" alt="Cut leaves, the vein stamp, and printed parts, ready for assembly." loading="lazy"><figcaption>Cut leaves, the vein stamp, and printed parts, ready for assembly.</figcaption></figure></div></section><section><h2>Stage E · Prepare the printed parts</h2><ol><li>Snap off the brims. Sand every flat back with 120 grit until it is dull, then wipe with alcohol. Contact cement will not hold on glossy PLA.</li><li><b>Form the brow strip.</b> Warm it from the back on the gun’s low setting, moving constantly, until it starts to sag (10 to 15 seconds). Lay it on the curved band, press from the centre outward with a gloved hand, and hold for 30 seconds. Bend in stages; forcing the ends cold will crack it. Do not glue it yet.</li><li><b>Dry-fit everything</b> against the front-view drawing in “How it goes together”: strip, knot, acorns over the strap, a few leaves held in place. A part that does not fit your base is much cheaper to notice now.</li></ol></section><section><h2>Stage F · Assembly</h2><p>11 steps, about two hours. Hot glue goes on leaf stems, so every blade can still be lifted to reach behind it. The brow strip and acorns are pressed on first, while the mask can still lie flat. The crown is built up after that, starting with the large leaves. Work with glasses within reach; several checks need them.</p><section class="step" id="step-strip"><figure class="fig stepfig"><svg xmlns="http://www.w3.org/2000/svg" viewBox="-130 -180.95 260 284.95" role="img"><path d="M-95.84 2 L-95.84 1.87 L-93.86 -30.82 L-93.84 -30.95 L-93.81 -30.98 L-93.42 -31.31 L-93.07 -31.67 L-92.75 -32.07 L-92.48 -32.51 L-92.26 -32.96 L-92.08 -33.44 L-91.95 -33.93 L-91.88 -34.43 L-91.85 -34.94 L-91.85 -46.83 L-91.84 -46.95 L-91.79 -47.06 L-79.91 -68.84 L-79.85 -68.94 L-79.73 -68.97 L-40.12 -76.93 L-39.88 -76.96 L-0.12 -80.94 L0 -80.94 L0.12 -80.94 L39.88 -76.96 L40.12 -76.93 L79.73 -68.97 L79.85 -68.94 L79.91 -68.84 L91.79 -47.06 L91.84 -46.95 L91.85 -46.83 L91.85 -34.94 L91.88 -34.43 L91.95 -33.93 L92.08 -33.44 L92.26 -32.96 L92.48 -32.51 L92.75 -32.07 L93.07 -31.67 L93.42 -31.31 L93.81 -30.98 L93.84 -30.95 L93.86 -30.82 L95.84 1.87 L95.84 2 L95.79 2.12 L87.9 17.9 L87.85 18 L87.75 18.05 L75.96 23.94 L75.85 23.99 L75.8 23.88 L67.9 6.1 L67.86 6 L67.84 5.89 L66.43 -20.22 L66.38 -20.72 L66.27 -21.22 L66.12 -21.7 L65.92 -22.16 L65.68 -22.6 L65.39 -23.02 L65.06 -23.4 L64.69 -23.75 L64.29 -24.06 L63.86 -24.32 L63.41 -24.55 L62.93 -24.72 L62.44 -24.85 L61.94 -24.92 L61.44 -24.95 L12.4 -24.95 L11.93 -24.93 L11.46 -24.86 L11 -24.75 L10.55 -24.6 L10.12 -24.4 L9.71 -24.16 L9.33 -23.89 L8.97 -23.58 L8.64 -23.24 L8.35 -22.87 L8.09 -22.47 L7.87 -22.05 L7.69 -21.62 L7.55 -21.16 L6.18 -15.65 L6.08 -15.18 L6.03 -14.71 L6.03 -14.22 L6.98 7.63 L7.07 8.36 L11.98 33.88 L11.99 34 L11.92 34.09 L0.08 47.91 L0 47.99 L-0.08 47.91 L-11.92 34.09 L-11.99 34 L-11.98 33.88 L-7.07 8.36 L-6.98 7.63 L-6.03 -14.22 L-6.03 -14.71 L-6.08 -15.18 L-6.18 -15.65 L-7.55 -21.16 L-7.69 -21.62 L-7.87 -22.05 L-8.09 -22.47 L-8.35 -22.87 L-8.64 -23.24 L-8.97 -23.58 L-9.33 -23.89 L-9.71 -24.16 L-10.12 -24.4 L-10.55 -24.6 L-11 -24.75 L-11.46 -24.86 L-11.93 -24.93 L-12.4 -24.95 L-61.44 -24.95 L-61.94 -24.92 L-62.44 -24.85 L-62.93 -24.72 L-63.41 -24.55 L-63.86 -24.32 L-64.29 -24.06 L-64.69 -23.75 L-65.06 -23.4 L-65.39 -23.02 L-65.68 -22.6 L-65.92 -22.16 L-66.12 -21.7 L-66.27 -21.22 L-66.38 -20.72 L-66.43 -20.22 L-67.84 5.89 L-67.86 6 L-67.9 6.1 L-75.8 23.88 L-75.85 23.99 L-75.96 23.94 L-87.75 18.05 L-87.85 18 L-87.9 17.9 L-95.79 2.12 Z" fill="#eceae4" stroke="#9a978e" stroke-width="0.6" fill-rule="evenodd" stroke-linejoin="round"/><path d="M-71.85 -32.95 L-71.85 -52.95 L-92.85 -52.95 L-92.85 -32.95 Z" fill="#bcbab2" stroke="#bcbab2" stroke-width="0.3" stroke-linejoin="round"/><path d="M92.85 -32.95 L92.85 -52.95 L71.85 -52.95 L71.85 -32.95 Z" fill="#bcbab2" stroke="#bcbab2" stroke-width="0.3" stroke-linejoin="round"/><path d="M-68 -46.38 L-68 -46.41 L-67.97 -46.4 L-66.91 -46.02 L-66.81 -45.99 L-65.84 -45.71 L-65.71 -45.68 L-65.58 -45.66 L-64.76 -45.58 L-64.57 -45.58 L-64.39 -45.59 L-63.59 -45.71 L-63.43 -45.75 L-63.27 -45.8 L-62.38 -46.14 L-62.2 -46.23 L-61.17 -46.8 L-61.12 -46.82 L-60.02 -47.48 L-59.98 -47.5 L-58.9 -48.08 L-58.81 -48.11 L-57.74 -48.52 L-57.71 -48.53 L-57.68 -48.53 L-56.62 -48.75 L-56.52 -48.76 L-55.45 -48.84 L-55.41 -48.84 L-54.32 -48.87 L-54.25 -48.88 L-53.23 -48.96 L-53.06 -48.98 L-52.09 -49.17 L-51.92 -49.21 L-50.9 -49.53 L-50.81 -49.56 L-49.72 -49.99 L-49.71 -49.99 L-48.62 -50.39 L-48.53 -50.41 L-47.47 -50.65 L-47.43 -50.66 L-47.39 -50.66 L-46.33 -50.67 L-46.29 -50.67 L-46.24 -50.66 L-45.17 -50.43 L-45.14 -50.42 L-45.11 -50.41 L-44.02 -49.96 L-43.98 -49.94 L-42.88 -49.42 L-42.83 -49.39 L-41.81 -48.95 L-41.61 -48.88 L-40.72 -48.63 L-40.57 -48.6 L-40.41 -48.58 L-39.58 -48.53 L-39.43 -48.53 L-39.28 -48.54 L-38.38 -48.67 L-38.19 -48.71 L-37.16 -49 L-37.12 -49.01 L-36.02 -49.36 L-35.98 -49.37 L-34.9 -49.63 L-34.81Line truncated <figure class="photo "><img src="img/leaf_pile.jpg" alt="Cut leaves, the vein stamp, and printed parts, ready for assembly." loading="lazy"><figcaption>Cut leaves, the vein stamp, and printed parts, ready for assembly.</figcaption></figure></div></section><section><h2>Stage E · Prepare the printed parts</h2><ol><li>Snap off the brims. Sand every flat back with 120 grit until it is dull, then wipe with alcohol. Contact cement will not hold on glossy PLA.</li><li><b>Form the brow strip.</b> Warm it from the back on the gun’s low setting, moving constantly, until it starts to sag (10 to 15 seconds). Lay it on the curved band, press from the centre outward with a gloved hand, and hold for 30 seconds. Bend in stages; forcing the ends cold will crack it. Do not glue it yet.</li><li><b>Dry-fit everything</b> against the front-view drawing in “How it goes together”: strip, knot, acorns over the strap, a few leaves held in place. A part that does not fit your base is much cheaper to notice now.</li></ol></section><section><h2>Stage F · Assembly</h2><p>11 steps, about two hours. Hot glue goes on leaf stems, so every blade can still be lifted to reach behind it. The brow strip and acorns are pressed on first, while the mask can still lie flat. The crown is built up after that, starting with the large leaves. Work with glasses within reach; several checks need them.</p><section class="step" id="step-strip"><figure class="fig stepfig"><svg xmlns="http://www.w3.org/2000/svg" viewBox="-130 -180.95 260 284.95" role="img"><path d="M-95.84 2 L-95.84 1.87 L-93.86 -30.82 L-93.84 -30.95 L-93.81 -30.98 L-93.42 -31.31 L-93.07 -31.67 L-92.75 -32.07 L-92.48 -32.51 L-92.26 -32.96 L-92.08 -33.44 L-91.95 -33.93 L-91.88 -34.43 L-91.85 -34.94 L-91.85 -46.83 L-91.84 -46.95 L-91.79 -47.06 L-79.91 -68.84 L-79.85 -68.94 L-79.73 -68.97 L-40.12 -76.93 L-39.88 -76.96 L-0.12 -80.94 L0 -80.94 L0.12 -80.94 L39.88 -76.96 L40.12 -76.93 L79.73 -68.97 L79.85 -68.94 L79.91 -68.84 L91.79 -47.06 L91.84 -46.95 L91.85 -46.83 L91.85 -34.94 L91.88 -34.43 L91.95 -33.93 L92.08 -33.44 L92.26 -32.96 L92.48 -32.51 L92.75 -32.07 L93.07 -31.67 L93.42 -31.31 L93.81 -30.98 L93.84 -30.95 L93.86 -30.82 L95.84 1.87 L95.84 2 L95.79 2.12 L87.9 17.9 L87.85 18 L87.75 18.05 L75.96 23.94 L75.85 23.99 L75.8 23.88 L67.9 6.1 L67.86 6 L67.84 5.89 L66.43 -20.22 L66.38 -20.72 L66.27 -21.22 L66.12 -21.7 L65.92 -22.16 L65.68 -22.6 L65.39 -23.02 L65.06 -23.4 L64.69 -23.75 L64.29 -24.06 L63.86 -24.32 L63.41 -24.55 L62.93 -24.72 L62.44 -24.85 L61.94 -24.92 L61.44 -24.95 L12.4 -24.95 L11.93 -24.93 L11.46 -24.86 L11 -24.75 L10.55 -24.6 L10.12 -24.4 L9.71 -24.16 L9.33 -23.89 L8.97 -23.58 L8.64 -23.24 L8.35 -22.87 L8.09 -22.47 L7.87 -22.05 L7.69 -21.62 L7.55 -21.16 L6.18 -15.65 L6.08 -15.18 L6.03 -14.71 L6.03 -14.22 L6.98 7.63 L7.07 8.36 L11.98 33.88 L11.99 34 L11.92 34.09 L0.08 47.91 L0 47.99 L-0.08 47.91 L-11.92 34.09 L-11.99 34 L-11.98 33.88 L-7.07 8.36 L-6.98 7.63 L-6.03 -14.22 L-6.03 -14.71 L-6.08 -15.18 L-6.18 -15.65 L-7.55 -21.16 L-7.69 -21.62 L-7.87 -22.05 L-8.09 -22.47 L-8.35 -22.87 L-8.64 -23.24 L-8.97 -23.58 L-9.33 -23.89 L-9.71 -24.16 L-10.12 -24.4 L-10.55 -24.6 L-11 -24.75 L-11.46 -24.86 L-11.93 -24.93 L-12.4 -24.95 L-61.44 -24.95 L-61.94 -24.92 L-62.44 -24.85 L-62.93 -24.72 L-63.41 -24.55 L-63.86 -24.32 L-64.29 -24.06 L-64.69 -23.75 L-65.06 -23.4 L-65.39 -23.02 L-65.68 -22.6 L-65.92 -22.16 L-66.12 -21.7 L-66.27 -21.22 L-66.38 -20.72 L-66.43 -20.22 L-67.84 5.89 L-67.86 6 L-67.9 6.1 L-75.8 23.88 L-75.85 23.99 L-75.96 23.94 L-87.75 18.05 L-87.85 18 L-87.9 17.9 L-95.79 2.12 Z" fill="#eceae4" stroke="#9a978e" stroke-width="0.6" fill-rule="evenodd" stroke-linejoin="round"/><path d="M-71.85 -32.95 L-71.85 -52.95 L-92.85 -52.95 L-92.85 -32.95 Z" fill="#bcbab2" stroke="#bcbab2" stroke-width="0.3" stroke-linejoin="round"/><path d="M92.85 -32.95 L92.85 -52.95 L71.85 -52.95 L71.85 -32.95 Z" fill="#bcbab2" stroke="#bcbab2" stroke-width="0.3" stroke-linejoin="round"/><path d="M-68 -46.38 L-68 -46.41 L-67.97 -46.4 L-66.91 -46.02 L-66.81 -45.99 L-65.84 -45.71 L-65.71 -45.68 L-65.58 -45.66 L-64.76 -45.58 L-64.57 -45.58 L-64.39 -45.59 L-63.59 -45.71 L-63.43 -45.75 L-63.27 -45.8 L-62.38 -46.14 L-62.2 -46.23 L-61.17 -46.8 L-61.12 -46.82 L-60.02 -47.48 L-59.98 -47.5 L-58.9 -48.08 L-58.81 -48.11 L-57.74 -48.52 L-57.71 -48.53 L-57.68 -48.53 L-56.62 -48.75 L-56.52 -48.76 L-55.45 -48.84 L-55.41 -48.84 L-54.32 -48.87 L-54.25 -48.88 L-53.23 -48.96 L-53.06 -48.98 L-52.09 -49.17 L-51.92 -49.21 L-50.9 -49.53 L-50.81 -49.56 L-49.72 -49.99 L-49.71 -49.99 L-48.62 -50.39 L-48.53 -50.41 L-47.47 -50.65 L-47.43 -50.66 L-47.39 -50.66 L-46.33 -50.67 L-46.29 -50.67 L-46.24 -50.66 L-45.17 -50.43 L-45.14 -50.42 L-45.11 -50.41 L-44.02 -49.96 L-43.98 -49.94 L-42.88 -49.42 L-42.83 -49.39 L-41.81 -48.95 L-41.61 -48.88 L-40.72 -48.63 L-40.57 -48.6 L-40.41 -48.58 L-39.58 -48.53 L-39.43 -48.53 L-39.28 -48.54 L-38.38 -48.67 L-38.19 -48.71 L-37.16 -49 L-37.12 -49.01 L-36.02 -49.36 L-35.98 -49.37 L-34.9 -49.63 L-34.81Line truncated
<p>Then go to the painting guide. Nothing more is glued on after sealing.</p></div><figure class="photo "><img src="img/assembled_a.jpg" alt="Assembled and unpainted. The foam colours do not matter; sealer covers them." loading="lazy"><figcaption>Assembled and unpainted. The foam colours do not matter; sealer covers them.</figcaption></figure></div></section><section class="keep"><h2>If something is off</h2><div class="tw"><table class="data"><thead><tr><th>Problem</th><th>Fix</th></tr></thead><tbody><tr><td>Mask nods forward</td><td>Shorten the top strap if you fitted one. If not, it cannot be added now; unpick one strap tail at the back and re-glue it 10 mm shorter so the band grips higher on the forehead.</td></tr><tr><td>Glasses ride up or rock</td><td>The nose strip or the nose-leaf stem is too thick under the bridge. Thin the foam there with a blade or a sanding drum.</td></tr><tr><td>A cheek tab flares out</td><td>Before assembly: reheat its lower corner and hold it against your cheekbone until cool. After assembly: warm only the back of the tab with a hair dryer, never a heat gun.</td></tr><tr><td>A leaf sits at the wrong angle</td><td>Do not reheat it in place. Peel the stem off, reshape the leaf away from the mask, glue it back.</td></tr><tr><td>Brow strip cracked while forming</td><td>It was bent too cold. Glue it down anyway with the crack closed; paint hides it. Or reprint: it is a 35-minute part.</td></tr><tr><td>A leaf comes off</td><td>Use a spare (medium or small; cut a large or tip leaf fresh if you lose one). Hot glue on the stem, then base colour brushed straight onto the foam; good enough for a repair.</td></tr><tr><td>Frame catches under the band</td><td>Shave a shallow groove along the back of the band where the top bar crosses it.</td></tr></tbody></table></div></section><section class="keep"><h2>Without glasses</h2><div class="note warn"><b>Untested.</b> The no-glasses base on template page 2 was drawn from the glasses base and has not been built.</div> <p>Then go to the painting guide. Nothing more is glued on after sealing.</p></div><figure class="photo "><img src="img/assembled_a.jpg" alt="Assembled and unpainted. The foam colours do not matter; sealer covers them." loading="lazy"><figcaption>Assembled and unpainted. The foam colours do not matter; sealer covers them.</figcaption></figure></div></section><section class="keep"><h2>If something is off</h2><div class="tw"><table class="data"><thead><tr><th>Problem</th><th>Fix</th></tr></thead><tbody><tr><td>Mask nods forward</td><td>Shorten the top strap if you fitted one. If not, it cannot be added now; unpick one strap tail at the back and re-glue it 10 mm shorter so the band grips higher on the forehead.</td></tr><tr><td>Glasses ride up or rock</td><td>The nose strip or the nose-leaf stem is too thick under the bridge. Thin the foam there with a blade or a sanding drum.</td></tr><tr><td>A cheek tab flares out</td><td>Before assembly: reheat its lower corner and hold it against your cheekbone until cool. After assembly: warm only the back of the tab with a hair dryer, never a heat gun.</td></tr><tr><td>A leaf sits at the wrong angle</td><td>Do not reheat it in place. Peel the stem off, reshape the leaf away from the mask, glue it back.</td></tr><tr><td>Brow strip cracked while forming</td><td>It was bent too cold. Glue it down anyway with the crack closed; paint hides it. Or reprint: it is a 35-minute part.</td></tr><tr><td>A leaf comes off</td><td>Use a spare (medium or small; cut a large or tip leaf fresh if you lose one). Hot glue on the stem, then base colour brushed straight onto the foam; good enough for a repair.</td></tr><tr><td>Frame catches under the band</td><td>Shave a shallow groove along the back of the band where the top bar crosses it.</td></tr></tbody></table></div></section><section class="keep"><h2>Without glasses</h2><div class="note warn"><b>Untested.</b> The no-glasses base on template page 2 was drawn from the glasses base and has not been built.</div>
<p>It is the same band, nose strip and cheek tabs, joined under the eyes, with two 46 × 24 mm eye holes 64 mm apart. Everything in this guide applies unchanged, with three differences: paper-fit by checking you see clearly through both holes; ignore the instructions about glasses arms and lenses; and you may let the cheek leaves and the nose leaf sit a little higher, since no frame is in the way. Keep leaf blades clear of the eye holes.</p></section><header class="cover guide-start" id="painting"><div class="cover-text"><p class="kicker">Painting guide</p><h1>Painting the mask</h1> <p>It is the same band, nose strip and cheek tabs, joined under the eyes, with two 46 × 24 mm eye holes 64 mm apart. Everything in this guide applies unchanged, with three differences: paper-fit by checking you see clearly through both holes; ignore the instructions about glasses arms and lenses; and you may let the cheek leaves and the nose leaf sit a little higher, since no frame is in the way. Keep leaf blades clear of the eye holes.</p></section><header class="cover guide-start" id="painting"><div class="cover-text"><p class="kicker">Painting guide</p><h1>Painting the mask</h1>
<p class="lead">Seven simple layers, ordered so that none of them undoes an earlier one. Allow about three and a half hours including drying, then leave it overnight to cure.</p> <p class="lead">Seven simple layers, ordered so that none of them undoes an earlier one. Allow about three and a half hours including drying, then leave it overnight to cure.</p>
@@ -109,7 +106,7 @@ table.dense { font-size: 0.8rem; min-width: 760px; }
<div><dt>Application</dt><dd>brushed, apart from the sealer and optional varnish</dd></div><div><dt>Finish by</dt><dd>the evening before you wear it</dd></div></dl></div> <div><dt>Application</dt><dd>brushed, apart from the sealer and optional varnish</dd></div><div><dt>Finish by</dt><dd>the evening before you wear it</dd></div></dl></div>
<figure class="photo cover-photo"><img src="img/finished_front.jpg" alt="Finished and worn." loading="lazy"><figcaption>Finished and worn.</figcaption></figure></header><section><h2>Paints and brushes</h2><div class="tw"><table class="data"><thead><tr><th>Paint</th><th>Amount</th><th>Notes</th></tr></thead><tbody><tr><td>Plasti Dip spray, black or grey</td><td>1 can</td><td>Sealer. Flexible, so it does not crack when leaves bend.</td></tr><tr><td>Dark green</td><td>most used</td><td>Phthalo, Hooker’s or forest green. Base for all leaves, tendrils and foam.</td></tr><tr><td>Mid green</td><td></td><td>Sap green or similar. The main leaf colour.</td></tr><tr><td>Yellow-green</td><td>a little</td><td>Mid green plus yellow. Leaf highlights.</td></tr><tr><td>Dark brown (burnt umber)</td><td></td><td>Base for bark and acorns, and thinned for the wash.</td></tr><tr><td>Warm brown</td><td>a little</td><td>Burnt or raw sienna.</td></tr><tr><td>Tan or old gold</td><td>a little</td><td>Ridge tops and acorn caps.</td></tr><tr><td>Gloss varnish or clear nail polish</td><td>a few drops</td><td>Acorn nuts.</td></tr><tr><td>Matte spray varnish</td><td>optional</td><td>Protects the finish.</td></tr></tbody></table></div> <figure class="photo cover-photo"><img src="img/finished_front.jpg" alt="Finished and worn." loading="lazy"><figcaption>Finished and worn.</figcaption></figure></header><section><h2>Paints and brushes</h2><div class="tw"><table class="data"><thead><tr><th>Paint</th><th>Amount</th><th>Notes</th></tr></thead><tbody><tr><td>Plasti Dip spray, black or grey</td><td>1 can</td><td>Sealer. Flexible, so it does not crack when leaves bend.</td></tr><tr><td>Dark green</td><td>most used</td><td>Phthalo, Hooker’s or forest green. Base for all leaves, tendrils and foam.</td></tr><tr><td>Mid green</td><td></td><td>Sap green or similar. The main leaf colour.</td></tr><tr><td>Yellow-green</td><td>a little</td><td>Mid green plus yellow. Leaf highlights.</td></tr><tr><td>Dark brown (burnt umber)</td><td></td><td>Base for bark and acorns, and thinned for the wash.</td></tr><tr><td>Warm brown</td><td>a little</td><td>Burnt or raw sienna.</td></tr><tr><td>Tan or old gold</td><td>a little</td><td>Ridge tops and acorn caps.</td></tr><tr><td>Gloss varnish or clear nail polish</td><td>a few drops</td><td>Acorn nuts.</td></tr><tr><td>Matte spray varnish</td><td>optional</td><td>Protects the finish.</td></tr></tbody></table></div>
<p><b>Brushes.</b> A 12 mm flat for base coats, an old stiff 8 mm flat for all the dry-brushing, a 4 mm round for the wash and the gloss. Paper towels, a water cup, a damp rag, a drop of dish soap for the wash, painter’s tape. Ordinary craft acrylics are fine.</p></section><section><h2>Why this order</h2><div class="cols"><div><ul class=""><li><b>Sealer goes on first.</b> Paint soaks into bare foam and flakes off bare PLA.</li><li><b>Dark base coats come before anything light</b>, since dry-brushing only shows over a darker colour.</li><li><b>Highlights go on before the wash.</b> If a highlight came out too strong, the wash softens it.</li><li><b>The tall centre leaves get one more highlight after the wash</b>, because the wash flattens them most.</li><li><b>Gloss is the last thing on</b>, as either the wash or a matte varnish would dull it.</li></ul></div> <p><b>Brushes.</b> A 12 mm flat for base coats, an old stiff 8 mm flat for all the dry-brushing, a 4 mm round for the wash and the gloss. Paper towels, a water cup, a damp rag, a drop of dish soap for the wash, painter’s tape. Ordinary craft acrylics are fine.</p></section><section><h2>Why this order</h2><div class="cols"><div><ul class=""><li><b>Sealer goes on first.</b> Paint soaks into bare foam and flakes off bare PLA.</li><li><b>Dark base coats come before anything light</b>, since dry-brushing only shows over a darker colour.</li><li><b>Highlights go on before the wash.</b> If a highlight came out too strong, the wash softens it.</li><li><b>The tall centre leaves get one more highlight after the wash</b>, because the wash flattens them most.</li><li><b>Gloss is the last thing on</b>, as either the wash or a matte varnish would dull it.</li></ul></div>
<div><p>One medium leaf through five of the stages:</p><div class="leafstrip"><figure><svg xmlns="http://www.w3.org/2000/svg" viewBox="-30 -74 60 90"><path d="M-11.13 -41.62 L-11.07 -41.62 L-11.01 -41.64 L-10.96 -41.66 L-10.9 -41.68 L-10.85 -41.71 L-10.8 -41.75 L-10.76 -41.79 L-10.72 -41.83 L-10.69 -41.88 L-10.65 -41.93 L-10.63 -41.99 L-10.61 -42.04 L-10.6 -42.1 L-10.59 -42.16 L-10.58 -42.22 L-10.59 -42.28 L-10.6 -42.34 L-10.61 -42.4 L-10.63 -42.45 L-10.66 -42.51 L-10.69 -42.56 L-10.73 -42.6 L-10.77 -42.65 L-10.81 -42.69 L-10.86 -42.72 L-10.91 -42.75 L-10.97 -42.77 L-11.06 -42.81 L-11.07 -42.81 L-11.69 -43.04 L-11.69 -43.04 L-12.38 -43.3 L-13.13 -43.58 L-13.92 -43.88 L-13.93 -43.88 L-14.75 -44.21 L-14.75 -44.21 L-15.59 -44.56 L-15.6 -44.57 L-16.44 -44.94 L-16.45 -44.95 L-17.29 -45.35 L-17.3 -45.35 L-18.11 -45.78 L-18.13 -45.78 L-18.91 -46.24 L-18.92 -46.24 L-19.66 -46.72 L-19.67 -46.73 L-20.36 -47.23 L-20.38 -47.24 L-21 -47.75 L-21.02 -47.77 L-21.58 -48.3 L-21.59 -48.31 L-22.08 -48.85 L-22.09 -48.87 L-22.49 -49.41 L-22.51 -49.44 L-22.82 -49.98 L-22.84 -50.02 L-23.06 -50.56 L-23.07 -50.57 L-23.07 -50.58 L-23.19 -51.13 L-23.19 -51.15 L-23.19 -51.16 L-23.21 -51.7 L-23.21 -51.71 L-23.21 -51.73 L-23.11 -52.26 L-23.1 -52.27 L-23.1 -52.29 L-22.89 -52.81 L-22.89 -52.82 L-22.88 -52.83 L-22.57 -53.33 L-22.55 -53.37 L-22.14 -53.85 L-22.12 -53.87 L-21.62 -54.34 L-21.6 -54.36 L-21.01 -54.8 L-20.99 -54.81 L-20.33 -55.23 L-20.3 -55.24 L-19.57 -55.62 L-19.55 -55.63 L-18.74 -55.97 L-18.72 -55.97 L-17.86 -56.27 L-17.84 -56.28 L-16.93 -56.54 L-16.92 -56.54 L-15.98 -56.77 L-15.97 -56.77 L-15.02 -56.97 L-15.01 -56.98 L-14.06 -57.15 L-14.06 -57.15 L-13.13 -57.31 L-12.24 -57.45 L-11.41 -57.59 L-11.4 -57.59 L-10.65 -57.72 L-10.64 -57.73 L-9.99 -57.86 L-9.96 -57.86 L-9.43 -57.99 L-9.38 -58.01 L-9.09 -58.11 L-9.03 -58.13 L-8.98 -58.16 L-8.93 -58.19 L-8.89 -58.23 L-8.85 -58.27 L-8.81 -58.31 L-8.78 -58.36 L-8.75 -58.41 L-8.72 -58.47 L-8.71 -58.52 L-8.69 -58.58 L-8.69 -58.64 L-8.69 -58.69 L-8.69 -58.75 L-8.7 -58.81 L-8.72 -58.87 L-8.74 -58.92 L-8.76 -58.97 L-8.79 -59.02 L-8.83 -59.07 L-8.87 -59.11 L-8.91 -59.15 L-9.08 -59.28 L-9.12 -59.31 L-9.59 -59.63 L-9.61 -59.63 L-10.19 -60 L-10.85 -60.42 L-10.85 -60.42 L-11.53 -60.88 L-11.54 -60.88 L-12.2 -61.38 L-12.22 -61.4 L-12.83 -61.94 L-12.85 -61.96 L-13.38 -62.54 L-13.41 -62.57 L-13.85 -63.19 L-13.87 -63.22 L-14.2 -63.86 L-14.21 -63.9 L-14.44 -64.54 L-14.44 -64.55 L-14.45 -64.56 L-14.55 -65.18 L-14.55 -65.2 L-14.55 -65.21 L-14.54 -65.78 L-14.53 -65.8 L-14.53 -65.81 L-14.38 -66.32 L-14.38 -66.33 L-14.37 -66.34 L-14.1 -66.78 L-14.09 -66.79 L-14.08 -66.81 L-13.7 -67.19 L-13.69 -67.2 L-13.68 -67.21 L-13.21 -67.54 L-13.17 -67.56 L-12.61 -67.84 L-12.58 -67.86 L-11.93 -68.1 L-11.91 -68.11 L-11.18 -68.32 L-11.16 -68.32 L-10.38 -68.5 L-10.37 -68.5 L-9.53 -68.64 L-9.52 -68.64 L-8.66 -68.76 L-8.65 -68.76 L-7.76 -68.86 L-7.75 -68.86 L-6.85 -68.95 L-6.85 -68.95 L-5.95 -69.02 L-5.07 -69.09 L-5.07 -69.09 L-4.21 -69.15 L-4.21 -69.15 L-3.4 -69.22 L-3.39 -69.22 L-2.64 -69.3 L-2.62 -69.3 L-1.94 -69.39 L-1.91 -69.4 L-1.32 -69.5 L-1.28 -69.51 L-0.8 -69.63 L-0.73 -69.65 L-0.38 -69.78 L-0.33 -69.81 L-0.28 -69.83 L-0.01 -69.99 L-0 -70 L0.01 -69.99 L0.24 -69.85 L0.3 -69.82 L0.35 -69.8 L0.68 -69.67 L0.75 -69.66 L1.22 -69.54 L1.26 -69.53 L1.86 -69.43 L1.88 -69.42 L2.58 -69.33 L2.59 -69.33 L3.36 -69.25 L3.37 -69.25 L4.21 -69.17 L4.21 -69.17 L5.09 -69.1 L6.01 -69.03 L6.94 -68.95 L6.95 -68.94 L7.88 -68.85 L7.89 -68.85 L8.81 -68.74 L8.82 -68.74 L9.72 -68.62 L9.73 -68.61 L10.59 -68.46 L10.61 -68.46 L11.42 -68.28 L11.43 -68.28 L12.18 -68.07 L12.2 -68.06 L12.87 -67.82 L12.9 -67.8 L13.47 -67.52 L13.5 -67.5 L13.97 -67.18 L13.99 -67.17 L14 -67.16 L14.37 -66.79 L14.37 -66.78 L14.38 -66.77 L14.63 -66.34 L14.63 -66.33 L14.64 -66.31 L14.75 -65.83 L14.75 -65.82 L14.75 -65.8 L14.72 -65.26 L14.72 -65.24 L14.72 -65.23 L14.55 -64.64 L14.55 -64.63 L14.55 -64.61 L14.26 -64 L14.24 -63.97 L13.85 -63.34 L13.83 -63.32 L13.34 -62.7 L13.32 -62.68 L12.75 -62.1 L12.73 -62.08 L12.08 -61.53 L12.07 -61.52 L11.39 -61.01 L11.38 -61 L10.7 -60.53 L10.69 -60.53 L10.03 -60.1 L9.44 -59.71 L9.43 -59.7 L8.95 -59.37 L8.91 -59.34 L8.66 -59.14 L8.62 -59.1 L8.58 -59.05 L8.54 -59.01 L8.51 -58.95 L8.49 -58.9 L8.47 -58.84 L8.46 -58.78 L8.45 -58.73 L8.45 -58.67 L8.45 -58.61 L8.46 -58.55 L8.48 -58.49 L8.5 -58.43 L8.52 -58.38 L8.56 -58.33 L8.59 -58.28 L8.64 -58.24 L8.68 -58.2 L8.73 -58.16 L8.78 -58.14 L8.84 -58.11 L9.09 -58.02 L9.15 -58 L9.65 -57.87 L9.68 -57.87 L10.31 -57.74 L10.33 -57.74 L11.06 -57.62 L11.07 -57.62 L11.88 -57.5 L11.89 -57.5 L12.77 -57.37 L13.69 -57.22 L13.7 -57.22 L14.65 -57.07 L14.66 -57.06 L15.62 -56.88 L15.63 -56.88 L16.59 -56.68 L16.6 -56.67 L17.54 -56.43 L17.56 -56.43 L18.46 -56.15 L18.48 -56.15 L19.34 -55.83 L19.36 -55.82 L20.16 -55.46 L20.18 -55.45 L20.9 -55.05 L20.93 -55.03 L21.58 -54.6 L21.6 -54.59 L22.16 -54.13 L22.19 -54.11 L22.66 -53.64 L22.69 -53.61 L23.06 -53.12 L23.07 -53.11 L23.08 -53.1 L23.35 -52.59 L23.36 -52.57 L23.36 -52.56 L23Line truncated <div><p>One medium leaf through five of the stages:</p><div class="leafstrip"><figure><svg xmlns="http://www.w3.org/2000/svg" viewBox="-30 -74 60 90"><path d="M-11.13 -41.62 L-11.07 -41.62 L-11.01 -41.64 L-10.96 -41.66 L-10.9 -41.68 L-10.85 -41.71 L-10.8 -41.75 L-10.76 -41.79 L-10.72 -41.83 L-10.69 -41.88 L-10.65 -41.93 L-10.63 -41.99 L-10.61 -42.04 L-10.6 -42.1 L-10.59 -42.16 L-10.58 -42.22 L-10.59 -42.28 L-10.6 -42.34 L-10.61 -42.4 L-10.63 -42.45 L-10.66 -42.51 L-10.69 -42.56 L-10.73 -42.6 L-10.77 -42.65 L-10.81 -42.69 L-10.86 -42.72 L-10.91 -42.75 L-10.97 -42.77 L-11.06 -42.81 L-11.07 -42.81 L-11.69 -43.04 L-11.69 -43.04 L-12.38 -43.3 L-13.13 -43.58 L-13.92 -43.88 L-13.93 -43.88 L-14.75 -44.21 L-14.75 -44.21 L-15.59 -44.56 L-15.6 -44.57 L-16.44 -44.94 L-16.45 -44.95 L-17.29 -45.35 L-17.3 -45.35 L-18.11 -45.78 L-18.13 -45.78 L-18.91 -46.24 L-18.92 -46.24 L-19.66 -46.72 L-19.67 -46.73 L-20.36 -47.23 L-20.38 -47.24 L-21 -47.75 L-21.02 -47.77 L-21.58 -48.3 L-21.59 -48.31 L-22.08 -48.85 L-22.09 -48.87 L-22.49 -49.41 L-22.51 -49.44 L-22.82 -49.98 L-22.84 -50.02 L-23.06 -50.56 L-23.07 -50.57 L-23.07 -50.58 L-23.19 -51.13 L-23.19 -51.15 L-23.19 -51.16 L-23.21 -51.7 L-23.21 -51.71 L-23.21 -51.73 L-23.11 -52.26 L-23.1 -52.27 L-23.1 -52.29 L-22.89 -52.81 L-22.89 -52.82 L-22.88 -52.83 L-22.57 -53.33 L-22.55 -53.37 L-22.14 -53.85 L-22.12 -53.87 L-21.62 -54.34 L-21.6 -54.36 L-21.01 -54.8 L-20.99 -54.81 L-20.33 -55.23 L-20.3 -55.24 L-19.57 -55.62 L-19.55 -55.63 L-18.74 -55.97 L-18.72 -55.97 L-17.86 -56.27 L-17.84 -56.28 L-16.93 -56.54 L-16.92 -56.54 L-15.98 -56.77 L-15.97 -56.77 L-15.02 -56.97 L-15.01 -56.98 L-14.06 -57.15 L-14.06 -57.15 L-13.13 -57.31 L-12.24 -57.45 L-11.41 -57.59 L-11.4 -57.59 L-10.65 -57.72 L-10.64 -57.73 L-9.99 -57.86 L-9.96 -57.86 L-9.43 -57.99 L-9.38 -58.01 L-9.09 -58.11 L-9.03 -58.13 L-8.98 -58.16 L-8.93 -58.19 L-8.89 -58.23 L-8.85 -58.27 L-8.81 -58.31 L-8.78 -58.36 L-8.75 -58.41 L-8.72 -58.47 L-8.71 -58.52 L-8.69 -58.58 L-8.69 -58.64 L-8.69 -58.69 L-8.69 -58.75 L-8.7 -58.81 L-8.72 -58.87 L-8.74 -58.92 L-8.76 -58.97 L-8.79 -59.02 L-8.83 -59.07 L-8.87 -59.11 L-8.91 -59.15 L-9.08 -59.28 L-9.12 -59.31 L-9.59 -59.63 L-9.61 -59.63 L-10.19 -60 L-10.85 -60.42 L-10.85 -60.42 L-11.53 -60.88 L-11.54 -60.88 L-12.2 -61.38 L-12.22 -61.4 L-12.83 -61.94 L-12.85 -61.96 L-13.38 -62.54 L-13.41 -62.57 L-13.85 -63.19 L-13.87 -63.22 L-14.2 -63.86 L-14.21 -63.9 L-14.44 -64.54 L-14.44 -64.55 L-14.45 -64.56 L-14.55 -65.18 L-14.55 -65.2 L-14.55 -65.21 L-14.54 -65.78 L-14.53 -65.8 L-14.53 -65.81 L-14.38 -66.32 L-14.38 -66.33 L-14.37 -66.34 L-14.1 -66.78 L-14.09 -66.79 L-14.08 -66.81 L-13.7 -67.19 L-13.69 -67.2 L-13.68 -67.21 L-13.21 -67.54 L-13.17 -67.56 L-12.61 -67.84 L-12.58 -67.86 L-11.93 -68.1 L-11.91 -68.11 L-11.18 -68.32 L-11.16 -68.32 L-10.38 -68.5 L-10.37 -68.5 L-9.53 -68.64 L-9.52 -68.64 L-8.66 -68.76 L-8.65 -68.76 L-7.76 -68.86 L-7.75 -68.86 L-6.85 -68.95 L-6.85 -68.95 L-5.95 -69.02 L-5.07 -69.09 L-5.07 -69.09 L-4.21 -69.15 L-4.21 -69.15 L-3.4 -69.22 L-3.39 -69.22 L-2.64 -69.3 L-2.62 -69.3 L-1.94 -69.39 L-1.91 -69.4 L-1.32 -69.5 L-1.28 -69.51 L-0.8 -69.63 L-0.73 -69.65 L-0.38 -69.78 L-0.33 -69.81 L-0.28 -69.83 L-0.01 -69.99 L0 -70 L0.01 -69.99 L0.24 -69.85 L0.3 -69.82 L0.35 -69.8 L0.68 -69.67 L0.75 -69.66 L1.22 -69.54 L1.26 -69.53 L1.86 -69.43 L1.88 -69.42 L2.58 -69.33 L2.59 -69.33 L3.36 -69.25 L3.37 -69.25 L4.21 -69.17 L4.21 -69.17 L5.09 -69.1 L6.01 -69.03 L6.94 -68.95 L6.95 -68.94 L7.88 -68.85 L7.89 -68.85 L8.81 -68.74 L8.82 -68.74 L9.72 -68.62 L9.73 -68.61 L10.59 -68.46 L10.61 -68.46 L11.42 -68.28 L11.43 -68.28 L12.18 -68.07 L12.2 -68.06 L12.87 -67.82 L12.9 -67.8 L13.47 -67.52 L13.5 -67.5 L13.97 -67.18 L13.99 -67.17 L14 -67.16 L14.37 -66.79 L14.37 -66.78 L14.38 -66.77 L14.63 -66.34 L14.63 -66.33 L14.64 -66.31 L14.75 -65.83 L14.75 -65.82 L14.75 -65.8 L14.72 -65.26 L14.72 -65.24 L14.72 -65.23 L14.55 -64.64 L14.55 -64.63 L14.55 -64.61 L14.26 -64 L14.24 -63.97 L13.85 -63.34 L13.83 -63.32 L13.34 -62.7 L13.32 -62.68 L12.75 -62.1 L12.73 -62.08 L12.08 -61.53 L12.07 -61.52 L11.39 -61.01 L11.38 -61 L10.7 -60.53 L10.69 -60.53 L10.03 -60.1 L9.44 -59.71 L9.43 -59.7 L8.95 -59.37 L8.91 -59.34 L8.66 -59.14 L8.62 -59.1 L8.58 -59.05 L8.54 -59.01 L8.51 -58.95 L8.49 -58.9 L8.47 -58.84 L8.46 -58.78 L8.45 -58.73 L8.45 -58.67 L8.45 -58.61 L8.46 -58.55 L8.48 -58.49 L8.5 -58.43 L8.52 -58.38 L8.56 -58.33 L8.59 -58.28 L8.64 -58.24 L8.68 -58.2 L8.73 -58.16 L8.78 -58.14 L8.84 -58.11 L9.09 -58.02 L9.15 -58 L9.65 -57.87 L9.68 -57.87 L10.31 -57.74 L10.33 -57.74 L11.06 -57.62 L11.07 -57.62 L11.88 -57.5 L11.89 -57.5 L12.77 -57.37 L13.69 -57.22 L13.7 -57.22 L14.65 -57.07 L14.66 -57.06 L15.62 -56.88 L15.63 -56.88 L16.59 -56.68 L16.6 -56.67 L17.54 -56.43 L17.56 -56.43 L18.46 -56.15 L18.48 -56.15 L19.34 -55.83 L19.36 -55.82 L20.16 -55.46 L20.18 -55.45 L20.9 -55.05 L20.93 -55.03 L21.58 -54.6 L21.6 -54.59 L22.16 -54.13 L22.19 -54.11 L22.66 -53.64 L22.69 -53.61 L23.06 -53.12 L23.07 -53.11 L23.08 -53.1 L23.35 -52.59 L23.36 -52.57 L23.36 -52.56 L23.Line truncated
</body> </body>
</html> </html>