LDraw.org Discussion Forums
Part / subpart combined with ~ prefix - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: General (https://forums.ldraw.org/forum-12.html)
+--- Forum: Official File Specifications/Standards (https://forums.ldraw.org/forum-32.html)
+--- Thread: Part / subpart combined with ~ prefix (/thread-23957.html)



Part / subpart combined with ~ prefix - Roland Melkert - 2020-03-28

Why is 165.dat (and many others) considered a part (in !LDRAW_ORG)

It will mess (among other things) with fake seam processing.

And you can't just assume the ~ means subpart ether as there are countless 'obsolete' dat files using the same prefix.


I'm working on this for a bug in LDCad, but I'm not sure this is a 'real' bug or a wrong .dat header issue.


RE: Part / subpart combined with ~ prefix - Philippe Hurbain - 2020-03-28

(2020-03-28, 0:04)Roland Melkert Wrote: Why is 165.dat (and many others) considered a part (in !LDRAW_ORG)

It will mess (among other things) with fake seam processing.

And you can't just assume the ~ means subpart ether as there are countless 'obsolete' dat files using the same prefix.


I'm working on this for a bug in LDCad, but I'm not sure this is a 'real' bug or a wrong .dat header issue.
165.dat, 166.dat and u9255.dat (and many others) type should be changed to "0 !LDRAW_ORG Part Flexible_Section", and moved to a part name with k0x suffix


RE: Part / subpart combined with ~ prefix - Roland Melkert - 2020-03-28

(2020-03-28, 7:41)Philippe Hurbain Wrote: 165.dat, 166.dat and u9255.dat (and many others) type should be changed to "0 !LDRAW_ORG Part Flexible_Section", and moved to a part name with k0x suffix

That would help the fake seam detection.

But thinking there will always be exceptions I also decided to create a new (shadow) meta (!LDCAD HINTS) to override fakeseam behavior.