File: extend.htm

package info (click to toggle)
survex 1.4.17-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 14,268 kB
  • sloc: ansic: 21,446; cpp: 18,495; sh: 5,401; javascript: 831; perl: 755; makefile: 610; python: 83; xml: 35
file content (174 lines) | stat: -rw-r--r-- 7,923 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<!DOCTYPE html>

<html lang="en" data-content_root="./">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />

    <title>extend &#8212; Survex 1.4.17 documentation</title>
    <link rel="stylesheet" type="text/css" href="_static/pygments.css?v=d1102ebc" />
    <link rel="stylesheet" type="text/css" href="_static/alabaster.css?v=12dfc556" />
    <script src="_static/documentation_options.js?v=91e0adf2"></script>
    <script src="_static/doctools.js?v=9bcbadda"></script>
    <script src="_static/sphinx_highlight.js?v=dc90522c"></script>
    <link rel="index" title="Index" href="genindex.htm" />
    <link rel="search" title="Search" href="search.htm" />
   
  <link rel="stylesheet" href="_static/custom.css" type="text/css" />
  

  
  

  </head><body>
  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          

          <div class="body" role="main">
            
  <section id="extend">
<h1>extend<a class="headerlink" href="#extend" title="Link to this heading">¶</a></h1>
<section id="synopsis">
<h2>SYNOPSIS<a class="headerlink" href="#synopsis" title="Link to this heading">¶</a></h2>
<blockquote>
<div><p><code class="docutils literal notranslate"><span class="pre">extend</span></code> [–survey=<cite>SURVEY</cite>] [–specfile=<cite>ESPEC_FILE</cite>] [–show-breaks] <cite>INPUT_FILE</cite> [<cite>OUTPUT_3D_FILE</cite>]</p>
</div></blockquote>
</section>
<section id="description">
<h2>DESCRIPTION<a class="headerlink" href="#description" title="Link to this heading">¶</a></h2>
<p><code class="docutils literal notranslate"><span class="pre">INPUT_FILE</span></code> can be a Survex <code class="docutils literal notranslate"><span class="pre">.3d</span></code> file, a Compass <code class="docutils literal notranslate"><span class="pre">.plt</span></code> file or a
CMAP <code class="docutils literal notranslate"><span class="pre">.sht</span></code> file (all Survex programs which read <code class="docutils literal notranslate"><span class="pre">.3d</span></code> files can also
transparently handle these formats).</p>
<p>If no <code class="docutils literal notranslate"><span class="pre">--specfile</span></code> option (or short option <code class="docutils literal notranslate"><span class="pre">-p</span></code>) is given, extend starts
with the highest station marked as an entrance which has at least one
underground survey leg attached to it.  If there are no such stations, the
highest deadend station in the survey (or the highest station if there are no
deadends) is used.  Extend puts the first station on the left, then folds each
leg out individually to the right, breaking loops arbitrarily (usually at
junctions).</p>
<p>If the output filename is not specified, extend bases the output filename on
the input filename, but replacing the extension with <code class="docutils literal notranslate"><span class="pre">_extend.3d</span></code>. For
example, <code class="docutils literal notranslate"><span class="pre">extend</span> <span class="pre">deep_pit.3d</span></code> produces an extended elevation called
<code class="docutils literal notranslate"><span class="pre">deep_pit_extend.3d</span></code>.</p>
<p>The <code class="docutils literal notranslate"><span class="pre">--survey=</span></code><cite>SURVEY</cite> option (short option <code class="docutils literal notranslate"><span class="pre">-s</span></code>) restricts processing to
the survey <cite>SURVEY</cite> including any sub-surveys.</p>
<p>If you pass <code class="docutils literal notranslate"><span class="pre">--show-breaks</span></code> (short option <code class="docutils literal notranslate"><span class="pre">-b</span></code>) then a leg flagged as
“surface survey” will be added between each point at which a loop has been
broken - this can be very useful for visualising the result in aven.</p>
<p>This approach suffices for simple caves or sections of cave, but for
more complicated situations human intervention is required.  More
complex sections of cave can be handled with a specfile giving
directions to switch the direction of extension between left and
right, to explicitly specify the start station, or to break the
extension at particular stations or legs.</p>
<p>The specfile is in a format similar to cavern’s data format:</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>; This is a comment

; start the elevation at station entrance.a
*start entrance.a  ;this is a comment after a command

; start extending leftwards from station half-way-down.5
*eleft half-way-down.5

; change direction of extension at further-down.8
*eswap further-down.8

; extend right from further-down.junction, but only for
; the leg joining it to very-deep.1, other legs continuing
; as before
*eright further-down.junction  very-deep.1

; break the survey at station side-loop.4
*break side-loop.4

; break survey at station side-loop.junction but only
; for leg going to complex-loop.2
*break side-loop.junction complex-loop.2
</pre></div>
</div>
<p>This approach requires some trial and error, but gives useful results
for many caves.  The most complex systems would benefit from an
interactive interface to select and view the breaks and switches of
direction.</p>
</section>
</section>


          </div>
          
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="Main">
        <div class="sphinxsidebarwrapper">
<h1 class="logo"><a href="index.htm">Survex</a></h1>








<h3>Navigation</h3>
<ul>
<li class="toctree-l1"><a class="reference internal" href="intro.htm">Introduction</a></li>
<li class="toctree-l1"><a class="reference internal" href="getstart.htm">Getting Started</a></li>
<li class="toctree-l1"><a class="reference internal" href="cmdline.htm">Survex Programs</a></li>
<li class="toctree-l1"><a class="reference internal" href="datafile.htm">Survex data files</a></li>
<li class="toctree-l1"><a class="reference internal" href="svxhowto.htm"><code class="docutils literal notranslate"><span class="pre">.svx</span></code> Cookbook</a></li>
<li class="toctree-l1"><a class="reference internal" href="genhowto.htm">General: How do I?</a></li>
<li class="toctree-l1"><a class="reference internal" href="compass.htm">Larry Fish’s Compass</a></li>
<li class="toctree-l1"><a class="reference internal" href="walls.htm">David McKenzie’s Walls</a></li>
<li class="toctree-l1"><a class="reference internal" href="cmap.htm">Bob Thrun’s CMAP</a></li>
<li class="toctree-l1"><a class="reference internal" href="img.htm">Using the img library</a></li>
<li class="toctree-l1"><a class="reference internal" href="maillist.htm">Mailing List</a></li>
<li class="toctree-l1"><a class="reference internal" href="future.htm">Future Developments</a></li>
</ul>

<div class="relations">
<h3>Related Topics</h3>
<ul>
  <li><a href="index.htm">Documentation overview</a><ul>
  </ul></li>
</ul>
</div>
<search id="searchbox" style="display: none" role="search">
  <h3 id="searchlabel">Quick search</h3>
    <div class="searchformwrapper">
    <form class="search" action="search.htm" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>
    </div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script>








        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="footer">
      &#169;1998-2025.
      
      |
      Powered by <a href="https://www.sphinx-doc.org/">Sphinx 8.1.3</a>
      &amp; <a href="https://alabaster.readthedocs.io">Alabaster 0.7.16</a>
      
    </div>

    

    
  </body>
</html>