vsketch icon indicating copy to clipboard operation
vsketch copied to clipboard

Enhancement suggestion: append paper size to 'liked' filenames

Open gatesphere opened this issue 1 year ago • 1 comments

I tend to plot multiple outputs from my sketches on different paper sizes with different media, etc. It would be personally helpful if the filenames produced by clicking the 'like' button in the viewer would include a paper size tag, i.e. mysketch_liked_1_9inx12in.svg. This should probably be configurable so as to not break old workflows, but maybe it doesn't matter.

gatesphere avatar May 22 '23 14:05 gatesphere

I feel that would be best achieved by some general purpose file naming pattern. That could by a class variable possibly set by the sketch class:

class MySketch(vsketch.SketchClass):
    FILE_NAME_PATTERN = "{sketch_name}...{page_size}.svg"

    ...

Of course, SketchClass would provide a default value that behaves like the current implementation.

abey79 avatar Jan 08 '24 11:01 abey79