• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

extract pattern fills

Contributor ,
Apr 19, 2024 Apr 19, 2024

Copy link to clipboard

Copied

Hello everyone,

 

Maybe you can help me?

I am looking for a way to get pattern fills back into individual data.

My idea would be a script that outputs the size of the individual tile of the pattern fill and adjusts the document size on this basis. now you would only have to rasterize and have the individual tile of the pattern fill? What is the best way to implement this? are there any other solutions? Many thanks in advance for your help 🙂

TOPICS
Actions and scripting

Views

440

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Contributor ,
Apr 19, 2024 Apr 19, 2024

Copy link to clipboard

Copied

value.jpg

I need these values from the current pattern fill to bring the workspace to this size and then to rasterise and save the pattern fill in the smallest repetition.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 19, 2024 Apr 19, 2024

Copy link to clipboard

Copied

Why can't you use the .pat files? Apart from doing it manually, I have no idea.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Apr 19, 2024 Apr 19, 2024

Copy link to clipboard

Copied

But then I only have the patterns as pattern filling again. But I need the single file for editing and the single repetition for the print shop. And a script would help me save time.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 19, 2024 Apr 19, 2024

Copy link to clipboard

Copied

Sorry, I don't know how to automate this.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Apr 21, 2024 Apr 21, 2024

Copy link to clipboard

Copied

Thanks anyway, I hope someone can still help me to read out the size of the pattern tile via extendscript, the rest I would build myself, if it is even possible to get these values via script? 🙏🏻

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 21, 2024 Apr 21, 2024

Copy link to clipboard

Copied

Search the internet, the following isn't a Photoshop script:

 

https://github.com/jardicc/pat-parser

 

Perhaps ChatGPT can write you a Python script that actually works...

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Apr 21, 2024 Apr 21, 2024

Copy link to clipboard

Copied

Thank you very much for your research! Unfortunately I can't get a working script that gives me the size or even extracts a png from the pattern fill. I have also tried ChatGPT, but never get access to the size of the pattern 😞 Thanks again for the patparser approach 👍

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 21, 2024 Apr 21, 2024

Copy link to clipboard

Copied

I don't mean to trivialise your request, however, at least you can semi-automate this approach somewhat using actions.

 

There are a known fixed amount of different tile sizes for the Adobe patterns, so you can set actions to create a new doc at a preset size, then fill it with a pattern, use the properties panel to edit the pattern adjustment layer and reset the "snap to origin" if needed and save a file.

 

Not as good as full automation, but better than doing it all manually for every step.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Apr 24, 2024 Apr 24, 2024

Copy link to clipboard

Copied

LATEST

Hello Stephen_A_March,

 

Thank you first of all,

However, I don't work with the Adobe patterns but partly with pattern fills from our customers and the sizes are always different. Of course, I can simply check the size of the pattern with a mouseover and then crop it manually. It would just be a nicer workflow for me if I could do this with a script. There is probably no access to these values via script.

Maybe someone will have an idea at some point, otherwise I'll just continue working without a script.

 

Thanks again!!!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines