Hi Jakub,
I don't know if this is anything close to what your asking, but many years ago I sent the attached document to Mike Gallagher.
He is the manager of, and are still developing the current conversion file ldraw.xml.
It created some fuzz and triggered some activity in his team. I'm still wondering what I had stumbled on, but they seamed to be very interested. I'm no programmer, nor any good at math, but it has been fun to see how the ldraw.xml-file has been continually developed over the years.
I can only hope it helps you too.
I don't know if this is anything close to what your asking, but many years ago I sent the attached document to Mike Gallagher.
He is the manager of, and are still developing the current conversion file ldraw.xml.
It created some fuzz and triggered some activity in his team. I'm still wondering what I had stumbled on, but they seamed to be very interested. I'm no programmer, nor any good at math, but it has been fun to see how the ldraw.xml-file has been continually developed over the years.
I can only hope it helps you too.