Skip to main content
Participating Frequently
December 1, 2016
Question

Align layers diagonally

  • December 1, 2016
  • 3 replies
  • 2722 views

Hey guys,

I have a question. I need to align layers diagonally, see the picture below.  (nr of layers vary all the time).

I'm doing it always manually, wondering if there's a script or a way to speed up the process.

Thank you in advance !

This topic has been closed for replies.

3 replies

Jarda Bereza
Inspiring
December 1, 2016

I don't know about any possibility to do that. If you would have all layers with same dimensions then you could record action.

1) select all layers

2) align all layers to the left top corner

3) translate layer by certian value

4) select next layer

5) repaeat last transformation x-times (CTRL+SHIFT+T)

6) select next layer and repeat 5) and 6) until there are layers

This is only actionable if there is always same number of layers and all layers has same size otherwise it will show you error or it will be misplaced.

If you want, I could write sophisticated script which exactly meet your needs on order for money. I already did some scripts: http://bereza.cz/ps/

mauricior6328708
Inspiring
December 1, 2016

cinevaa77289409 If it's just to align layers diagonally ... I made a small demonstration here how to do this!

JJMack
Community Expert
Community Expert
December 1, 2016

The OP does the job manually now.  They could even be doing it exactly like you show.  They asked if the process could be speed up. Photoshop automation would be the way to do that.

For example it took a script four seconds to convert the hart layer to a smart object layer the replicate it around the shown path. how long would it take you to do that manually and how good would your alignment be.

JJMack
JJMack
Community Expert
Community Expert
December 1, 2016

I am sure something like that can be scripted.  If you want to know if someone has scripted that. Searching the web may fine something like that.  Some posted scripts are very useful some do just one thing other are more flexible.  Think of what you want to do in more general terms than align layer to a diagonal and search on that. You may find something someone has programmed that you can use to do what you want. To me "align layers diagonally"   would not be a good thing to search on the are to many unknowns but is also limited not of general use the search is vague and may return to many poor hits.

Think of a search the would be more specific and something that would likely have been Programmed.  Like distribute layer along a path.

Diagonal is a path but a path can be much than a diagonal be more useful and more likely programed like text on a path,

JJMack