A walk through tunnel - Subsets
From Fs_wiki
Tunnel has the possibility to assign parts of the drawing to subsets. When a subset is selected, only the drawing elements that belong to it are rendered completely, while the rest of the cave is only highlighted with a grey color.
Tunnel comes with a set of subsets:
- basevisiblecave, with the sub-subsets default and visible;
- inbasevisiblecave, with the sub-subset invisible;
- basevisiblegrid, with the sub-subset >visiblegrid;
- baseinvisiblegrid, with the sub-subset invisiblegrid.
These subsets are managed through the "subsets" tab panel of the drawing window, or the "Subset" menu. The menu has submenus:
- "Add centerlines": add the centerline segments to the subset. This is useful to display the whole centerline together with the portion of cave in the subset, and with the rest of the cave only highlighted;
- Add rest centerlines": if a portion of the centerline is in a subset (ie, it has been added to it), with this menu you add the rest of the centerline to the selected subset. This is usuful to partition the centerline among subsets.
- "Partition remains": TODO what does this submenu ?
- Add to subset" (or the analogous button of the "subsets" panel): add the selected drawing items to the selected subset. You can assign a path, a set of selected paths, or the contour of an area (by selecting the area). You can also assign segments of the centerline.
- "Remove from subset" (or the analogous button of the "subsets" panel): remove the selected item(s) from the selected subset.
- "Clear subset selection" (or the analogous button of the "subsets" panel): return to the global view, from the subset selection mode.
Example
In this example we consider a simple situation with two passages crossing one over the other. The survex data file is
*begin test *data normal from to length compass clino 0 1 6.00 90 0 1 2 5.00 0 0 2 3 8.00 90 0 3 4 10.00 180 0 4 5 5.00 90 0 1 10 4.00 90 -20 10 11 10.00 0 -10 11 12 8.00 45 -20 *end test
The image above shows the centerline and the outline of the cave.
The numbers denote the station heights (depths).
The upper passage has been assigned to the "visible" and "default" subsets.
The fisrt part of the lower passage is in the "visiblegrid", and the rest
is in the "invisiblegrid".
The image below shows how this subset subdivision of the cave is rendered in the final drawing.
TODO continue ...