0

I'd like to create a rounded rectangle that's cut evenly in half with the flat edge in the middle left open (#4). Once I created my rectangle using the rounded rectangle tool I created a line using the line segment tool in order to divide it in half (#1). Then I'll select both the line segment and the rounded rectangle and use the pathfinder divide tool. This causes the space in between to be filled with a black line (#2). Once the two halves are ungrouped the solid black line stays as part of the individual shapes (#3). enter image description here

  • Pathfinder cant do this since it makes a assumption that everything in the world is a closed shape. Use dcissirs divide below or delete the edges you dont need. – joojaa Aug 19 at 5:41
1

When you create a rounded rectangle you will have a path that looks like this: enter image description here

Go to Path> Add Anchor Points which adds anchor points exactly between the existing anchor points: enter image description here

Then choose the scissors tool (keyboard shortcut is c) and click on the middle top point and the middle bottom point. This will "cut" the path at those 2 points.

Then simply move the paths apart and you will have what you show in your image # 4.

| improve this answer | |
1

Seems to work exactly as expected for me in CS6.

enter image description here

Maybe Adobe broke it in newer releases.

Simply use the Direct Selection Tool (white arrow) to select and delete the new verticals.

| improve this answer | |
  • This still works in CC, but the pieces are put inside a group for some bizarre reason. – Billy Kerr Aug 19 at 16:03
  • @BillyKerr Pathfinder has had a tendency to Group the results for several versions. Even CS6 will create group after using Divide. It's almost a "tick" for me to Pathfinder > Ungroup. – Scott Aug 19 at 19:35
  • I have to say that the answer from @Scott more accurately answers the question, which is how to do this with Pathfinder. My answer is an alternate approach to the task desired. – Kyle Aug 19 at 20:59
  • The only problem I have with your answer @Kyle are the extra anchors added on the curves.. which AI can't effectively remove without altering the curves (But VectorScribe can). – Scott Aug 19 at 21:03
  • Very much agreed about the extra anchors- Gotta love the Astute Graphics plug-ins... – Kyle Aug 19 at 21:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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