Hello, I would like to print the centerline together with splays into an extended elevation, generated from scraps into a *map* environment. The result is attached - centerline visible, but no splays. I used the layout pasted below (in theory, it colors the plays in gray). Is there a way to print splays in the extended projection? (as far as I saw, splays are printed with the *-projection elevation* but not with the *-projection extended*. They are also printed if I don't use the map environment - but then I can't translate the sections.) Thank you, Francesco layout splay code metapost def l_survey_cave (expr P) = T:=identity; pickup PenC; if ATTR__shotflag_splay: % splay: light gray drawoptions(withcolor (0.5,0.5,0.5) withpen PenD); thdraw P; drawoptions(); else: thdraw P; % centreline fi; enddef; endcode endlayout select Profile@indexSL export map -projection extended -output outSL/Profile.pdf -layout splay
Francesco Your metapost example looks like it follows this: https://therion.speleo.sk/wiki/metapost?s[]=splay#visualize_cave_centreline_shot_flags_with_colour_for_splay_and_duplicate_and_dash_for_approximate_shot_flags <https://therion.speleo.sk/wiki/metapost?s%5b%5d=splay#visualize_cave_centreline_shot_flags_with_colour_for_splay_and_duplicate_and_dash_for_approximate_shot_flags> It changes the appearance of the some elements of the centreline, but does not affect whether or not those elements are exported. As well as the above, you need to define a map that includes only the survey/centreline(s) that you want to have splays visible for. Then make sure you have a layout that makes the correct centreline elements visible. Here is a template that I use: #CENTRELINE VISIBILITY #------------------------------ # Getting what you want is a three step process… symbol-show group cave-centreline # symbol-hide group cave-centreline #1. hides all centrelines, incl station-names - clears the canvas # symbol-hide point cave-station symbol-show point cave-station #2. set up for identifying cave-stations to show/hide symbol-show point station:fixed #3. actually show/hide (cave-)stations of mark ... symbol-show point station:painted #3. symbol-show point station:natural #3. symbol-show point station:temporary #3. # symbol-hide point station:temporary #3. # #then could carry on to specify surface... # # symbol-show group surface-centreline In the above I just toggle the commented/uncommented lines to get what I want. The projection (plan, extended, elevation, none) of the maps makes no difference, they all work the same. Here is an example that exports two maps into the same pdf. One is the colourful scrap drawings, the other is the centreline. 1. The centreline map displays the brown legs, stations and the grey splays. Make sure you define a map for each projection you want to export. 2. The scrap map displays the scraps, stations, brown legs but not the splays. Probably works best if you explicitly ‘select’ the maps in your thconfig. Unlike in the image above, I typically use the centreline map with splays for only a recently surveyed but as yet undrawn part of the cave. ie most of the map displays legs and drawn scraps without splays. The recent work is just centreline and splays. Bruce From: Francesco Serafin via Therion <therion@speleo.sk> Sent: Tuesday, 3 November 2026 06:31 To: List for Therion users <therion@speleo.sk> Cc: Francesco Serafin <francesco.serafin2@gmail.com> Subject: [Therion] Showing splays from map? Hello, I would like to print the centerline together with splays into an extended elevation, generated from scraps into a map environment. The result is attached - centerline visible, but no splays. I used the layout pasted below (in theory, it colors the plays in gray). Is there a way to print splays in the extended projection? (as far as I saw, splays are printed with the -projection elevation but not with the -projection extended. They are also printed if I don't use the map environment - but then I can't translate the sections.) Thank you, Francesco layout splay code metapost def l_survey_cave (expr P) = T:=identity; pickup PenC; if ATTR__shotflag_splay: % splay: light gray drawoptions(withcolor (0.5,0.5,0.5) withpen PenD); thdraw P; drawoptions(); else: thdraw P; % centreline fi; enddef; endcode endlayout select Profile@indexSL export map -projection extended -output outSL/Profile.pdf -layout splay
Thank you Bruce, If I understand correctly, you export both centerline and the scraps and overlay them? I played a bit with symbol-show but so far it doesn't show the splays when a section is translated away (using [x y m] above/below ), I'll try again. While working on it, I found a working solution: 1. include the surveys inside map 2. translate the surveys with the corresponding scrap map TimauSL -projection extended ramoE_map [50 0 m] above survey_E [50 0 m] above # Livello1map Livello2_map Livello2-retro-map Livello2-fronte-map Livello2-galleria-map # Livello2-retro_vaschette [30 0 m] below survey_Timau2_vaschette [30 0 m] below endmap The result is attached, it seems to work now, splays are attached to the translated branches. thanks! Francesco On Mon, Nov 2, 2026 at 7:23 PM Bruce via Therion <therion@speleo.sk> wrote:
Francesco
Your metapost example looks like it follows this:
It changes the appearance of the some elements of the centreline, but does not affect whether or not those elements are exported.
As well as the above, you need to define a map that includes only the survey/centreline(s) that you want to have splays visible for.
Then make sure you have a layout that makes the correct centreline elements visible. Here is a template that I use:
#CENTRELINE VISIBILITY
#------------------------------
# Getting what you want is a three step process…
symbol-show group cave-centreline
# symbol-hide group cave-centreline #1. hides all centrelines, incl station-names - clears the canvas
# symbol-hide point cave-station
symbol-show point cave-station #2. set up for identifying cave-stations to show/hide
symbol-show point station:fixed #3. actually show/hide (cave-)stations of mark ...
symbol-show point station:painted #3.
symbol-show point station:natural #3.
symbol-show point station:temporary #3.
# symbol-hide point station:temporary #3.
# #then could carry on to specify surface...
# # symbol-show group surface-centreline
In the above I just toggle the commented/uncommented lines to get what I want.
The projection (plan, extended, elevation, none) of the maps makes no difference, they all work the same.
Here is an example that exports two maps into the same pdf. One is the colourful scrap drawings, the other is the centreline.
1. The centreline map displays the brown legs, stations and the grey splays. Make sure you define a map for each projection you want to export. 2. The scrap map displays the scraps, stations, brown legs but not the splays.
Probably works best if you explicitly ‘select’ the maps in your thconfig.
Unlike in the image above, I typically use the centreline map with splays for only a recently surveyed but as yet undrawn part of the cave. ie most of the map displays legs and drawn scraps without splays. The recent work is just centreline and splays.
Bruce
*From:* Francesco Serafin via Therion <therion@speleo.sk> *Sent:* Tuesday, 3 November 2026 06:31 *To:* List for Therion users <therion@speleo.sk> *Cc:* Francesco Serafin <francesco.serafin2@gmail.com> *Subject:* [Therion] Showing splays from map?
Hello,
I would like to print the centerline together with splays into an extended elevation, generated from scraps into a *map* environment. The result is attached - centerline visible, but no splays. I used the layout pasted below (in theory, it colors the plays in gray).
Is there a way to print splays in the extended projection?
(as far as I saw, splays are printed with the *-projection elevation* but not with the *-projection extended*. They are also printed if I don't use the map environment - but then I can't translate the sections.)
Thank you,
Francesco
layout splay code metapost def l_survey_cave (expr P) = T:=identity; pickup PenC; if ATTR__shotflag_splay: % splay: light gray drawoptions(withcolor (0.5,0.5,0.5) withpen PenD); thdraw P; drawoptions(); else: thdraw P; % centreline fi; enddef; endcode endlayout
select Profile@indexSL export map -projection extended -output outSL/Profile.pdf -layout splay _______________________________________________ Therion mailing list -- therion@speleo.sk To unsubscribe send an email to therion-leave@speleo.sk
Hi Francesco,
If I understand correctly, you export both centerline and the scraps and overlay them?
Imagine like this in the individual survey file called SomeSeries: map SomeSeriesTheScraps scrap1 scrap2 scrap3 endmap Then the parent file says this: map SomeCave SomeSeriesTheScraps@SomeSeries SomeSeries endmap Now the map has included both the map of scraps from that survey, and the survey itself. By including the scraps, it gets the passage walls and details (which by default includes a dashed centreline). By including the survey itself, it gets the centreline and splays too. (Because the someCave map includes a map from a child, it is a map-of-maps, and will automatically stack everything in reverse order, so the centreline appears on top of the survey here. Effectively, a map-of-maps pretends there is a "break" command between included contents.) Does that make sense? Tarquin
participants (3)
-
bruce@tomo.co.nz -
Francesco Serafin -
Tarquin Wilton-Jones