Parts Tracker :: Parts List :: Activity :: Submit :: PT Tools :: PT Reference :: LDraw Specifications :: Lookup

L3P -check Messages

Use this list as a guide when reviewing parts. When you are writing parts, it is best to resolve all L3P error messages. Eventually, the Submit function will enforce the reactions listed in this table.

Note: Most of the text for the error messages and descriptions are taken straight from the L3P documentation, by Lars Hassing.

L3P Warning Level

Error Message / Description

Response for non-BFC files

Response for BFC-compliant files

0

Bad line
Line does not begin with a number

Hold

Hold

0

Unknown line type
Linetype not 0..5

Hold

Hold

0

%d arguments expected
Wrong number of parameters for linetype 3

Hold

Hold

0

Bad color
Bad syntax of color in line

Hold

Hold

0

Unknown color, using 7
Color not in valid range

Hold

Hold

1

Identical vertices
Two or more vertices are identical

Hold

Hold

1

Collinear vertices ...
3 or 4 vertices lie in a straight line (linetypes 3 and 4)

Hold

Hold

0

Sorry, cannot handle color %d, using 15
Color 16 or 24 specified for light.dat

Hold 1

Hold 1

0

Unknown color, using 15
Color of light not in valid range

Hold 1

Hold 1

0

Illegal syntax
of TRANSLATE / ROTATE / SCALE / TRANSFORM

Hold 1

Hold 1

0

Zero vector
in ROTATE meta command

Hold 1

Hold 1

0

%s END expected
of TRANSLATE / ROTATE / SCALE / TRANSFORM

Hold 1

Hold 1

0

END not expected
of TRANSLATE / ROTATE / SCALE / TRANSFORM

Hold 1

Hold 1

0

FILE %s already read
MPD subfile has same name as another file

Hold 1

Hold 1

0

LDraw command(s) preceded this line
Valid commands before first 0 FILE

Hold 1

Hold 1

2

Vertices not coplanar (%g)
Only if -det/-dist option

Hold 2

Hold 2

1

Identical to a previous line
Line has been seen before (L3P16)

Hold/Warn

Hold/Warn

1

Identical to line %u
Line has been seen before (L3P32)

Hold/Warn

Hold/Warn

0

Singular matrix
Typically too many zeros

Warn

Hold

2

Row %d all zeros
Zero row in matrix

Warn

Hold

2

Y column all zeros
Zero y column in matrix

Warn

Hold

0

Singular matrix (unfixable)
L3P cannot fix matrix

Warn

Hold

1

Bad vertex sequence, 0312 used
Bow-tie in linetype 4

Warn

Hold

1

Bad vertex sequence, 0132 used
Bow-tie in linetype 4

Warn

Hold

0

Color 24 illegal for this line type, using 16
Color 24 not valid for linetype 1,3,4

Warn

Warn

1

Lines should not use color 16
Color 16 not valid for linetype 2,5

Warn

Warn

3

Comment lines should have space after 0
Ill-formatted linetype "01 ..."

Warn

Warn

Notes

1 This error results from the file containing commands which are not appropriate for part files.

2 L3P's -dist and -det options control the sensitivity of these messages. General files (parts, subparts and some primitives) should use a 0.1 value to test these options. Geometric primitives should use 0.01. Hi-res primitives should use 0.001.

3 Besides the color parameter, each linetype expects the following number of parameters: Linetype 1 expects 12 numeric parameters (and a filename). Linetype 2 expects 6 numeric parameters. Linetype 3 expects 9 numeric parameters. Linetypes 4 and 5 expect 12 numeric parameters.


© 2001-2014 LDraw.org, see Legal Info for details. This website is powered by Peeron.com.

LEGO® is a registered trademark of the LEGO Group, which does not sponsor, endorse, or authorize this site. Visit the official Lego website at http://www.lego.com/.
The LDraw system is a completely unofficial, community run free CAD system which represents official parts produced by the LEGO company.
The LDraw Parts Tracker is maintained and developed by voluntary members of the LDraw organisation.