(args)
| 104 | |
| 105 | |
| 106 | def cmd_svg(args): |
| 107 | _qt_app() |
| 108 | from .export import export_svg |
| 109 | input_path = Path(args.input) |
| 110 | scene, data = _load_scene(input_path) |
| 111 | output_path = Path(args.output) if args.output else _default_output(input_path, "img", ".svg") |
| 112 | export_svg(scene, output_path, data.properties.title or input_path.stem) |
| 113 | print(f"SVG → {output_path}") |
| 114 | |
| 115 | |
| 116 | def cmd_pdf(args): |
nothing calls this directly
no test coverage detected