# capture ## API Definition ```python def capture(result: Any, path: str | Path, /) -> CaptureResult ``` *Source: capture.py* ## Import Surface - top-level: `from simplecadapi import capture` ## Description Capture a durable product and write its canonical `.scadpkg`.