[Therion] Hiding centreline within a scrap, while showing it for surveys

Tarquin Wilton-Jones tarquin.wilton-jones at ntlworld.com
Sat Dec 7 19:12:58 CET 2019


> So qux has data for bar at baz?

No. Qux is a separate part of the cave for which I have only centreline
data. bar at baz is a map for a part where I have complete data, and I have
drawn all the scraps.

> I generally have one piece of centerline per scrap and include only the centerline data when there’s no scrap.

Yep, that's how I would do it.

By way of demo, I have attached a simple file. This is *not* how I
actually arrange my data files, this is just a demo, so you can see that
the data is arranged into 2 subsurveys. One of those subsurveys has
scraps, the other has only centreline.

I want my PDF to show the scraps from the "mainpart" subsurvey but *not*
the centreline/stations within it, and I want it to show the centreline
for secondpart, since it has no scraps, and I have only a centreline to
show.
-------------- next part --------------
encoding utf-8

survey smalldrop -title "Small drop"

	map everything
		allscraps at mainpart
		secondpart
	endmap

	survey mainpart -entrance 4
		input smalldrop.th2
		map allscraps
			surface
			break
			scrap7
			scrap6
			scrap5
			scrap4
			scrap3
			scrap2
			scrap1
		endmap

		centreline

			extend start 8

			fix 1 1234 1234 10
			1	2	10 0 1.91021317
			2	3	10 0 1.91021317
			3	4	10 0 1.91021317
			4	5	10 0 1.91021317
			5	6	10 0 1.91021317
			6	7	10 0 1.91021317
			flags surface
			7 8 10 180 11.536959
			flags not surface

		endcentreline

	endsurvey

	survey secondpart

		centreline

			1	2	30 270 -30

		endcentreline

	endsurvey

	centreline
		equate 1 at mainpart 1 at secondpart
	endcentreline

endsurvey
-------------- next part --------------
encoding  utf-8
##XTHERION## xth_me_area_adjust -161.0 -129.0 402.75 1525.6280000000002
##XTHERION## xth_me_area_zoom_to 400
##XTHERION## xth_me_image_insert {118.11 1 1.0} {118.106 1} smalldrop.xvi 0 {}



scrap scrap1 -projection plan -scale [19.75 39.25 216.5 236.25 0.0 0.0 10 10 m]

line wall
  70.0 257.0
  82.0 204.0 11.22 112.21 118.11 118.106
  160.38 120.44 149.0 193.0 170.0 236.0
  smooth off
endline

point 118.11 118.106 station -name 1

endscrap



scrap scrap2 -projection plan -scale [19.75 39.25 216.5 236.25 0.0 0.0 10 10 m]

line wall
  59.0 429.0
  125.1 305.06 42.0 328.0 70.0 257.0
  smooth off
endline

line wall
  170.0 236.0
  205.0 327.0 191.0 381.0 170.0 425.0
  smooth off
endline

point 118.11 314.76599999999996 station -name 2

endscrap



scrap scrap3 -projection plan -scale [19.75 39.25 216.5 236.25 0.0 0.0 10 10 m]

line wall
  -32.0 622.0
  -33.0 553.0 103.0 543.0 101.0 511.0
  99.0 479.0 6.0 506.0 59.0 429.0
  smooth off
endline

line wall
  170.0 425.0
  135.0 462.0 125.0 479.0 126.0 511.0
  127.0 543.0 269.0 537.0 266.0 603.0
  smooth off
endline

point 118.11 511.616 station -name 3

endscrap



scrap scrap4 -projection plan -scale [19.75 39.25 216.5 236.25 0.0 0.0 10 10 m]

line wall
  -26.0 722.0
  16.0 715.0 -33.0 656.0 -32.0 622.0
  smooth off
endline

line wall
  108.0 851.0
  108.0 807.0 53.0 777.0 -26.0 739.0
  smooth off
endline

line wall
  266.0 603.0
  270.0 650.0 283.0 793.0 262.0 820.0
  smooth off
endline

point 118.11 708.266 station -name 4

endscrap



scrap scrap5 -projection plan -scale [19.75 39.25 216.5 236.25 0.0 0.0 10 10 m]

line wall
  105.0 986.0
  108.0 919.0 105.73 875.22 108.0 851.0
  smooth off
endline

line wall
  262.0 820.0
  243.0 848.0 131.0 918.0 130.0 991.0
  smooth off
endline

point 118.11 905.116 station -name 5

endscrap



scrap scrap6 -projection plan -scale [19.75 39.25 216.5 236.25 0.0 0.0 10 10 m]

line wall
  98.0 1203.0
  103.0 1111.0 111.0 1122.0 109.0 1079.0
  107.0 1036.0 103.0 1031.0 105.0 986.0
  smooth off
endline

line wall
  130.0 991.0
  128.0 1052.0 137.0 1054.0 139.0 1097.0
  141.0 1140.0 126.0 1160.0 126.0 1200.0
  smooth off
endline

point 118.11 1101.776 station -name 6

endscrap



scrap scrap7 -projection plan -scale [19.75 39.25 216.5 236.25 0.0 0.0 10 10 m]

line wall
  83.0 1299.0
  103.0 1277.0 101.0 1252.0 98.0 1203.0
  smooth off
endline

line wall
  126.0 1200.0
  128.0 1242.0 114.0 1291.0 138.0 1299.0
  smooth off
endline

point 118.11 1298.626 station -name 7

endscrap



scrap surface -projection plan -scale [19.75 39.25 216.5 236.25 0.0 0.0 10 10 m]

line slope -close on
  130.0 1137.5
  orientation 181.9
  l-size 7.5
  95.5 1138.25 77.75 1130.25 82.5 1105.0
  87.25 1079.75 113.75 1063.5 130.5 1066.5
  147.25 1069.5 154.5 1087.25 155.25 1102.0
  156.0 1116.75 164.5 1136.75 130.0 1137.5
endline

point 118.11 1105.676 station -name 8

endscrap


-------------- next part --------------
encoding  utf-8
layout local
  color map-fg altitude
  symbol-hide group centreline
endlayout
source "smalldrop.th"
select everything at smalldrop
#export map -proj plan -o "smalldrop2.xvi"
export map -proj plan -layout local -o "smalldrop.pdf"
export model -fmt survex -o "smalldrop.3d"
-------------- next part --------------
set XVIgrids {1.0 m}
set XVIstations {
  {        0.00      -590.22 1}
  {        0.00      -393.48 2}
  {        0.00      -196.74 3}
  {        0.00         0.00 4}
  {        0.00       196.74 5}
  {        0.00       393.48 6}
  {        0.00       590.22 7}
  {        0.00       397.35 8}
}
set XVIshots {
  {        0.00      -590.22         0.00      -393.48}
  {        0.00      -393.48         0.00      -196.74}
  {        0.00      -196.74         0.00         0.00}
  {        0.00         0.00         0.00       196.74}
  {        0.00       196.74         0.00       393.48}
  {        0.00       393.48         0.00       590.22}
  {        0.00       590.22         0.00       397.35}
}
set XVIgrid  {-118.11 -708.333 19.685 0.0 0.0 19.685 13 72}


More information about the Therion mailing list