(2025-08-24, 18:11)Dharman Gersch Wrote: Hi John,
Thanks for sharing your learnings. I'm trying to build a connectivity graph of my models, however I've had trouble applying what you shared in conn.pdf to a robust connection parser. For example parts 3001-3010 are all standard bricks so I would expect that their only connections would be grids of Studs and Holes plus Tubes, however the first four bytes of their .conn files as hex and int are as follows:
File: 3001.conn
02000000
[2, 0, 0, 0]
File: 3002.conn
02000000
[2, 0, 0, 0]
File: 3003.conn
06002100
[6, 0, 33, 0]
File: 3004.conn
03001700
[3, 0, 23, 0]
File: 3005.conn
03001700
[3, 0, 23, 0]
File: 3006.conn
03001700
[3, 0, 23, 0]
File: 3007.conn
03001700
[3, 0, 23, 0]
File: 3008.conn
03001700
[3, 0, 23, 0]
File: 3009.conn
03001700
[3, 0, 23, 0]
As you can see none of these start with 0 or 1 which correspond to Stud and Hole types. Have you had more success?
Dharman, have you had any luck with writing a connection parser in either .conn or PE_CONN format?