Railroad line style in Illustrator
#1
Posted 31 January 2006 - 02:17 PM
I am trying to figure out how to create a brush stroke that handles the squiggly lines of a railroad in Illustrator. Can someone who's done this offer me some advice or would maybe even be willing to share the style so i can see how it was built? My problem is that I create a pattern brush with a line segment w/cross hatch for the side tile (i haven't created any other tiles) but when i apply it to a squiggly line it looks like a big stack of cross-hatch segments in areas with a lot of angles or tight curves. I just want it to look evenly spaced as the lines look in a GIS.
when i look online i see examples where people have applied these brushes to very softly rounded paths that don't reflect the reality of railroad paths.
www.maps.platts.com
#2
Posted 31 January 2006 - 03:05 PM
I feel silly asking about this because it seems like it must be a totally obvious thing but since i'm not making progresson my own...
I am trying to figure out how to create a brush stroke that handles the squiggly lines of a railroad in Illustrator. Can someone who's done this offer me some advice or would maybe even be willing to share the style so i can see how it was built? My problem is that I create a pattern brush with a line segment w/cross hatch for the side tile (i haven't created any other tiles) but when i apply it to a squiggly line it looks like a big stack of cross-hatch segments in areas with a lot of angles or tight curves. I just want it to look evenly spaced as the lines look in a GIS.
when i look online i see examples where people have applied these brushes to very softly rounded paths that don't reflect the reality of railroad paths.
I've never used a brush for this, always done it manually. Try this:
- Give your lines a small, black stroke.
- Make a copy of the original lines and paste them in front of the original
- Set the width to be 4-5 times wider than your original line
- Set the dashes/spaces so that there's a short dash followed by a long, open space. The dash should be about the same length as the width of your original line.
Hope this helps.
Red Geographics
Email: hans@redgeographics.com / Twitter: @redgeographics
#3
Posted 31 January 2006 - 03:12 PM
www.maps.platts.com
#4
Posted 31 January 2006 - 05:31 PM
To ameliorate that problem (with later versions of AI) you can use the "Appearance palette" and stack multiple-stoke representations for a single line - try a 3 pt black bottom, a 2 pt white middle and a 5 pt black-dashed line. The 2 pt white stroke knocks out the black and gives you two rails.
Alternatively, if you want more stylized tracks you can use the pre-manufactured Train Tracks brush that is shipped with Illustrator. It ends-up in slightly different places for different versions of Illustrator. In CS2 it's in Window/Brush Library/Borders_Novelty, in Illustrator 10 it's in Window/Brush Library/Border Sample.
Oregon Metro - Portland, OR
www.oregonmetro.gov
#5
Posted 31 January 2006 - 11:34 PM
Cheers,
Claude
www.maps.platts.com
#6
Posted 01 February 2006 - 01:41 PM
I've never used a brush for this, always done it manually. Try this:
- Give your lines a small, black stroke.
- Make a copy of the original lines and paste them in front of the original
- Set the width to be 4-5 times wider than your original line
- Set the dashes/spaces so that there's a short dash followed by a long, open space. The dash should be about the same length as the width of your original line.
Hope this helps.
That's more or less how we do it at CSAA. Though we have it automated through an "actions" pallete.
GIS Reference and Instruction Specialist, Stanford Geospatial Center.
www.mapbliss.com
#7
Posted 01 February 2006 - 02:50 PM
Here is what I don't understand: if the rr track line is node intensive, like an Arc export, either approach produces a miserable mess. Why does the number of nodes affect a brush that way? Or is it not specifically the node count, but rather the angles between nodes that corrupts the appearence... even after using Illy's simplify cmd I still get a mixed appearance.
Either way, I usually redraw the rr track and then use one of the approaches. If there is overlap, of multiple rr tracks, you get a glob of tracks depending on scale. So you often have to delete and simplify anyway.
the Freehand PS code worked well, I miss that in Illy.
m.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users


Sign In
Create Account

United States
Back to top
Netherlands









