Split a line and have different strokes

Post questions on how to use or achieve an effect in Inkscape.
dryphi
Posts: 15
Joined: Fri Mar 27, 2015 6:47 am

Split a line and have different strokes

Postby dryphi » Thu Jul 07, 2016 5:04 am

How do I split one line into two lines, so that the two lines can have different strokes?
Alternatively, how do I draw two lines and constrain them to be parallel to one another (as in a CAD program)?

I have viewed other posts on this forum and still can't figure this out; it doesn't seem to be working for me.

I've drawn a straight line. I've added a new node somewhere near the middle of this line. I've tried both Shift + Ctrl + K and Ctrl + B.
The problem is, no matter what I do, Inkscape doesn't seem to treat these as completely separate lines with respect to the fill and stroke properties.
I need these two lines to be contiguous (parallel and joined at the end), however I would like one to be dashed and one to be solid.

Thank you!

Polygon
Posts: 393
Joined: Thu Dec 19, 2013 3:27 am

Re: Split a line and have different strokes

Postby Polygon » Thu Jul 07, 2016 5:27 am

Select the mid point to separate then use Shift+cmd+K to dissect the path:
SeparateLine.png
SeparateLine.png (9.8 KiB) Viewed 1818 times


Cheers
P.

dryphi
Posts: 15
Joined: Fri Mar 27, 2015 6:47 am

Re: Split a line and have different strokes

Postby dryphi » Tue Jul 12, 2016 3:02 am

hey thanks Polygon I did try that; as I mentioned Shift + Ctrl + K (I'm on a PC) did not work. This apparently splits the path but then when you select the portion of the line it still selects the whole line, it doesn't select just one portion of the line.

Also is there a way to confine lines to be parallel or perpendicular like in a CAD program?

Thanks

Polygon
Posts: 393
Joined: Thu Dec 19, 2013 3:27 am

Re: Split a line and have different strokes

Postby Polygon » Tue Jul 12, 2016 8:47 pm

Try again:
SplitLine.png
SplitLine.png (29.78 KiB) Viewed 1733 times


To draw parallel or perpendicular and angled hold ctrl-key and have an eye at the status bar at the bottom of the Inkscape window.

Cheers
P.


Return to “Help with using Inkscape”