(args)
| 114 | |
| 115 | |
| 116 | def cmd_pdf(args): |
| 117 | _qt_app() |
| 118 | from .export import export_pdf |
| 119 | input_path = Path(args.input) |
| 120 | scene, data = _load_scene(input_path) |
| 121 | output_path = Path(args.output) if args.output else _default_output(input_path, "img", ".pdf") |
| 122 | export_pdf(scene, output_path) |
| 123 | print(f"PDF → {output_path}") |
| 124 | |
| 125 | |
| 126 | # ── entry point ─────────────────────────────────────────────────────────────── |
nothing calls this directly
no test coverage detected