This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
usage:modules:netmapper [2020-04-12 04:55] blockhead created |
usage:modules:netmapper [2023-12-11 06:09] (current) blockhead capital ell Lua |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | '' | + | ====== Netmapper ====== |
- | netmapper produces | + | '' |
- | ====== Options | + | netmapper produces an SVG file that shows the straight and curved sections of tracks and shades them from blue to red (by default) in ascending height (y-coordinate). It also draws yellow or dark green circles at the front of trains and black text to indicate their Line Number property next to that circle. You can optionally overlay it on the output of another program like [[https:// |
+ | |||
+ | ===== Options ===== | ||
< | < | ||
- | main.lua [-m file] [-t] [-w file] < | + | main.lua [-m file] [-t] [-w file] < |
- | -m, --map-file | + | |
- | -t, --no-trains | + | -m, --map-file |
- | -w, --world-image | + | -t, --no-trains |
+ | -w, --world-image | ||
+ | | ||
</ | </ | ||
+ | |||
+ | Output will always be to ''< | ||
+ | |||
+ | ===== Examples ==== | ||
+ | Using the luajit interpreter, | ||
+ | < | ||
+ | luajit main.lua ~/ | ||
+ | </ | ||
+ | |||
+ | ===== Forks ===== | ||
+ | |||
+ | ==== Blockhead' | ||
+ | Blockhead' | ||
+ | |||
+ | Unfortunately, |