Author Topic: Horizontal path cap on angled line end?  (Read 1511 times)

October 04, 2017, 07:11:51 AM
Read 1511 times

Grapes

  • Sr. Newbie

  • Offline
  • **

  • 3
First off I did try searching an answer for this first so if it's a duplicate question I apologise in advance.

I'm working with the  :pen: and a grid to make it snappy :wink1:. All went quite right until I ran into this issue a few hours ago. I tried to draw an angled line like a "/" and I want the ends to be horizontal (a bit like a rhombus that's elongated equally along two of it's parallel lines if that makes any sense). The issue is that if I use either the butt cap or the square cap the end of the line will always be at a 90 degree angle to the direction of the path.

Is there an elegant way to accomplish this?
  • 0.92
  • Win10

October 05, 2017, 04:49:36 AM
Reply #1

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Welcome to the forum!

Yes, there is a way to do that.  But you should be sure (or at least pretty sure) that you don't need to edit that path anymore.  Because once you do this, editing that path is going to be a lot harder.

 -- Select the path
 -- Path menu > Stroke to Path

Notice when you did Stroke to Path, how it changed from being an open path with a stroke and no fill, to being a closed path with a fill and no stroke?

So now you can change the profile of the end of the path, by adjusting the 2 opposite corner nodes with the Node tool.  There are probably a few different ways to accomplish moving those nodes, and making the top horizontal, without varying the width of the rest of the path.  Do you need some hints for that?  Or can you sort it out?  I don't know your skill level.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

October 07, 2017, 12:17:12 PM
Reply #2

Grapes

  • Sr. Newbie

  • Offline
  • **

  • 3
Wow that's great news. I'm very happy to hear that. I'm going to try it out and report back :) If I need more hints I'll let you know as well.
Thanks for the warning as well, I'll be sure to make a copy of the file before I start messing with it ;)
  • 0.92
  • Win10

October 10, 2017, 02:56:14 AM
Reply #3

Grapes

  • Sr. Newbie

  • Offline
  • **

  • 3
Well that was exactly what I needed! And so easy... I almost feel silly I had to ask for it. Thanks again!
  • 0.92
  • Win10

October 10, 2017, 03:06:24 AM
Reply #4

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Glad it worked!

No problem, we like to help, and  you know where to go if you get stuck again  :)
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann