From the chat...
dzach wrote: BTW there is this fine application, Therion[L1 ], that does cave mapping with tcl/tk.
Basic drawing instructions http://therion.speleo.sk/wiki/doku.php?id=tbe:wiki3
[Category Application]