losalamos.tools.new_drawing#
Create a new SVG figure from a named drawing template.
Copies a template file from the project drawings library into a target folder under the specified filename.
Shell usage
python -m losalamos.tools.new_figure \
--tem story \
--nam my_figure \
--dst /path/to/output
python -m losalamos.tools.new_figure `
--tem story `
--nam my_figure `
--dst "C:\path\to\output"
Note
The template is resolved as _{template_name}.svg inside the
project drawings library (FOLDER_TEMPLATES_DRAWINGS).
The destination folder is created if it does not exist.
Functions
|