####################### metapost log file ########################This is MetaPost, version 2.00 (TeX Live 2020/W32TeX) (kpathsea version 6.3.2) 22 SEP 2021 21:44**data.mp(c:/Program Files (x86)/Therion/texmf/mpost/mpost.mp(c:/Program Files (x86)/Therion/texmf/mpost/plain.mpPreloading the plain mem file, version 1.005) ) (./data.mp{randomseed:=42}[1] [2] [3] [4][5] [6] [7] [8] [9] [10] [11] [12] [13] [14][1][Warning: scrap outline intersects itself in scrap loper-p@inglorious.CusseyMaster] [2] [3] [4] [5][Warning: scrap outline intersects itself in scrap indy-1p@Indy.CusseyMaster][6] [7] [8] [9] [10] [11] [12][Warning: scrap outline intersects itself in scrap timewarp-3p@Timewarp.CusseyMaster] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26][27][Warning: scrap outline intersects itself in scrap inglorious-1p@inglorious.CusseyMaster] [28] [29] [30] [31][Warning: scrap outline intersects itself in scrap mine1@inglorious.CusseyMaster] [32] [33] [34] [35] [36] [37] [38][Warning: scrap outline intersects itself in scrap shattered_dreams-2p@shattered_dreams.CusseyMaster] [39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49][50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] (./mptextmp.mp) [61]! Logarithm of -64.77 has been replaced by 0.log->begingroup(if(EXPR2)=0:0else:mlog((EXPR2))/mlog(10)fi)endgroup<to be read again>;s_altitudebar->...d:=(EXPR1)-(EXPR0);dlog:=log(d);if.dlog.mod1<0.301:dv:=2;e...l.10965 ...,(0.00000,0.75000,0.75000,0.00000))("");Since I don't take logs of non-positive numbers,I'm zeroing this one. Proceed, with fingers crossed.(./mptextmp.mp) (./mptextmp.mp) [62] )Here is how much of MetaPost's memory you used:18042 strings using 388328 characters2412656 bytes of node memory1681 symbolic tokens11i,82n,19p,452b,5f stack positions out of 16i,98n,20p,487b,6f76 output files written: data-patt.1 .. data.62#################### end of metapost log file ####################C:\Program Files (x86)\Therion\therion.exe: error -- metapost exit code -- 2writing xtherion file ... done
source CusseyMaster.th
export model -fmt survex -o CusseyMaster.3dexport map -proj [elevation 0] -layout localside -o CusseyElevation.pdfexport map -proj plan -layout LayoutMapBorder -layout sidesurvey -layout localplan -layout-map-image 5 20 sw "./arrow.png" -layout-map-header 0 0 off -o CusseyMaster.pdf#export map -proj plan -layout LayoutMapBorder -layout sidesurvey -layout localplan -layout-map-image 17 20 sw "./arrow.png" -o CusseyMaster.pdfexport map -proj plan -layout LayoutMapBorder -layout localplan -o CusseyPlan.pdflayout sidesurveymap-image 55 100 s CusseyElevation.pdfendlayoutlayout localsidesymbol-set BCRAsymbol-hide group cave-centrelinescale-bar 25 mmap-header 98 97 nmap-comment "Discovered and Explored by Eldon Pothole Club 2020 - 2021<br>Surveyed By: Luke Cafferty, Rob Eavis, Jon Pemberton, Jeff Wade<br>Survey Drawn By: Rob Eavis<br>Elevation, facing North<br>Entrance: SK 21545 76524<br>Altitude: 244m<br>"legend ongrid bottomgrid-coords bordergrid-size 10 10 10 m#grid-origin 0 0 0 mcolour map-fg [80 89 94]#colour map-bg [20 39 14]code metapostdef s_scalebar (expr l, units, txt) =begingroupinterim warningcheck:=0;tmpl:=l / Scale * cm * units / 2;tmpx:=l / Scale * cm * units / 5;tmph:=5bp; % bar heightendgroup;pickup PenC;draw (-tmpl,0)--(tmpl,0)--(tmpl,-tmph)--(-tmpl,-tmph)--cycle;p:=(0,0)--(tmpx,0)--(tmpx,-tmph)--(0,-tmph)--cycle;for i:=-2.5 step 2 until 2:fill p shifted (i * tmpx,0);endfor;begingroupinterim labeloffset:=3.5bp;for i:=0 step (l/5) until (l-1):tmpx:=tmpl * (i * 2 / l - 1);label.top(thTEX(decimal (i)),(tmpx,0));endfor;label.top(thTEX(decimal (l) & "\thinspace" & txt),(tmpl,0));label.bot(thTEX("Scale = 1 : " & decimal round(Scale*100)),(0,-tmph));endgroup;enddef;endcodecode tex-map\legendcontent={%\hsize=\legendwidth\ifnortharrow\vbox to 0pt{\line{\hfil\northarrow}\vss}\fi\edef\tmp{\the\cavename} \ifx\tmp\empty \else{\size[40]\the\cavename} \vskip1cm\fi\ifscalebar\scalebar\vskip1cm\fi{\rightskip=0pt plus 3em\parskip=3bp\edef\tmp{\the\comment} \ifx\tmp\empty \else{\size[12]\the\comment} \par\medskip\fi}\formattedlegend}endlayoutlayout LayoutMapBordercode tex-map\framethickness=0.5mmendlayout####### PLAN #######layout localplansymbol-hide group cave-centreline#scale-bar 20 m#symbol-hide special scale-barsymbol-hide special north-arrowcode tex-map\legendtitle={}\cavename={}\scalebarfalse\cavelengthtitle={}\cavelength={}\cavedepthtitle={}\cavedepth={}endcodemap-header 5 20 swmap-comment "Plan View"colour map-fg depth#colour map-bg [20 39 14]endlayout