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

how script for fitting different sized rectangles - LOCKED DUPLICATE

Community Beginner ,
Feb 09, 2018 Feb 09, 2018

Copy link to clipboard

Copied

I need script an algorithm to calculate best fit for rectangles in a larger rectangle.. and the larger rectangle changes size dynamically(dimensions

For the newspaper 50 * 70

and magazine 30 * 20.).

result photo below.

11.JPG

For more details:

The dimensions of the document page may be dynamic.example : For the newspaper 50 * 70

For the magazine 30 * 20.

i want script i want place images or textFrame in page.

white borders is margin.

The dimensions of a 10 × 2 image include 2 number 5 × 2 frame in horizontal direction.That is, each image is measured with a 5 * 2 fram. Please attention to the photo below.

56.jpg

TOPICS
Scripting

Views

753

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 ,
Feb 09, 2018 Feb 09, 2018

Copy link to clipboard

Copied

Moving to InDesign Scripting forum

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 Beginner ,
Feb 09, 2018 Feb 09, 2018

Copy link to clipboard

Copied

How do I do 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
Community Expert ,
Feb 09, 2018 Feb 09, 2018

Copy link to clipboard

Copied

LATEST

Another locked duplicate

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