Difference between revisions of "Oolite Converters"

From Elite Wiki
m (Changed link from Berlios to GitHub)
m (Changed Python min. version to 2.7)
Line 15: Line 15:
   
 
All of them are available on [https://github.com/OoliteProject/oolite-mesh-converters GitHub]
 
All of them are available on [https://github.com/OoliteProject/oolite-mesh-converters GitHub]
and require Python2.6+ (not 3.x) to be installed.
+
and require Python2.7+ (not 3.x) to be installed.
   
 
== Scripting ==
 
== Scripting ==

Revision as of 19:13, 7 October 2018

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 GitHub and require Python2.7+ (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