Skip to main content
emilyw11409098
Participant
April 5, 2018
Answered

Expanding a stroke after changing stroke settings?

  • April 5, 2018
  • 2 replies
  • 4094 views

I use a combination of Illustrator and Photoshop to make 3d models via workpath extrusions.  Normally, I add a stroke to the path in Illustrator and use the Expand option to turn the stroke (and ONLY the stroke) into the path.  That way, when I copy it over into Photoshop, the stroke is the only part that extrudes.  However, if I try to move the stroke to the outside of the path, I can no longer use the Expand tool.  I've tried the Expand Appearance and the Outline Stroke tools, and while it looks right in Illustrator, the stroke and the fill both extrude when I convert them to 3d in Photoshop.  So how do you expand a stroke after moving it to the outside (or inside) of the path?

    This topic has been closed for replies.
    Correct answer Ton Frederiks

    I can replicate yor problem.

    I cannot see a difference in Illustrator between the compound paths made from an outlined stroke when the stroke was centered or on the outside of the path.

    But the extruded difference in Photoshop is clear, one has a fill and the other doesn't.

    As a workaround, instead of using the stroke option to move the stroke to the outside, you can use Effect > Path > Offset and offset half the stroke width.

    Then: Object > Expand Appearance followed by Object > Path > Outline Path

    2 replies

    tromboniator
    Community Expert
    Community Expert
    April 5, 2018

    With Expand Appearance and Outline Stroke the inner shape of the Compound Path is behind the outer shape. With Expand it is in front. Maybe that makes a difference to Photoshop.

    Ton Frederiks
    Community Expert
    Community Expert
    April 5, 2018

    When creating a compound shape from 2 objects, it does not seem to make a difference in Photoshop if the middle object was in front or behind,

    Monika Gause
    Community Expert
    Community Expert
    April 5, 2018

    Please show what's happening.

    emilyw11409098
    Participant
    April 5, 2018

    When I just use a stroke, I can use the expand tool to turn only the stroke into the path.

    Dropbox - illust-1.jpg

    Then I copy and paste it as a path into Photoshop.

    Dropbox - illust-2.jpg

    I convert that path to a 3d extrusion. 

    Dropbox - illust-3.jpg

    As you can see, only the stroke is extruded and the center of the shape is empty space.

    Dropbox - illust-4.jpg

    However, if I need the object to be a very precise size, I don't want the stroke cutting into the shape, so I change the alignment of the stroke to the outside.

    Dropbox - illust-5.jpg

    When I do this, the Expand option is no longer available.  I can only click on the Expand Appearance tool.

    Dropbox - illust-6.jpg

    While in Illustrator, the Expand Appearance tool looks like it has expanded the stroke and turned it into the path like the normal Expand function would. But when I paste it into Photoshop and extrude it, it extrudes both the stroke and the fill. I've tried a few different functions and it always extrudes like this no matter what.

    Dropbox - illust-7.jpg

    So why does is the expand function not available if I change the alignment of the stroke?

    emilyw11409098
    Participant
    April 6, 2018

    I can replicate yor problem.

    I cannot see a difference in Illustrator between the compound paths made from an outlined stroke when the stroke was centered or on the outside of the path.

    But the extruded difference in Photoshop is clear, one has a fill and the other doesn't.

    As a workaround, instead of using the stroke option to move the stroke to the outside, you can use Effect > Path > Offset and offset half the stroke width.

    Then: Object > Expand Appearance followed by Object > Path > Outline Path


    That worked!  However, I'm wondering if the easiest solution would be to just calculate the slight size difference (aka half the stroke width) into the original size so that I can just expand and paste it into Photoshop as usual.