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

Refilling shape within adjusted outline

Community Beginner ,
Dec 07, 2023 Dec 07, 2023

Hello. I have a shape in Illustrator that has a 2pt stroke (one color) with a fill (second color). I want to separate the stroke and fill the color into two compound paths. I specifically want the fill shape to only fill to the inner edge of the visible 2pt stroke. Right now, if I copy the two elements and set one with fill only and the other stroke only (2pt), the fill shape extends over the edge to the original shape. I hope this makes sense. Link to file:

https://assets.adobe.com/id/urn:aaid:sc:US:04a60df4-782a-493c-938d-d1ae0b2cd958?view=difile

TOPICS
Draw and design
303
Translate
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
Community Expert ,
Dec 07, 2023 Dec 07, 2023

Can you unlock that file?

Translate
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 ,
Dec 07, 2023 Dec 07, 2023

My bad! Just did 🙂 Thank you for taking a look.

Translate
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 ,
Dec 07, 2023 Dec 07, 2023

Thank you. English is not my mother tongue, I don't think I can make sense of what you are describing. Can you sketch it?

Translate
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 ,
Dec 07, 2023 Dec 07, 2023

You may select the filled path, go to Effect menu > Path > Offset Path, take (minus) 1 Pt offset and then Expand Appearance in the Object menu.

 

Translate
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 ,
Dec 07, 2023 Dec 07, 2023

Thank you for taking a look. That didn't work for me. The offset -1 looks the same as the original fill (without a stroke). Adjusting to -2 or more had no effect either. 

Translate
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 ,
Dec 07, 2023 Dec 07, 2023

That wouldn't be normal behaviour. You did Expand Appearance (see Object menu), didn't you?

 

Or are you saying that the Offset Path effect does not work at all? If so, can you share a sample Illustrator file?

 

Translate
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 ,
Dec 07, 2023 Dec 07, 2023

Correct, the Offset Path effect did not work. I did try to Expand Appearance after applying it as well and nothing happened. Here is a link to the AI file: https://assets.adobe.com/id/urn:aaid:sc:US:04a60df4-782a-493c-938d-d1ae0b2cd958?view=difile

Translate
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 ,
Dec 07, 2023 Dec 07, 2023

Yes, this is the file you already shared in your initial post.

 

For me, the Offset Path effect does work as expected with your objects. Not sure why it would not work for you.

 

Translate
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 ,
Dec 07, 2023 Dec 07, 2023

Hmm, just to be clear, I am applying this to the filled-only shape (the second one down from the top)? 

Translate
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 ,
Dec 07, 2023 Dec 07, 2023
LATEST

Yes, I did that as well. Works fine.

 

Your document units are set to inches. Probably in the Offset Path Effect dialog you are not using (minus) 1 pt, but rather just (minus) 1. That would explain the behaviour.

 

Also, just change the document units to pt and try again.

 

Translate
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