Complex dashes

Post questions on how to use or achieve an effect in Inkscape.
MichaelDavie
Posts: 1
Joined: Fri Dec 14, 2018 7:52 pm

Complex dashes

Postby MichaelDavie » Fri Dec 14, 2018 8:27 pm

Hello
I'm truing to create a complex figure, often used on topographical maps, to portray cliffs. It's basically a line with "barbs".
A similar shape is the figure used to portray railway lines on maps.

This is how I would like to proceed:
1 Draw the general line, which could be straight or curved, with a 2-point thickness
2 Copy-paste this line, the thicken it to 12 points
3 Shift it a little
4 Dash this line so as to have a 0,5 point dash and a 5-point break (or "empty" dash). The effect should be a thick dashed line, but with the dashes being very, very fine
5 Move the two lines close together, so that the upper end of the dashed line covers the un-dashed line of point 1

The problem is that I can't play with the empty intervals between two dashes of the pre-installed dashed lines module in Inkscape.

Would anyone have a simple solution to this problem ?
Thanks in advance

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Complex dashes

Postby brynn » Sat Dec 15, 2018 4:30 am

I can almost understand what you want to do by the steps you oulined. But if you could show an example, that might be helpful. Or maybe someone else already knows what you mean, and can answer?

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Complex dashes

Postby tylerdurden » Sat Dec 15, 2018 5:09 am

There's a couple ways to make "Pattern along Path"... the LPE (live path effect) might be more useful.

http://tavmjong.free.fr/INKSCAPE/MANUAL ... gPath.html

http://tavmjong.free.fr/INKSCAPE/MANUAL ... nAlongPath
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Complex dashes

Postby Lazur » Sat Dec 15, 2018 2:28 pm

With the xml editor you can also adjust your dasharray as you prefer.
Confusingly though the dasharray attribute refers to distance values in 1 px. Thus you'd need to calculate the right amount before setting it.

Hmm have suggested the lpe solution before.
Either way, this one is quite an oldie.


Return to “Help with using Inkscape”