Skip to content

Feature request: Support for retaining image source documents #1043

@whaynes

Description

@whaynes

Rob asked me to make an issue here requesting CLI support for retaining the drawing files from CAD, Inkscape, Illustrator, etc. somewhere in the source tree so that they can be accessed as needed to update and regenerate the assets made with them.

I keep all my original files alongside the generated assets in a 'resources' folder Before building the book, I run this script (thanks, Stephen) that recursively searches the folder for specific filetypes, and moves them to the right places. Presumably, the source folder, destination folder and filetypes would be specified in project.ptx.

https://github.com/dantheboatman/EngineeringStatics/blob/master/scripts/update_assets.py

I think this would be generally useful to many, and it would be nice to have as part of the build process because its easy to forget to run the script.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions