<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi all,<div class=""><br class=""></div><div class="">I have work on that a bit more on that. </div><div class=""><br class=""></div><div class="">1) The developper has<b class=""> updated the code</b>. See <a href="https://github.com/aardgoose/CaveView.js/issues/4" class="">https://github.com/aardgoose/CaveView.js/issues/4</a> and <a href="https://github.com/aardgoose/CaveView.js/tree/master/build" class="">https://github.com/aardgoose/CaveView.js/tree/master/build</a></div><div class=""><br class=""></div><div class="">2) I downloaded the missing files and the updates. I still have the same problem in my browser (Safari 10.1.2) : « failed loading cave information »</div><div class="">In the debugger, I have the error : « XMLHttpRequest cannot load file […] Cross origin request are only supported for https »</div><div class="">A quick googling points that this is because I am working with Safari in local… I moved to Firefox, and that’s working. —> For mac Users, <b class="">do not use Safari to test with local files</b> !</div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">Xavier</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">Le 27 juil. 2017 à 15:43, Владимир Георгиев via Therion <<a href="mailto:therion@speleo.sk" class="">therion@speleo.sk</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-size:small">Hi<br class=""><br class=""></div><div class="gmail_default" style="font-size:small">The CaveView project is really nice, and one of the especially good things is that it is actively developed :)<br class=""></div><div class="gmail_default" style="font-size:small">I have used it on our club's server to test and show the models of some recent surveys.<br class=""></div><div class="gmail_default" style="font-size:small"><br class="">It is very useful for uploading the models of the caves and demonstrating them without the need to have Survex, Therion or another tool installed, because it runs in any browser without the need for plugins. CaveView also has some nice features like highlighting a specific height level, by specific survey section, etc.<br class=""></div><div class="gmail_default" style="font-size:small">When working with maps or demonstrating on my own PC I still use Loch or Aven because I am used to them and they don't require setting up JS files, copying of the generated LOX or 3D, etc.<br class=""><br class=""></div><div class="gmail_default" style="font-size:small">Tomorrow when I have more time I will write some instructions on how to 'install' it. If someone hasn't figured it out by then :)<br class=""><br class=""></div><div class="gmail_default" style="font-size:small">Vladimir<br class=""></div><div class="gmail_default" style="font-size:small"><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Jul 27, 2017 at 11:15 PM, Xavier Robert via Therion <span dir="ltr" class=""><<a href="mailto:therion@speleo.sk" target="_blank" class="">therion@speleo.sk</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Hi !<div class=""><br class=""></div><div class="">I am also interested to be able to get a 3D view on line of the caves we explored with my caving club.The demo is great. I thus have a look on the project. Here are my comments if they can be useful for someone :</div><div class=""><br class=""></div><div class="">1) That is true, we need a « CaveView.js », and this is not CV.js. This file should be in the folder « js ». This folder needs to be in the folder CaveView :</div><div class="">build/</div><div class=""><span class="m_-7549900292199484572Apple-tab-span" style="white-space:pre-wrap"> </span>/—> index.thm</div><div class=""><span class="m_-7549900292199484572Apple-tab-span" style="white-space:pre-wrap"> </span>/—> CaveView</div><div class=""><span class="m_-7549900292199484572Apple-tab-span" style="white-space:pre-wrap"> </span> /<span class="m_-7549900292199484572Apple-tab-span" style="white-space:pre-wrap"> </span>/—> css</div><div class=""><span class="m_-7549900292199484572Apple-tab-span" style="white-space:pre-wrap"> </span> /<span class="m_-7549900292199484572Apple-tab-span" style="white-space:pre-wrap"> </span>/—> images</div><div class=""><span class="m_-7549900292199484572Apple-tab-span" style="white-space:pre-wrap"> </span> /<span class="m_-7549900292199484572Apple-tab-span" style="white-space:pre-wrap"> </span>/—> js</div><div class=""><span class="m_-7549900292199484572Apple-tab-span" style="white-space:pre-wrap"> </span>/<span class="m_-7549900292199484572Apple-tab-span" style="white-space:pre-wrap"> </span>/<span class="m_-7549900292199484572Apple-tab-span" style="white-space:pre-wrap"> </span>/—>CaveView.js</div><div class=""><span class="m_-7549900292199484572Apple-tab-span" style="white-space:pre-wrap"> </span>/<span class="m_-7549900292199484572Apple-tab-span" style="white-space:pre-wrap"> </span>/—> lib</div><div class=""><span class="m_-7549900292199484572Apple-tab-span" style="white-space:pre-wrap"> </span>/—> surveys</div><div class=""><span class="m_-7549900292199484572Apple-tab-span" style="white-space:pre-wrap"> </span>/—> terrain</div><div class=""><br class=""></div><div class="">2) As you, I got the problem of the missing file. I went to the fulldemo website (<a href="https://aardgoose.github.io/CaveView.js/fulldemo.html" target="_blank" class="">https://aardgoose.github.io/<wbr class="">CaveView.js/fulldemo.html</a>), and I open the development plugin from Safari. I add a snapshot in attachment that show the different scripts used by the website.</div><div class=""><br class=""></div><div class="">3) From that website, I downloaded the CaveView.js missing file, and I copy it on my computer under CaveView.js/build/js/</div><div class=""><br class=""></div><div class="">4) I added my lox/3d files in my folder surveys and modified the index.html to point to the 3d models I added, following the help file (<a href="https://aardgoose.github.io/CaveView.js/installation.html" target="_blank" class="">https://aardgoose.github.io/<wbr class="">CaveView.js/installation.html</a>)<wbr class="">.</div><div class=""><br class=""></div><div class="">5) I try to open index.htm with my browser, with all the files on my computer. I systematically get the error « failed loading cave information », and then, I only have the bottom lines of the web page (infos on the mouse gestures). I imagine that Bill, you get the same error. </div><div class=""><span class="m_-7549900292199484572Apple-tab-span" style="white-space:pre-wrap"> </span>- I get that error both for .lox and .3d input files. </div><div class=""><span class="m_-7549900292199484572Apple-tab-span" style="white-space:pre-wrap"> </span>- If I voluntary give a false path to the cave file, and I get the same error. This error is probably due to the fact that the CaveView.js do not find the cave input file.</div><div class=""><span class="m_-7549900292199484572Apple-tab-span" style="white-space:pre-wrap"> </span>- I then tried both, the full path (/Users/…/CaveView.js/build/), and also the relative path (everything is inside CaveView.js/build/). I still get the same error…</div><div class=""><br class=""></div><div class="">I am really far to be a web/javascript guru, and for the moment I did not succeed to get a working webpage…</div><div class=""><br class=""></div><div class="">If needed, I can provide my whole folder !</div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">Xavier</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">Le 27 juil. 2017 à 13:38, Bill Gee via Therion <<a href="mailto:therion@speleo.sk" target="_blank" class="">therion@speleo.sk</a>> a écrit :</div><br class="m_-7549900292199484572Apple-interchange-newline"><div class=""><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">Hi Wookey</div><p style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class=""> </p><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">Two comments ... <br class=""></div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">First, you are right. There is a file called CV.js. However, it has only six lines. There is one "import" and five "export" statements. Somehow I doubt that it is really CaveView.js.</div><p style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class=""> </p><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">Second, the sample index.html file specifically calls out for CaveView.js. I looked at the page source for the online "full UI" demo and see that it also calls for CaveView.js.</div><p style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class=""> </p><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">I modified the sample index.html file to use the name of one of my .lox files. It loads without error in Firefox, but does not display any sort of window or menu. All it shows is the line across the bottom telling what the mouse gestures do.</div><p style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class=""> </p><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">Does anyone know the author of this program? Maybe they have some additional suggestions.</div><p style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class=""> </p><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">Bill Gee</div><p style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class=""> </p><p style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class=""> </p><p style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class=""> </p><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">On Thursday, July 27, 2017 11:21:42 AM CDT Wookey via Therion wrote:</div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> On 2017-07-27 08:40 -0500, Bill Gee via Therion wrote:</div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> > CaveView requires installation to a running Web server and manual</div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> > editing of HTML files. It is not a stand-alone application.</div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> </div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> But it could be packaged as one, available to run on your local</div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> webserver. Not sure how useful that is in practice.</div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> </div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> > Second, the archive files I looked at seem to be incomplete. I downloaded</div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> > the source code but could not find any file called CaveView.js.</div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> > </div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> > I also tried cloning the git repository with this command:</div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> > git clone <a href="https://github.com/aardgoose/CaveView.js.git" target="_blank" class="">https://github.com/aardgoose/<wbr class="">CaveView.js.git</a></div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> > </div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> > Good grief, it downloaded over 260 megabytes! Even that did not have a</div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> > CaveView.js file.</div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> </div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> Heh, hooray for 'the modern way'? There is a CV.js which I presume is</div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> the top-level file. (and there are two worker threads which need to</div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> run too). CaveView.js is the application name - there isn't actually a</div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> file called that, just a directory.</div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> </div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> This does look nice and shiny. I'll take at look at what's involved in</div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> packaging it for use as a local app then people don't need to worry</div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> about all those setup instructions. I've not fiddled with any node</div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> stuff before, but expect it to be somewhat painful, from what I've heard</div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> about the node ecosystem :-)</div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> </div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> Looks like it needs the following:</div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> rollup, which is currently in experimental.</div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> three.js (already in since stable) (however it wants r85 and debian has 73</div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> or 80 - this may or may not actually matter) proj4js (already in since</div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> stable)</div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> </div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> So none of that looks too bad, although the rollup piece could be a pain in</div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> practice.</div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> </div><div style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class="">> Wookey</div><p style="white-space:pre-wrap;font-family:'Sans Serif';font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;margin:0px" class=""> </p></div></blockquote></div></div></div></blockquote></div></div><br class=""></div></blockquote><br class=""></div><br class=""></div></body></html>