Patterned Part Numbers
In LDraw, a part with printing is called patterned. The decorative printing is the pattern. The number for a patterned part is the same as the number for plain, or base, part, plus a 'p' and a two-digit code. Like this:
BBBBBpCC.dat
BBBBB is the three- to five-digit base number, and CC is the code for the part. The code can have a mix of letters and numbers.
Getting a pattern number for your part
This isn't too hard - all you have to do is ask. Email Chris Dee,
or post a message on forums.ldraw.org.
Maybe someday we'll have a nice reference table, with all the patterns pre-recorded, but we're not there yet.
Pattern Groups
Normally, the first digit of the code helps to identify which theme or product line
the pattern appears in.
This isn't a hard-set rule, both because many patterned parts appear in multiple themes,
and because this approach to pattern-numbering has evolved over time.
So there are a number of exceptions.
Range | Assignment |
---|---|
0x | General/Miscellaneous and Town |
1x,2x | Town, including Paradisa |
3x | Pirates, Soldiers, Islanders |
4x | Castle |
5x,6x | Space |
7x,8x,9x | Modern Town/City |
Ax | Action (Adventurers, Aquazone, Alpha Team, Rock Raiders) |
Bx | Superheroes |
Cx | Control Panels, dials, gauges, keyboards, readouts, etc. / Superheroes (minifig parts) |
Cxy | Patterned parts for Collectable Minifigures (heads, torsos, arms, hips, legs) from numbered series:
|
Dx | Studios |
Dxy | Patterned parts for Collectable Minifigures (heads, torsos, arms, hips, legs) from unnumbered series:
|
Ex | Nexo Knights |
Fx | Fabuland and Scala |
Gx | Soccer, Basketball |
Hx | Harry Potter |
Jx | Indiana Jones |
Kx | Cars (Disney Pixar) |
Mx | Middle Earth (Lord of the Rings), Elves |
Nx | Ninja |
Qx | Pharaoh's Quest |
Rx,Sx | Star Wars |
Tx | General Textual Patterns (lettering and numbers) and Trademark items (Corporate Logos, etc) |
Ux | Modern Town/City |
Vx | Open |
Wx | Western |
Xx | Miscellaneous Licenses (SpongeBob SquarePants, Ideas) |
Yx | Racing (Racers, Tiny Turbos, Speed Champions) |
Zx | Brickheadz |
Common Patterns
Some patterns appear on many different parts.
An example of this is the Classic Space logo.
So far, there are 8 different part files in the LDraw that bear this pattern.
To make it easier to keep track of these parts, a common pattern may be assigned
a specific code. Then all parts with that pattern should use that code in the part number.
Of course, sometimes that's not possible -
sometimes a pattern appears on the same part in different presentations on a single part,
or the code may already be in use for a certain part.
Future Numbers
As people submit patterned parts in playthemes that have not been modeled in LDraw previously,
we will allocate codes to these patterns and themes.
It would be helpful if authors can catalog the various patterned elements in a theme;
this would assist in planning. But it's not required.
For new playthemes, we hope to start pre-allocating codes to patterns. This would be good not only for LDraw, but also for other LEGO parts databases, such as Peeron.com.
- July 31, 2019
Data collected and tracked by Chris Dee, mangled by Steve Bliss
There are also some pages for mapping pattern codes to various minifigs: Minifig Patterns