Labware 3D data

I don’t think it will be 1 to 1, but I was able to extract a file from the .hxx files using 7zip. Once opened, the model data is human readable, but I do not know if it is formatted exactly how a .x file would be. Someone could definitely use the model data from that extracted file to generate a new .x file though. Since .hxx are compressed (possibly with texture images, etc.), you will probably lose any texturing and materials, but you would be able to recover the base meshes.

The process in 7zip I used is as follows:

  1. Open 7Zip File Manager.
  2. Right click your .hxx file and select “Open Inside”
  3. Right click the file and select “Copy To”
  4. Open the resulting file in your text editor of choice.

Edit: I actually did add a “.x” extension to the extracted file and was able to import something useable into Blender. It looks like I may have lost some of the mesh data doing that though.

1 Like

The layout of hxx file is as below

1 byte: flag, indicating if file data is gzip compressed.
4 bytes: num of files (int)

Then followed by n records
4 byte: offset of file data (int)
4 byte: length of byte for file name (int)
4 byte: length of file data (int)

for each record or file, move to offset in stream for each file, read file name and data according to lengths for each record

Last 16 bytes is checksum for hxx file.

2 Likes