Python script that reads 3d file and writes a javascript file
Michael Lake
mikel at speleonics.com.au
Mon Oct 14 03:03:52 BST 2013
Hi all
Thanks Wookey. The examples online are great. The python takes in ASCII 3D files
... I thought the ASCII dump of 3D was removed from cavern. How to you get the
3D files to ASCII these days?
Quoting Wookey <wookey at wookware.org>:
> +++ Michael Lake [2013-10-11 11:36 +1100]:
> > Hi all
> >
> > At the UIS Congress in Brno someone mentioned that there was a python
> script
> > that read a survex 3d file and wrote a javascript file. Who has that and
> where
> > is it available?
>
> It's here:
> https://dm516.user.srcf.net/loser/conv.zip
> the actual script is https://dm516.user.srcf.net/loser/lconv.py but
> the server runs that rather than lets you download it - hence the .zip
>
> It actualy turns .3d into json, and then wraps it with three.js stuff
> for rendering.
>
> There are various examples of the results there:
> https://dm516.user.srcf.net/loser/squiggle.html
>
> I/someone should package this software up into a more accessible,
> properly licensed form for further development (it's very much proof
> of concept so far).
>
> Wookey
Mike Lake
More information about the Survex
mailing list