<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi Rich, </div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">first of all, thanks a lot for the great work on SexyTopo! I like your app a lot.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Unfortunately, there is no documentation, but the attributes are the following:</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">xth_me_area_adjust <Xmin> <Ymin> <Xmax> <Ymax> - where Xmin, Ymin and Xmax, Ymax are cartesian coordinates of lower left and upper right corners of drawing area</span><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">xth_me_area_zoom_to <zoom> - where <zoom> is the default zoom factor, when drawing is open in xtherion. Should be 25,50,100,200,400.</span><span style="font-family:Arial,Helvetica,sans-serif"><br></span></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">xth_me_image_insert {<Xpos> <visibility> <gamma>} {<Ypos> <root>} {<filename>} 0 {}</span></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">  <Xpos> <Ypos> is the position of the 0,0 point of XVI coordinate system</span></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">  <visibility> - 0 image is hidden / 1 image is shown</span></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">  <gamma> - image gamma</span></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">  <root> - root station name (if XVI is changed during compilation, this station keeps its position relative to the entire drawing). Can be omitted.</span></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">  <filename> - name of image file</span></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">  0 {} - image identifiers, can be 0 {} for all images - if it is like this, it will be calculated automatically</span></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif"><br></span></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">HTH, S.</span></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif"><br></span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 26 Jan 2024 at 14:12, Rich Smith <<a href="mailto:rls@hwyl.org">rls@hwyl.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Therion</div><div><br></div><div>I'm the author of cave surveying app SexyTopo, and I'm trying to write a better Therion exporter. Previously I'd kind of hacked an exporter that did an approximate job, but I'm rewriting it and trying to do a better job.</div><div><br></div><div>I understand I should generate an XVI file for each projection that represents the sketch. I then need to set this in the th2 file with some commands. For example:<br></div><div><br></div><div>##XTHERION## xth_me_area_adjust -132.0 -156.10532659555793 1768.2371519518056 726.0<br>##XTHERION## xth_me_area_zoom_to 100<br>##XTHERION## xth_me_image_insert {950.6824683592552 1 1.0} {267.841199967364 5} {blaengwynlais plan.xvi} 0 {}</div><div><br></div><div>Are these documented anywhere? It seems like xth_me_area_adjust sets the dimensions of the image, and xth_me_image_insert specifies the position and filename, but I'm not clear what all the values represent.</div><div><br></div><div>Many thanks for any pointers!</div><div>Rich<br></div></div>
_______________________________________________<br>
Therion mailing list<br>
<a href="mailto:Therion@speleo.sk" target="_blank">Therion@speleo.sk</a><br>
<a href="https://mailman.speleo.sk/listinfo/therion" rel="noreferrer" target="_blank">https://mailman.speleo.sk/listinfo/therion</a><br>
</blockquote></div>