New meta in LDConfig for default category icon in editors - Printable Version +- LDraw.org Discussion Forums (https://forums.ldraw.org) +-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html) +--- Forum: LDraw Editors and Viewers (https://forums.ldraw.org/forum-11.html) +--- Thread: New meta in LDConfig for default category icon in editors (/thread-28231.html) |
New meta in LDConfig for default category icon in editors - Willy Tschager - 2024-04-28 Guys, the following is addressed mainly to LDCad where the first part in a CATEGORY is used as mascot for it but all other editors. This leads to very strange results where "Slope" is represented by a Duplo Slope 2x2x1,5 or "PLate" by a Duplo Plate 1x2 with overhang. In LDCad this is editable through the pbg files in the AppData folder - not very user friendly. I suggest adding a new meta to the LDConfig.ldr defining the mascot for the single LDraw categories: 0 !CATEGORY Plate MASCOT 1 16 0 0 0 1 0 0 0 1 0 0 0 1 part.dat DESCRIPTION Plates Thoughts? w. RE: New meta in LDConfig for default category icon in editors - Orion Pobursky - 2024-04-28 I'd do: Code: !MASCOT CATEGORY <Category> DESCRIPTION <description> PART <Matrix> <Part> Example: !MASCOT CATEGORY Plate DESCRIPTION Plates PART 1 0 0 0 1 0 0 0 1 part.dat Reason: Some Categories are 2 words. This makes parsing much easier. RE: New meta in LDConfig for default category icon in editors - Roland Melkert - 2024-05-09 (2024-04-28, 14:41)Orion Pobursky Wrote: I'd do: I would suggest using quotes for easier parsing so: !MASCOT CATEGORY "Plate" DESCRIPTION "Plates" PART 1 0 0 0 1 0 0 0 1 "part.dat" Also the matrix part could be optional. |