PDA

View Full Version : [Inkscape] Drawing Railroad tracks



Lyndon 'Frames' White
06-11-2012, 10:08 PM
Hi, I'm working on making a more readable colour version of
Isack Stewarts map from Brandon Sanderson's Alloy Of Law. (A Mistborn Novel).|
I found it a little hard to read - couldn't tell at a glance what was rail and what was rivers.

My earlier attempt was in GIMP, but i decided to start again, in Inkscape for reasons you can prob all guess at.

Here is my map, it is in SVG 45558
Rail roads are currently paths in red.
It is largely unfinished.

What i want to do is repalce them with "track symbols",
Something like what is done here.
Any tips? Perhaps itcan bedone as some kind of effect on a path?, or with defs and use elements?
45559

Hai-Etlik
06-11-2012, 10:44 PM
Draw a + shape, and combine it into a single path. Then use it as a pattern for the "Pattern Along Path" path effect.

Lyndon 'Frames' White
06-12-2012, 01:03 AM
Draw a + shape, and combine it into a single path. Then use it as a pattern for the "Pattern Along Path" path effect.

Thanks, this roughly seems to bedoing what I want.
but for some reason (possibly when i save) the path effectisappliedanc actually changes the path.
meaning I can't later go and change what I want railroads look like .
Or indeed even change where the rail path goes.
Any way of avoiding this?
I suspect it has to do with path-efdects not actually being part of the svg standard

Hai-Etlik
06-12-2012, 03:21 AM
Thanks, this roughly seems to bedoing what I want.
but for some reason (possibly when i save) the path effectisappliedanc actually changes the path.
meaning I can't later go and change what I want railroads look like .
Or indeed even change where the rail path goes.
Any way of avoiding this?
I suspect it has to do with path-efdects not actually being part of the svg standard

Make sure you are saving as an Inkscape SVG, not a plain one and that you don't use the "object to path" command on the path.

Also make sure you are using the Pattern Along Path Path Effect, not the Pattern Along Path Extension. Path effects are "live" while extensions are a one off modification of the data.