04-09-2021, 12:16 AM
(04-08-2021, 09:30 PM)Ofnuts Wrote: I didn't think either but a quick check showed that there was an API call to export a path so it was easy to adapt ofn-export-layers.
ofn-export-paths at the usual place.
If you can think of some path characteristic that can be usefully included in the file name, just ask.
Perfect!
The option to export All paths or Only visible paths provided the plug-in with greater versatility (I think there is no such option in ofn-export-layers.py), so I see this as a bonus!
I think that if it were possible to add a pattern to the file name based on an alphabetical order it would be welcome.
Almost similar to what the plug-in is already doing with the options:
numUp0, numUp1, numDown0, numDown1.
Only in this case it would be from 'a' to 'Z', and it would completely replace the path name.
For example:
For the paths:
Selection, Selection #1, Selection #2, ..., Selection #52 (Bottom to top).
- Using numUp1 is:
Alphabetically it would be (with the removal in the initial name of the path):
a.svg, b.svg, c.svg, ..., Z.svg.
- Using numDown1 is:
Alphabetically it would look like:
Z.svg, Y.svg, X.svg, ..., a.svg.
The order being:
a - b - c - d - e - f - g - h - i - j - k - l - m - n - o - p - q - r - s - t - u - v - w - x - y - z - A - B - C - D - E - F - G - H - I - J - K - L - M - N - O - P - Q - R - S - T - U - V - W - X - Y - Z
I don't know how hard it would be to implement this suggestion, but the time savings it would give to those who are creating typography would be huge.
Thx a lot!