I've been trying to create a macro to render a knob with a certain number of rotations. The idea is to export an image that has snapshots for all the wanted knob rotation degrees. Essentially a file to be used as frames for an animation.
I got part way where the first section of the macro looks like this:
* Select all layers
* Create group
* Rotate -136 degrees
{Start Loop}
* Rotate +8 degrees
* Duplicate layer
* Rasterise
* Set layer name: "knob00x"
* Select layer 1 from bottom
{End Loop}
The section that's looped is meant to run 33 times and that would then render 33 individual images spanning from -128 - +128 degrees rotation. A feature request here would be to support setting up loops in the macro tool, then again maybe it's too specialised to make sense outside of what I'm trying to do.
But once I have those images I'm completely stuck on how I'd stitch them together. It seems like Macro's don't support exporting images or creating new tabs/artboards. So the stitching seems like it needs to happen in the same document. I'm then looking at the resize canvas settings and there doesn't seem to be a way to resize the canvas in percentages, only specific measurements, which makes it difficult to create a macro that doesn't just work for one specific canvas size
Based on a layer setup like the one below, where each knob snapshot is positioned in the exact same spot, can anyone think of a clever way to offset each layer by one frame to export a single image containing all frames placed vertically in a single png file?