Op Session Prep

The Operations Special Interest Group in their Compendium of Model Rail Operations recommend providing information packet to new operators to a layout. Since operation generally requires running trains between destinations on the layout, that information packet will include a description of the layout, including off layout destinations that may be represented by staging. It may also include a map showing the sub-section of a prototype railroad the layout is modeling.

While images can be scanned from hand drawings, the images shown here were created using scripts generating .svg for an information packet or layout web page. One advantage of computer generated images is that they can easily be edited, enhanced or expanded. Svg images can be embedded in a web page (i.e. .html) or translated into more common image file formats (e.g. gif, png).

The scripts mentioned below are all written in AWK, probably the original scripting language that supports user defined functions. No doubt that these scripts will be enhanced with additional features. And I believe that AWK scripts can be easily converted to other scripting languages. Of course a graphical interface would be nice, but any type of GUI requires a lot more effort. These scripts are intended to be used by modifying the text file describing the image being rendered, capturing the output and viewing or refreshing the output with a browser.