2

I am trying to achieve an appearance of an outlined shape that overlaps and intersects itself (The shape on the left). I can only achieve this effect by creating a stroke from the brush tool (or stroke with a 'round' brush definition and selecting 'expand appearance.' However, this leads to a very messy shape with tons of anchor points, and it's not worth cleaning up.

If I create the same stroke with a pencil (or 'basic' brush definition), only 'expand' is available and it combines into one solid shape instead of retaining the intersections.

Is there a way to achieve the effect of the left shape from a pencil/basic stroke?

screencast: https://share.getcloudapp.com/YEuA2d7q

enter image description here

1
  • Im not sure what you except the answer to be. I mean why not? Somebody decided to do it this way. That is about all rationalization it needs.
    – joojaa
    Apr 1, 2020 at 7:02

2 Answers 2

1

There's surely no other reason that expanding the non-brush version is decided to be flattened such way. The same principle is used in Inkscape and Affinity Designer.

Brush strokes are complex because any shape can actually be a brush if defined so. The brush pattern is mapped along a plain Bezier curve when a brush is applied.

With some tinkering you can expand non-brush strokes and keep the self crossing loops:

enter image description here

  1. A pencil stroke with a loop

  2. Cut the loop with the scissors and expand the parts separately. They have different fill color only to show they are separate

  3. Remove the facing line segment from both halves with the direct selection tool+DEL. Join the halves by selecting them and pressing Ctrl+J

This also increase the number of nodes, but it's less than what applying a brush causes

Applying the simplest possible brush and expanding the appearance really generates a huge amount of new nodes, but it can be taken back to some degree with Object > Path > Simplify. Its preview helps to check that the curve doesn't change visibly. With it the final number of nodes is about the same as what's got with the path splitting method. An example:

enter image description here

Both are started from the same 3 node curve drawn with the pen.

In the left the curve is splitted and the halves are expanded (not joined) In the right a rectangle is used as art brush and the appearance is expanded.This is the result after applying Object > Path > Simplify, both sliders were near the right end. Preview and show original were ON.

0

I think the key difference here is the Pencil tool "basic" setting is a simple stroke, whereas a brush is actually a shape applied along a path. When you Expand the Appearance of a brush, you are essentially revealing this underlying shape. A stroke on the other hand has no underlying shape to be revealed.

Illustrator's user interface is possibly the source of confusion here since "basic" is not a "Brush Definition" as such, despite the fact it appears in the box named "Brush Definition". Rather than "basic" it might have been more intuitive if Adobe had named this brush setting "none".

One possible workaround is to draw a basic stroke with the Pencil tool, then apply a brush to it. This will effectively apply a brush to the path, to which you can then apply an Expand Appearance as you would if it had been drawn with the Brush tool.

Example

enter image description here

If the rounded ends are a problem, it would be possible to draw a square and define it as an Art Brush, then apply that to a path drawn with the Pencil tool.

Example

enter image description here

Also note if you end up with too many anchor points, it's easy enough to do Object > Path > Simplify.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.