<div dir="ltr"><div>Wookey, <br></div><div><br></div><div>The TunnelX program already has an SVG exporter that exports splines with the right control points here:<br></div><div> <a href="https://github.com/CaveSurveying/tunnelx/blob/master/src/SvgGraphics2D.java#L267" target="_blank">https://github.com/CaveSurveying/tunnelx/blob/master/src/SvgGraphics2D.java#L267</a></div><div>This would save a lot of effort re-implementing a TunnelX file parser when it's got one already, so it's just a matter of looping through the geometry and writing it to a .th file in the format you want.  <br></div><div><br></div><div>We could also use the TunnelX subsets (currently used for colouring) as the basis for blasting apart single directly editable Sketch files into hundreds of little Scrap files of non-overlapping passageways by exporting the geometry assigned to each subset tag to a file of the same name.  If there are enough young folk on expo who are raring to do it all in Therion, send them to me and we can write and debug these exporters together.  I won't do it on my own because Therion is too hard for me to operate.<br></div><div><br></div><div>As you know, I've moved far beyond this 2D cave representation business, which I now believe is fundamentally obsolete in the era of cheap lidar scans and GPUs built into every phone.  There's a short little demo here, which shows how elevations could actually work on a phone (since no fixed 2D view can ever be adequate):  <a href="https://www.youtube.com/watch?v=zIQAslYa_HA" target="_blank">https://youtu.be/zIQAslYa_HA?t=43</a>  and you can download copies direct to your Quest2 VR headset here: <a href="https://sidequestvr.com/app/1630/tunnelvr" target="_blank">https://sidequestvr.com/app/1630/tunnelvr</a>   Once you start working in 3D you begin to realize just how spectacularly little is conveyed in these 2D drawings, for all their visible complexity and clutter. I've put together a talk at the UIS conference about it and will bring demo equipment.<br></div><div><div><br></div><div>Julian.</div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 29 Jun 2022 at 18:10, Wookey <<a href="mailto:wookey@wookware.org" target="_blank">wookey@wookware.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">Has anyone done any work on the task of converting existing Tunnel<br>
sketches (xml) to therion .th2 files?<br>
<br>
CUCC (Cambridge Loser expeditions: <a href="https://expo.survex.com" rel="noreferrer" target="_blank">https://expo.survex.com</a>) has a huge<br>
investment of tunnel drawings (55km of cave?), but because there are<br>
no elevations for any of this and Tunnel is a bit niche we are<br>
pondering using therion more.<br>
<br>
If a semi-automated conversion of the existing drawings was possible, that would help enormously.<br>
<br>
It seems like it shouldn't fundamentally be too hard to turn xml<br>
lines/beziers into therion lines/beziers, and map the line types, but<br>
there are issues with how to allocate lines to files and how to get<br>
the scaling right.<br>
<br>
I've not done anything at all about it yet, but thought I'd check if anyone else had before having a proper look.<br>
<br>
Thoughts?<br>
<br>
Wookey<br>
-- <br>
Principal hats:  Debian, Wookware, ARM<br>
<a href="http://wookware.org/" rel="noreferrer" target="_blank">http://wookware.org/</a><br>
_______________________________________________<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>