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

Outline path of several solids

Advocate ,
Oct 14, 2015 Oct 14, 2015

Copy link to clipboard

Copied

Hi guys. Title might be misleading, so let me explain what I have.

I have 10 solids (size 20x20) that are distributed in comp to "make path". If solids do not overlap, they shape 1 side, however, there might be cases when solids overlap each over.

In any case, their position is always "snapped" to grid (20x20)

What I need is to have one layer that has a mask path that "outlines" the outer edge the "solid path". Is this doable?

outline.png

TOPICS
Scripting

Views

310

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
Advocate ,
Oct 14, 2015 Oct 14, 2015

Copy link to clipboard

Copied

If you have holes (for instance if you move the square A to the position between B and J) you can't. You would need another mask in substract mode.

You might also get situations where the squares are not connected, in which case you would also need several masks in add mode.

If you allow holes and substract masks, it's doable, it's almost certain that you can find an algorithm on the net (i dont know one).

Xavier.

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
Advocate ,
Oct 14, 2015 Oct 14, 2015

Copy link to clipboard

Copied

LATEST

Yes, exactly what you said: there will be cases with two splines to make a hole, also some broken solid-paths will also be there, so another mask with add mode will be needed.

Being not native English speaker, I cannot even imagine a search term for that in google

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