Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
multiplesections [2019/05/27 10:27] – [Copying them into a new file] tarquinwj | multiplesections [2019/12/08 00:23] – Fix link tarquinwj | ||
---|---|---|---|
Line 1: | Line 1: | ||
=====Making multiple cross sections at once===== | =====Making multiple cross sections at once===== | ||
- | Sometimes it is nice to see a cross section through several passages at once, to see how they relate to each other. Therion draws cross sections one at a time, and does not appear to have a dedicated way to draw multiple cross sections at once, positioned in the correct place relative to each other. | + | Sometimes it is nice to see a cross section through several passages at once, to see how they relate to each other. Therion draws cross sections one at a time, and does not appear to have a dedicated way to draw multiple cross sections at once, positioned in the correct place relative to each other. |
To see how to draw a single cross section, see the Therion tutorial chapter on [[tbe: | To see how to draw a single cross section, see the Therion tutorial chapter on [[tbe: | ||
- | The simplest | + | If you are just looking for "give me the best solution", |
+ | |||
+ | ====Method 1; a single passage' | ||
+ | |||
+ | This is the most basic approach. Draw the cross section for all passages as if they were the cross section of a single passage. The cross section scrap has multiple passages drawn within it. Positions of each other passage are approximated. | ||
+ | |||
+ | ==Pro== | ||
+ | |||
+ | * Very easy | ||
+ | * Works with the existing documentation | ||
+ | |||
+ | ==Con== | ||
+ | |||
+ | * Passage shapes are all approximated, | ||
+ | * Passages are only approximately positioned relative | ||
+ | * When new loops are closed which alter passage positions, the passage positions do not update, and need to be manually repositioned | ||
+ | * Passages cannot have the colours of their scraps, and will all share the colour of the scrap that they are attached to - it is best not to use colours for the cross section scrap | ||
+ | |||
+ | ====Method 2; multiple cross sections close to each other==== | ||
+ | |||
+ | Draw the cross sections normally, and move them into positions relative to each other, and draw a border around them to show that they are grouped together. However, this can be difficult to achieve, as the positions relative to each other need to be manually calculated or approximated. | ||
+ | |||
+ | ==Pro== | ||
+ | |||
+ | * Easy | ||
+ | * Mostly works with the existing documentation | ||
+ | * Passage shapes are all correct | ||
+ | * Passages can all have the correct colours of their relevant scraps | ||
+ | |||
+ | ==Con== | ||
+ | |||
+ | * Passages are only approximately positioned relative to each other, and can be very significantly wrong | ||
+ | * When new loops are closed which alter passage positions, the passage positions update sideways but not vertically, and need to be manually repositioned | ||
+ | * If a passage is made up from multiple cross sections (such as a pitch, or a ledge route above a floor route), the separate sections cannot be joined neatly to each other, and ugly gaps are likely | ||
+ | |||
+ | ====Methods 3-5; using a projected elevation==== | ||
For a more complete and accurate approach, read on. | For a more complete and accurate approach, read on. | ||
- | ====Select your stations and bearing carefully==== | + | Essentially, |
+ | |||
+ | ===Select your stations and bearing carefully=== | ||
Decide where you want to draw your cross section. Select a station on each passage that the cross section will intersect. It is quite possible that these will be in different survey data files. Not to worry, just select good representative stations. These do not have to be perfectly below each other, and they do not have to perfectly intersect the cross section line. Just select a station where you like the cross section, somewhere near where you want your cross section line to be drawn. | Decide where you want to draw your cross section. Select a station on each passage that the cross section will intersect. It is quite possible that these will be in different survey data files. Not to worry, just select good representative stations. These do not have to be perfectly below each other, and they do not have to perfectly intersect the cross section line. Just select a station where you like the cross section, somewhere near where you want your cross section line to be drawn. | ||
Line 15: | Line 52: | ||
Work out what bearing your cross section will be facing. For example, a cross section through passages all running approximately north-to-south on a bearing of 355 degrees, would probably have its cross section facing 355 degrees, while its cross section line would be drawn east-to-west on a bearing of 85 degrees. 355 is the important number here. | Work out what bearing your cross section will be facing. For example, a cross section through passages all running approximately north-to-south on a bearing of 355 degrees, would probably have its cross section facing 355 degrees, while its cross section line would be drawn east-to-west on a bearing of 85 degrees. 355 is the important number here. | ||
- | ====Rendering an XVI with just those stations==== | + | ===Rendering an XVI with just those stations=== |
- | This is the laborious bit. | + | This is the laborious bit. A significantly easier approach would be for it to be possible to [[https:// |
If your cave is extremely simple (then why are you doing this sort of cross section?!) you might just be able to render the entire survey on a projection, and be able to visually identify the stations and splays you are interested in. However, it is quite likely that there will be too many stations and splays to identify the right one, so this section assumes that you will need to render just the relevant stations and splays. | If your cave is extremely simple (then why are you doing this sort of cross section?!) you might just be able to render the entire survey on a projection, and be able to visually identify the stations and splays you are interested in. However, it is quite likely that there will be too many stations and splays to identify the right one, so this section assumes that you will need to render just the relevant stations and splays. | ||
- | Most often, by the time you want to draw multiple cross sections at once, you are dealing with data in multiple separate survey files. That is OK, and it doesn' | + | Most often, by the time you want to draw multiple cross sections at once, you are dealing with data in multiple separate survey files. That is OK, and it doesn' |
- | Create a new .th file which will contain | + | Create a new subsurvey within the existing survey |
- | You will also need to copy any configurations that influence the data. This will include any instrument calibrations, | + | The next step depends on which method |
- | Open the master survey file that contains all of the passages that you will be working with. In a simple cave with just one data file (unlikely!), | + | ===Method 3; using the projected elevation |
- | Create a new " | + | This is basically method 2, but more accurate. |
+ | |||
+ | In the subsurvey' | ||
+ | |||
+ | For the survey stations that will appear in the cross section, add a line with a leg going from that station to itself, such as "5 5". This creates a station within that survey that can be exported, to avoid getting a warning that you are using " | ||
+ | |||
+ | Repeat this for any other surveys that contain stations that will be in the cross section. For simplicity, use the same " | ||
+ | |||
+ | Create a new " | ||
< | < | ||
source " | source " | ||
- | select | + | select |
- | export map -projection [elevation 355] -fmt xvi -output "section2.xvi" | + | select sectiona@underwest.mycave.master |
+ | export map -projection [elevation 355] -fmt xvi -output "sectiona.xvi" | ||
</ | </ | ||
Run it to export the XVI file. | Run it to export the XVI file. | ||
- | ====Using | + | In any of the th2 files which will be in the cross section, import this new XVI. Use it to create a new cross section scrap. Place this in a useful position in the usual way using one of the stations within it. On each of the stations within it, place a useful symbol for alignment (such as a crystal point). Think of this scrap as your alignment scrap. |
- | The easiest way to use this file, is to create a new .th2 file for each set of cross sections that you are creating. In XTherion, open the map editor (F2). Create a new file and save it somewhere appropriate. Edit menu - Insert image, and select the XVI file that you exported. Draw your cross sections the same way as you normally would draw a single cross section. This does mean that you will be creating new cross sections, not using an existing sketch or cross section as a drawing aid. More details about that later. Tip; you can even set the scale of your cross sections to something different than the main survey, just by setting the scrap' | + | With each of the passages in the cross section, create a normal cross section. On the station points within those cross sections, add the same alignment symbol (crystal) as before. |
+ | |||
+ | Render the cave as PDF. Use the crystal positions to carefully move the cross section scraps into position, so that their alignment symbols (crystals) line up with the ones on the alignment scrap. Remove all the alignment symbols and the alignment scrap. Done. | ||
+ | |||
+ | ==Pro== | ||
+ | |||
+ | * Uses existing cross section scraps | ||
+ | * Passage shapes are all correct | ||
+ | * Passages can all have the correct colours of their relevant scraps | ||
+ | * Passages are correctly positioned relative to each other | ||
+ | |||
+ | ==Con== | ||
+ | |||
+ | * A muddled mix of projected elevation and cross section | ||
+ | * A lot of work for very little gain | ||
+ | * When new loops are closed which alter passage positions, the passage positions update sideways but not vertically, and need to be repositioned by recreating the alignment scrap and manually adjusting positions again. | ||
+ | * If a passage is made up from multiple cross sections (such as a pitch, or a ledge route above a floor route), the separate sections cannot be joined neatly to each other, and ugly gaps are likely | ||
+ | |||
+ | ===Methods 4-5; Rendering the cross sections as scraps within the exported XVI=== | ||
+ | |||
+ | For this, you need to render the splays as well as the stations. This is not easy (unless it is possible to [[https:// | ||
+ | |||
+ | It is possible to copy the survey data for the relevant stations and their splays into a new survey, with equates to link them to the existing stations. However, this requires duplication of data and configurations that affect data, which is usually unwanted (even though they will typically be only splay legs which do not affect the surveyed length). Instead, the solution presented here will use "data nosurvey" | ||
+ | |||
+ | Pick a station that will be included in your cross section. Give each of its splays an actual name, rather than using " | ||
+ | |||
+ | In the subsurvey' | ||
+ | |||
+ | Then for each station and splay end, add an " | ||
+ | |||
+ | As an example, imagine that you are working on westwing.th, | ||
+ | |||
+ | < | ||
+ | survey westwing | ||
+ | ... configurations ... | ||
+ | |||
+ | #cross sections | ||
+ | equate 5@sectiona 5 | ||
+ | equate 5a@sectiona 5a | ||
+ | equate 5b@sectiona 5b | ||
+ | equate 5c@sectiona 5c | ||
+ | equate 5d@sectiona 5d | ||
+ | equate 23@sectiona 23 | ||
+ | equate 23a@sectiona 23a | ||
+ | equate 23b@sectiona 23b | ||
+ | equate 23c@sectiona 23c | ||
+ | equate 23d@sectiona 23d | ||
+ | survey sectiona | ||
+ | centreline | ||
+ | date 2019.10.20 | ||
+ | data nosurvey from to | ||
+ | flags splay | ||
+ | 5 5a | ||
+ | 5 5b | ||
+ | 5 5c | ||
+ | 5 5d | ||
+ | flags not splay | ||
+ | 12 12 #no splays for this station | ||
+ | flags splay | ||
+ | 23 23a | ||
+ | 23 23b | ||
+ | 23 23c | ||
+ | 23 23d | ||
+ | flags not splay | ||
+ | endcentreline | ||
+ | endsurvey | ||
+ | |||
+ | centreline | ||
+ | ... configurations ... | ||
+ | data normal from to length compass clino | ||
+ | ... the real survey data ... | ||
+ | 4 5 ... etc ... | ||
+ | flags splay | ||
+ | 5 5a ... etc ... | ||
+ | 5 5b ... etc ... | ||
+ | 5 5c ... etc ... | ||
+ | 5 5d ... etc ... | ||
+ | flags not splay | ||
+ | 5 6 ... etc ... | ||
+ | ... more real data ... | ||
+ | 11 12 ... etc ... #no splays | ||
+ | 12 13 ... etc ... | ||
+ | ... more real data ... | ||
+ | 22 23 ... etc ... | ||
+ | flags splay | ||
+ | 23 23a ... etc ... | ||
+ | 23 23b ... etc ... | ||
+ | 23 23c ... etc ... | ||
+ | 23 23d ... etc ... | ||
+ | flags not splay | ||
+ | 23 24 ... etc ... | ||
+ | ... more real data ... | ||
+ | endcentreline | ||
+ | endsurvey | ||
+ | </ | ||
+ | |||
+ | If you also need to copy survey legs between stations (you don't normally need to), Therion seems to know that it should not add the lengths from a nosurvey leg. However, if it somehow causes problems for you, use "flags duplicate" | ||
+ | |||
+ | Repeat this for any other surveys that contain stations that will be in the cross section. For simplicity, use the same " | ||
+ | |||
+ | Create a new " | ||
+ | |||
+ | < | ||
+ | source " | ||
+ | select sectiona@westwing.mycave.master | ||
+ | select sectiona@underwest.mycave.master | ||
+ | export map -projection [elevation 355] -fmt xvi -output " | ||
+ | </ | ||
+ | |||
+ | Run it to export the XVI file. | ||
+ | |||
+ | ===Method 4; Using the XVI to draw the cross sections=== | ||
+ | |||
+ | This is basically an accurate version of method 1, with many of the same limitations. | ||
+ | |||
+ | The easiest way to use the XVI file, is to create a new .th2 file for each set of cross sections that you are creating. In XTherion, open the map editor (F2). Create a new file and save it somewhere appropriate. Edit menu - Insert image, and select the XVI file that you exported. Draw your cross sections the same way as you normally would draw a single cross section, using a cross section scraps. This does mean that you will be creating new cross sections, not using an existing sketch or cross section as a drawing aid. More details about that later. Tip; you can even set the scale of your cross sections to something different than the main survey, just by setting the scrap' | ||
Note that Therion may become confused if cross sections do not have walls on all sides of them (eg. if some are open to the surface). If this is the case, create a wall line to close the wall loop, and set it to " | Note that Therion may become confused if cross sections do not have walls on all sides of them (eg. if some are open to the surface). If this is the case, create a wall line to close the wall loop, and set it to " | ||
Line 49: | Line 210: | ||
You do not need to mark the stations in the cross sections. If you decide to do so anyway, you can use " | You do not need to mark the stations in the cross sections. If you decide to do so anyway, you can use " | ||
- | A significant failing of this approach is that it cannot colour the passages correctly when using coloured scraps (eg. coloured by altitude). For this reason, you will probably want to render the cross section scraps without any colours at all. | + | If you do not plan on marking the " |
- | ====Rendering the multiple cross section somewhere==== | + | |
- | + | ||
- | If you do not plan on marking the " | + | |
It should now be rendered into the final survey, positioned relative to the station you selected. | It should now be rendered into the final survey, positioned relative to the station you selected. | ||
Line 58: | Line 216: | ||
If you are marking multiple stations in the cross sections, you need to input the .th2 file into the master survey file instead, since that is the level where the stations can all be referenced. | If you are marking multiple stations in the cross sections, you need to input the .th2 file into the master survey file instead, since that is the level where the stations can all be referenced. | ||
- | ====Using existing cross section drawings==== | + | ==Pro== |
- | This is not so easy. | + | * Passage shapes are all correct |
+ | * Passages are correctly positioned relative to each other | ||
- | Existing cross section drawings are in their own scraps, and these cannot be simply positioned relative to each other (but if there were a way, it could massively simplify this whole process!). Normally, any existing cross section will have been drawn in its existing .th2 file. | + | ==Con== |
- | There are two approaches. One is to leave them in their own files, and the other is to copy them into a combined file. | + | * Quite complex |
+ | * Does not follow existing documentation, | ||
+ | * When new loops are closed which alter passage positions, the passage positions do not update, and need to be manually repositioned | ||
+ | * Passages cannot have the colours of their scraps, and will all share the colour of the scrap that they are attached to - it is best not to use colours for the cross section scrap | ||
+ | * Normally requires cross sections to be recreated, rather than using existing ones | ||
- | ===Leaving them in their own files=== | + | ===Method 5; leaving it as a projected elevation=== |
- | In the .th2 file that uses the projected XVI image, create a new scrap in the same projection as the main survey (usually plan). Include this scrap in your map. Give it a single " | + | This is the most complete approach, which solves many of the problems of the others. It is the recommended approach, if you are able to follow |
- | Note though that Therion positions cross section scraps relative | + | The easiest way to use the XVI file, is to create a new .th2 file for each set of cross sections that you are creating. In XTherion, open the map editor (F2). Create |
- | ===Copying them into a new file=== | + | For each cross section, create |
- | Use a text editor to copy the lines and points from the existing cross section' | + | Draw the passage cross section walls. This does mean that you will be creating new cross sections, not using an existing sketch or cross section as a drawing aid. More details about that later. |
+ | |||
+ | For cross sections of pitches and ledge routes with their own survey data, you can create multiple scraps at the different heights, so that they can have different colours at the different heights. | ||
+ | |||
+ | You may want to draw a border around the entire set of cross sections, to show that they are related spatially to each other. A regular " | ||
+ | |||
+ | Normally, you would want to " | ||
+ | |||
+ | That's it. You have basically created your cross section, disguised as a projected elevation. You now need to export it as a PDF. | ||
+ | |||
+ | Create a " | ||
+ | |||
+ | Create a new " | ||
+ | |||
+ | < | ||
+ | layout local | ||
+ | scale 1 100 | ||
+ | map-header off | ||
+ | symbol-hide group centreline | ||
+ | color map-fg altitude | ||
+ | endlayout | ||
+ | source " | ||
+ | select sectiona | ||
+ | export map -projection [elevation 355] -layout local -output " | ||
+ | </ | ||
+ | |||
+ | Run it to export the PDF. | ||
+ | |||
+ | In your main survey' | ||
+ | |||
+ | ==Pro== | ||
+ | |||
+ | * Passage shapes are all correct | ||
+ | * Passages are correctly positioned relative to each other | ||
+ | * Passages can have the correct altitude colours for the passages they are taken from | ||
+ | * When new loops are closed which alter passage positions, the passage positions automatically update next time you export the cross section map (yay!) | ||
+ | * Mostly follows existing documentation, | ||
+ | |||
+ | ==Con== | ||
+ | |||
+ | * Quite complex to set up initially, but relatively easy once it is working | ||
+ | * Normally requires cross sections to be recreated, rather than using existing ones | ||
+ | |||
+ | ====Using existing cross section drawings with methods 4 and 5==== | ||
+ | |||
+ | This is not so easy. | ||
+ | |||
+ | Existing cross section drawings are in their own scraps, and these cannot be simply positioned relative to each other (but if there were a way, it could massively simplify this whole process!). Normally, any existing cross section will have been drawn in its existing .th2 file. | ||
+ | |||
+ | Use a text editor to copy the lines and points from the existing cross section' | ||
Note that this relies on all the existing cross sections to have been drawn facing the same direction. If not, they will need to be manually redrawn facing the correct direction. | Note that this relies on all the existing cross sections to have been drawn facing the same direction. If not, they will need to be manually redrawn facing the correct direction. | ||
+ | |||
+ | ====Drawing the cross section line==== | ||
+ | |||
+ | The cross section line can be drawn in any of the scraps in the main plan survey, but for best results put it in one of the scraps that will be intersected by the cross section. Manually work out where to draw it, taking into account how long it will need to be to sit around all relevant passages, and how big of a gap it needs to leave in the middle to avoid overlapping the passages. Render it to see if it worked. Adjust it to fix any imperfections, |