Lbrn2 File Format Questions - origin point?

Apologies - yes this is related to the LBRN2 code. More details on what I am attempting to do:

  • I have an LBRN2 file that has 100s of shapes within in, all sitting at random-ish points
  • I want to write a python script that takes in this file - and for each shape/design within it - modifies it’s origin point - ie shape 0 at X0/Y0, shape 2 at X10, Y0, shape 3 at X20, Y10, etc
  • Re-write the LBRN2 file (really, xml) such each shape now has a unique & orderly origin

I thought it would be as easy as modifying the top level xform translation value of each shape, but that seems to be wrong - every shape did update it’s position (translated) but to seemingly random locations.

I then tried updating the translation of a single shape - every xform - and I got the above when setting the values to 0/0 which I thought would set it at the true origin. My initial thought is there seems to be some initial offset like you’ve stated @MikeyH - but I cannot for the life of me figure out where that might be either within a given shape or the entirety of the file.