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

What's the order of path points in Illustrator CC?

Engaged ,
Jan 03, 2017 Jan 03, 2017

Copy link to clipboard

Copied

Hi,

I've got a book ("Adobe Scripting" by Visual) which I'm studying for a script I'm writing.

On page 40 it says the order of points on a rectangular Illustrator path goes counter-clockwise like this:

0 = Top Left

1 = Bottom Left

2 = Bottom Right

3 = Top Right

When I add arrowheads to my rectangles though they appear thus:

(Note how none of these follow the ordering described in the book)

Screen Shot 2017-01-03 at 11.07.12.png

My question is- what's up?!

TOPICS
Scripting

Views

985

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
Advocate ,
Jan 03, 2017 Jan 03, 2017

Copy link to clipboard

Copied

Maybe you or somebody rotated rectangle?

Pawel

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
Engaged ,
Jan 03, 2017 Jan 03, 2017

Copy link to clipboard

Copied

Good thought macpawl, but hopefully the screen grab shows and makes clear that I'm using a variety of rectangles, ruling out that possibility.

For clarity: I've added flight feathers at the path starts and arrowheads at the path ends.

btw: I've just run the wonderful PathsOneDirection.js script over the paths shown in the previous grab and they now look like this:

Screen Shot 2017-01-03 at 11.13.33.png

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
Valorous Hero ,
Jan 26, 2017 Jan 26, 2017

Copy link to clipboard

Copied

So what is the code that makes the shape?

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
Engaged ,
Jun 01, 2017 Jun 01, 2017

Copy link to clipboard

Copied

LATEST

Sorry for the late response Silly-V​, no code, these are carefully drawn by hand to explore the PathPoint ordering in AI.

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