[Therion] XVI commands: xth_me_area_adjust etc.
Rich Smith
rls at hwyl.org
Fri Jan 26 14:12:19 CET 2024
Hi Therion
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.
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:
##XTHERION## xth_me_area_adjust -132.0 -156.10532659555793
1768.2371519518056 726.0
##XTHERION## xth_me_area_zoom_to 100
##XTHERION## xth_me_image_insert {950.6824683592552 1 1.0}
{267.841199967364 5} {blaengwynlais plan.xvi} 0 {}
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.
Many thanks for any pointers!
Rich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20240126/9721f46a/attachment.htm>
More information about the Therion
mailing list