
Mesh2Dat.py, Mesh2DatTex.py, Dat2Mesh.py, Mesh2Obj.py: converters for the obsolete, Mac-specific Meshwork modeller. A new file is created, in the example case “myModel x 3.0.dat”. DatScale.py: scale a DAT model uniformly on all axes. Usage: python Dat2ObjTex.py, python Dat2Obj.py. These tools do not preserve normals, and Dat2ObjTex.py won’t do anything useful with materials from files converted with Obj2DatTexNorm.py unless -pretty-output was used. Dat2ObjTex.py can handle a single material, while Dat2Obj.py ignores all textures. Dat2ObjTex.py and Dat2Obj.py: partially convert a DAT mesh to OBJ format. From a Wings3D modelling perspective, complete loops of hard edges will be preserved when using smoothing (the enclosed faces form a smooth group), but lighting may behave differently than in Wings3D preview mode. Models converted with this tool will have a faceted look by default, but can be smoothed using the smooth key in ist. Obj2DatTex.py: an older conversion tool which does not preserve normals but does support smooth groups. Usage: python Obj2DatTexNorm.py for default settings, python Obj2DatTexNorm.py -help for information about options. The smooth key in ist has no effect on models with vertex normals.

From a Wings3D modelling perspective, preserving vertex normals means that hard and soft edges in Wings3D are preserved, producing a result similar to Wings3D preview mode (Tab key) if all the faces in Wings3D are planar (ensure this by selecting Tesselate → Triangulate in face mode). The meshes it produces require Oolite test release 1.74 or later. This is now the recommended conversion tool. Obj2DatTexNorm.py: convert a mesh in OBJ format to DAT, preserving texture coordinates and vertex normals. A set of Python scripts to convert models to and from Oolite’s DAT format.
