"""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)