add a new meta 0 !ORIGIN
2014-12-27, 14:47 (This post was last modified: 2015-01-02, 19:30 by Steffen.)
2014-12-27, 14:47 (This post was last modified: 2015-01-02, 19:30 by Steffen.)
Following the discussion at
http://www.ldraw.org/cgi-bin/ptdetail.cg...s/6117.dat
on the PT, I'd like to suggest a new META for specifying a "good" origin of a file.
0 !ORIGIN x y z m1 m2 m3 m4 m5 m6 m7 m8 m9
It is just the keywords "0 !ORIGIN", followed by the usual translation and matrix data.
When not present, a default of
0 !ORIGIN 0 0 0 1 0 0 0 1 0 0 0 1
is assumed.
Adding this will allow us to adjust the "suggested" origin of parts even after they have become official,
WITHOUT breaking models that users have built with it.
Software aware of this new syntax can put its rotation center etc. to that origin when the user touches the part.
http://www.ldraw.org/cgi-bin/ptdetail.cg...s/6117.dat
on the PT, I'd like to suggest a new META for specifying a "good" origin of a file.
0 !ORIGIN x y z m1 m2 m3 m4 m5 m6 m7 m8 m9
It is just the keywords "0 !ORIGIN", followed by the usual translation and matrix data.
When not present, a default of
0 !ORIGIN 0 0 0 1 0 0 0 1 0 0 0 1
is assumed.
Adding this will allow us to adjust the "suggested" origin of parts even after they have become official,
WITHOUT breaking models that users have built with it.
Software aware of this new syntax can put its rotation center etc. to that origin when the user touches the part.