New meta in LDConfig for default category icon in editors


New meta in LDConfig for default category icon in editors
#1
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.
LEGO ergo sum
Reply
RE: New meta in LDConfig for default category icon in editors
#2
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.
Reply
RE: New meta in LDConfig for default category icon in editors
#3
(2024-04-28, 14:41)Orion Pobursky Wrote: 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.

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.
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 3 Guest(s)