I have a vertical line with a 45° turn. I want to draw another line next to it with a specific offset. What is the best way to do it?

enter image description here

I tried moving the pink anchors directly over the orange anchors and then use the move feature to move it -135° with the specific offset.

enter image description here

But when I move the pink endpoint with shift to move it diagonally, it won't snap perfectly to the vertical line.

enter image description here

In my case, it was off by 0.004 px.

What is a better way to do it?

  • Hello and welcome to GD.SE. Why not use the offset function? – joojaa Jul 29 '15 at 6:56
  • @joojaa: But how does that help me with aligning it to the vertical line? – gartenriese Jul 29 '15 at 7:10

Object > Path > Offset Path

enter image description here

Then use the Direct Selection Tool (the white arrow) to select and delete unwanted parts of the offset path ....

enter image description here

| improve this answer | |
  • Can I chose parts of a path with that too? I don't want to offset my complete path, only the part with the corner. – gartenriese Jul 29 '15 at 7:54
  • Offset the entire path, then delete what you don't want, as I posted. You can't offset just a portion of the path, but you can easily delete things after offsetting. – Scott Jul 29 '15 at 9:57
  • Ok, thanks. I guess I could cut the path off before and after the section and after offsetting join them together again. – gartenriese Jul 29 '15 at 12:04

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.