Python script that reads 3d file and writes a javascript file
Wookey
wookey at wookware.org
Fri Oct 11 19:46:58 BST 2013
+++ 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
--
Principal hats: Linaro, Emdebian, Wookware, Balloonboard, ARM
http://wookware.org/
More information about the Survex
mailing list