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 | ||
tips [2019/10/05 22:28] – XTherion - Finding drawing where extents are large brucemutton | tips [2020/01/13 16:32] – clip also affects layering tarquinwj | ||
---|---|---|---|
Line 45: | Line 45: | ||
* Always check the " | * Always check the " | ||
* If you press the " | * If you press the " | ||
- | * If you add line object, you may start to insert new line simple by pressing of Ctrl+L keys, you don't need to escape from " | + | * To add a line object, you may start to insert new line simple by pressing of Ctrl+L keys, you don't need to escape from " |
* Always check the small yellow tick on first point of line object. It shows the FREE space side of line. It means you should draw walls in counterclockwise direction, the blocks in clockwise direction, pit or chimney in counterclockwise direction, etc. If you made a mistake there is " | * Always check the small yellow tick on first point of line object. It shows the FREE space side of line. It means you should draw walls in counterclockwise direction, the blocks in clockwise direction, pit or chimney in counterclockwise direction, etc. If you made a mistake there is " | ||
Line 52: | Line 52: | ||
An easier way to locate any drawing objects is to open the Objects window on the top right-hand side of the XTherion interface, and click on one of the objects listed. | An easier way to locate any drawing objects is to open the Objects window on the top right-hand side of the XTherion interface, and click on one of the objects listed. | ||
Except for scraps, and areas, most objects will be selected and the drawing area will be panned to show the object mid-screen.\\ | Except for scraps, and areas, most objects will be selected and the drawing area will be panned to show the object mid-screen.\\ | ||
+ | For example, clicking on object 4 below, selects it and brigs it to the centre of the drawing area. | ||
+ | {{tips: | ||
+ | If you are repeatedly creating th2 files with large blank extents around the drawings and images, then it may be because of spurious drawing lines made accidentally when navigating during data collection with PocketTopo, TopoDroid, SexyTopo or the likes. | ||
+ | If drawings and export\imports are well posed, then your drawing area extents should not be much larger than your actual drawing.\\ | ||
+ | You can manually or automatically tweak the drawing area that is viewable for a particular file if you scroll down to the Drawing Area window near the bottom of the right-hand side of XTherion, and make adjustments there. | ||
- | If you are repeatedly creating th2 files with large blank extents around the drawings and images, then it may be because of spurious drawing lines made accidentally when navigating during data collection with PocketTopo, TopoDroid, SexyTopo or the likes. | ||
====Checking and erasing empty objects in .th2 files==== | ====Checking and erasing empty objects in .th2 files==== | ||
Line 127: | Line 131: | ||
As described in the Therion Book, __How the map is put together__, the layers are ' | As described in the Therion Book, __How the map is put together__, the layers are ' | ||
- | Now if you find that you have not drawn an entity in exactly the right order to get that special effect you were after, there is an over-ride. | + | Now if you find that you have not drawn an entity in exactly the right order to get that special effect you were after, there is an over-ride. |
Fifthly, transparency and opacity settings come into it, as well as the particular viewer or printer driver you are using, as indicated in the first paragraph above. | Fifthly, transparency and opacity settings come into it, as well as the particular viewer or printer driver you are using, as indicated in the first paragraph above. | ||
Line 180: | Line 184: | ||
One of Therion' | One of Therion' | ||
- | Most maps contain many scraps, and if they don't happen to appear perfectly joined by coincidence, | + | Most maps contain many scraps, and if they don't happen to appear perfectly joined by coincidence, |
- | Join commands | + | '' |
+ | |||
+ | **Do not use** the **join** command if your adjacent scraps do not have any lines that need to be joined. | ||
+ | |||
+ | **How to join scraps** | ||
+ | |||
+ | There are three ways to join scraps, | ||
+ | * fully automatically in *.th2 file, | ||
+ | * semi-automatically scrap by scrap, and | ||
+ | * manually line or point by point (if you must specify exactly which lines and points join). | ||
+ | |||
+ | For any particular pair of lines or points to be joined, | ||
+ | |||
+ | Join commands can be put directly into a survey definition, but not usually inside scrap or map definitions. | ||
**Fully automatic in *.th2 file** | **Fully automatic in *.th2 file** | ||
- | If you draw two or more scraps adjacent to each other in your drawing *.th2 file, and make sure the adjacent line wall ends snap to each other, then Therion will automatically morph them, if necessary, to create a perfect join. A morph might be necessary, if for example survey closure or other drawing distortions might tend to separate the scraps you have drawn as touching. | + | If you draw two or more scraps adjacent to each other in your drawing *.th2 file, and make sure the adjacent line wall ends snap to each other, then Therion will automatically morph them, if necessary, to create a perfect join. A morph might be necessary, if for example survey closure or other drawing distortions might tend to separate the scraps you have drawn as touching.\\ |
+ | This is really just an automatic implementation of the ' | ||
**Semi-automatic scrap by scrap** | **Semi-automatic scrap by scrap** | ||
Line 192: | Line 210: | ||
join scrap1 scrap2 [-count <number of passage (not line) joins for Therion to look for>] | join scrap1 scrap2 [-count <number of passage (not line) joins for Therion to look for>] | ||
- | Note that this works using passages defined by lines of " | + | The method can only join two scraps at a time. |
- | **Manual line by line** | + | **Manual line or point by point** |
- | From time to time the semi-automatic way does not work, or you want more refined control. | + | From time to time the semi-automatic way does not work, or you want more refined control. |
Line 229: | Line 247: | ||
For more detail see [[tbe: | For more detail see [[tbe: | ||
- | |||
====How to export correct extended elevation from zig-zag centerline==== | ====How to export correct extended elevation from zig-zag centerline==== | ||
Line 265: | Line 282: | ||
{{: | {{: | ||
See also [[extend|Extended Elevations]] page for comprehensive extended elevation guidance. | See also [[extend|Extended Elevations]] page for comprehensive extended elevation guidance. | ||
+ | |||
+ | ====Showing centreline for parts of a cave, and passage walls for others==== | ||
+ | |||
+ | Sometimes you might have full survey data and drawings for some parts of a cave, while other parts might have only centreline data. It is possible to combine these in the same PDF output, using a map consisting of other maps, and other surveys: | ||
+ | |||
+ | map allcave | ||
+ | subsection_map@subsection #the part with walls drawn | ||
+ | othersubsection_survey | ||
+ | endmap | ||
+ | |||
+ | Note that you now cannot use " | ||
+ | |||
+ | ====Making a subset of the cave take its altitude colours from a larger part of the cave==== | ||
+ | |||
+ | When rendering a map (map-endmap), | ||
+ | |||
+ | When you want to render a subset of that cave, such as a map showing only the entrance series of a cave, you might want to have the colours match the colours that were used in the overall map, so that the parts of the cave are recognisable. One way is to use an [[examples# | ||
+ | |||
+ | Another approach, which allows Therion to continue using automatic altitude colours, is to [[#Showing centreline for parts of a cave, and passage walls for others|include the highest and lowest surveys/ | ||
+ | |||
+ | map foo | ||
+ | subsection_map@subsection #the part you actually want to render | ||
+ | othersubsection_survey | ||
+ | anothersubsection_survey | ||
+ | endmap | ||
+ | |||
+ | Your layout would then include this: | ||
+ | |||
+ | color map-fg altitude | ||
+ | symbol-hide group centreline | ||
+ | |||
+ | By hiding the centreline, you cause the unwanted surveys not to render at all, so the output acts like they were never included (it is cropped accordingly to show only the rendered part). | ||
+ | |||
+ | ===Including some centreline data=== | ||
+ | |||
+ | If you need to include a centreline-only section of the cave in your rendering, then you cannot use " | ||
+ | |||
+ | scrap emptySP -projection plan -scale [1 10 1 10 0.0 0.0 10 10 m] | ||
+ | point 1 1 station -name 2 -visibility off | ||
+ | endscrap | ||
+ | |||
+ | Include that scrap instead of including the survey itself. You will then also need to [[metapost# | ||
+ | |||
+ | map othersubsection_one_station_map | ||
+ | emptySP | ||
+ | endmap | ||
+ | |||
+ | Then include that map with an offset, pushing it into the normally visible area of the survey (the same position as the passages that you want to show). This seems convoluted and takes a little time to set up perfectly, but it works. | ||
+ | |||
+ | map foo | ||
+ | subsection_map@subsection #the part you actually want to render | ||
+ | centreline_only_survey #the survey that contains only centreline data without any passage drawings | ||
+ | othersubsection_one_station_map@othersubsection [123 456 m] none #the survey containing the highest part of the cave | ||
+ | anothersubsection_one_station_map@anothersubsection [-23 12 m] none #the survey containing the lowest part of the cave | ||
+ | endmap | ||
=====Map Layout===== | =====Map Layout===== | ||