Difference between revisions of "Oolite converters"

From Elite Wiki
m (Added version for Linux)
m (Scripting)
Line 21: Line 21:
 
* [http://www.box.net/shared/g79rnfx4jcp1do35liin xml2ns.py] - Converts xml to open step (written by Cdr. Jettison). Requires Python2.6+ (not 3.x) to be installed and XML plist must be free of comments to work.
 
* [http://www.box.net/shared/g79rnfx4jcp1do35liin xml2ns.py] - Converts xml to open step (written by Cdr. Jettison). Requires Python2.6+ (not 3.x) to be installed and XML plist must be free of comments to work.
  
Note that this conversion script contains CR/LF (carriage return/linefeed) end-of-lines, as used on Windows computers. This will cause ''"bad interpreter: No such file or directory"'' errors if run on Linux. You can strip out the CR characters yourself, or download this [https://www.box.com/s/n06cixgjxsxmph2drucz copy of the script which has already had the CRs removed]. (you will also need to make the script executable)
+
* Note that this conversion script contains CR/LF (carriage return/linefeed) end-of-lines, as used on Windows computers. This will cause ''"bad interpreter: No such file or directory"'' errors if run on Linux. You can strip out the CR characters yourself, or download this [https://www.box.com/s/n06cixgjxsxmph2drucz copy of the script which has already had the CRs removed]. (you will also need to make the script executable)
  
 
== Texturing ==
 
== Texturing ==

Revision as of 23:58, 25 January 2013

Several Oolite specific helper scripts and applications are available to do conversions.

Modelling

  • Dat2Mesh.py
  • Dat2Obj.py
  • Dat2ObjTex.py
  • DatScale.py
  • Mesh2Dat.py
  • Mesh2DatTex.py
  • Mesh2Obj.py
  • Obj2DatTex.py
  • Obj2DatTexNorm.py

All of them are available on BerliOS and require Python2.6+ (not 3.x) to be installed.


Scripting

  • xml2ns.py - Converts xml to open step (written by Cdr. Jettison). Requires Python2.6+ (not 3.x) to be installed and XML plist must be free of comments to work.
  • Note that this conversion script contains CR/LF (carriage return/linefeed) end-of-lines, as used on Windows computers. This will cause "bad interpreter: No such file or directory" errors if run on Linux. You can strip out the CR characters yourself, or download this copy of the script which has already had the CRs removed. (you will also need to make the script executable)

Texturing

  • Planettool - a application from Ahruman for converting equirectangular projection textures to cube map textures.


Links