For those who comes after, who may needs to parse .conn file, there are some of my discoveries for you:
If someone needs a parser for these .conn file and would like to join me working together please PM me.
- The layout and unit of .conn and the .part is totally different. .conn uses LDU but .part uses stud.
- The rotation Matrix R is defined as the transpose rotation from [0, -1, 0]. So the orientation(heading direction) of the bounding cylinder can be calculated by RT * [0, -1, 0]
- The height of the bounding cylinder is defined at the 5th 6th bytes in little endian after transformation.
- I cannot understand the last blocks for the id1 is not 0. Could somebody try to parse it ?
- There are grouping-like defination of stud. Which is harder to parse. However i notice that the the first four bytes define the parts' number and group numbers.
If someone needs a parser for these .conn file and would like to join me working together please PM me.