Documentation Screenshots
June 30, 2026 · View on GitHub
- Run
pnpm devand open at least one of the capture helper pages:http://127.0.0.1:5173/feature-dialog-capture.htmlhttp://127.0.0.1:5173/pmi-dialog-capture.htmlhttp://127.0.0.1:5173/assembly-constraint-capture.html
- With the dev server running, execute
pnpm captureto export screenshots. Outputs land in:docs/features(feature dialogs)docs/pmi-annotations(PMI annotations)docs/assembly-constraints(assembly constraints)docs/MODELING.png,docs/SKETCH.png,docs/PMI.pngdocs/expressions-panel.png,docs/configurator-editor.png,docs/configurator-field-types.pngdocs/features/image-to-face-2D_dialog.png,docs/features/image-to-face-3D_dialog.pngdocs/features/NURBS_Face_Solid_cage_editor.pngdocs/floating-windows/*.pngfor floating windows such as Export, Metadata, Inspector, Sheet Metal Flat Pattern export, Script Runner, testing, plugin, and file dialogs.- Full-page documentation captures use a fixed viewport (
1200x800) for consistent, smaller image size.
For the schema that drives these dialogs (field types, defaults, and selection filters), see Input Params Schema. For generated floating-window screenshots, see Floating Windows.
Configuration
Customize the automation with environment variables:
CAPTURE_SCOPE=features,pmi,assembly,docslimits which capture helpers are processed.CAPTURE_BASE_URL=http://127.0.0.1:5174points to a dev server running on a different host/port.CAPTURE_URL+CAPTURE_OUTPUTrun a one-off capture against any URL.CAPTURE_HEADLESS=trueruns without showing the browser window (default is headed so you can watch captures live).CAPTURE_KEEP_OPEN=falsecloses the browser immediately after capture (default keeps it open in headed mode; pressCtrl+Cto exit).CAPTURE_SKIP_HISTORY_DIALOGS=trueskips any dialog whose name includesHistory.- Equivalent pnpm flag:
pnpm capture --capture-skip-history=true
- Equivalent pnpm flag:
CAPTURE_DEVICE_SCALE_FACTOR=1(default2) controls the browser’s device pixel ratio for sharper or softer renders.CAPTURE_OUTPUT_SCALE=devicekeeps the full hi-DPI image size instead of downscaling back to CSS pixels (defaultcsskeeps the files small while retaining clarity).