File Format for the Studio Connectivity Files (*.conn)


RE: File Format for the Studio Connectivity Files (*.conn)
#10
(2025-06-30, 12:34)John Manly Wrote: Hello everyone!

I am new here but I have been a lego enthusiast for 40 years and Ldraw user for 20 years. I am Unity developer and all-around coder by trade. I have also been interested Stud.io conn-file and I have done some research on that. I have used AI to produce a pdf with all the info I have gathered by now.

I will continue my work further and keep you posted!

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?


Attached Files Thumbnail(s)
   
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: File Format for the Studio Connectivity Files (*.conn) - by Dharman Gersch - 2025-08-24, 18:11

Forum Jump:


Users browsing this thread: 1 Guest(s)