LDraw.org Official Parts Library Standards: General


LDraw.org Official Parts Library Standards: General
#1
(Yesterday, 20:27)Orion Pobursky Wrote: It's time to start discussing the LDraw.org Official Parts Library Standards.

Only nitpick I noticed at first read trough:

Quote:Leading zeros unless immediately before the decimal point must be removed (i.e. 1.5, not 01.5).

Found this a bit confusing, so 0.123,  00000.123  and .123 are all allowed?

Maybe:

Quote:Leading zeros unless at most one immediately before the decimal point must be removed (i.e. 1.5, not 01.5).
Reply
RE: LDraw.org Official Parts Library Standards: Introduction
#2
(Yesterday, 20:46)Roland Melkert Wrote: Found this a bit confusing, so 0.123,  00000.123  and .123 are all allowed?

The first and third are ok, the second is not. This is already enforced by the PT submit validation.

Follow up: Should the PT autocorrect these errors and issue a warning instead?

Good feedback.
Reply
RE: LDraw.org Official Parts Library Standards: Introduction
#3
(Yesterday, 21:09)Orion Pobursky Wrote: Follow up: Should the PT autocorrect these errors and issue a warning instead?

I think this can be an automatic correction (with a proven algorithm).

Maybe followed with a message about what has been corrected?
Reply
RE: LDraw.org Official Parts Library Standards: Introduction
#4
(Yesterday, 20:46)Roland Melkert Wrote: Only nitpick I noticed at first read trough:


Found this a bit confusing, so 0.123,  00000.123  and .123 are all allowed?

Maybe:

I just realized that this is skipping ahead to the General section. I'll move these posts when I open discussion on that section.
Reply
RE: LDraw.org Official Parts Library Standards: Introduction
#5
Quote:All part files in the LDraw Parts Library are required to carry the .dat extension.

we do have the texture maps as "png" as well
Reply
LDraw.org Official Parts Library Standards: General
#6
Since a few people jumped the gun, I'll open the General sections for comments

https://library.ldraw.org/documentation/...ds/general

Some comments from the intro thread have been moved here.
Reply
RE: LDraw.org Official Parts Library Standards: Introduction
#7
Suggestions for the General page:

Update:
Quote:Files shall not exceed five decimal places
to:
Quote:Numbers in files shall not exceed five decimal places

Update:
Quote:Four decimal places (at a minimum) shall be used for high-res primitives ...
to:
Quote:Four decimal places (at a minimum) shall be used in high-res primitives ...

Regarding this:
Quote:If the geometry is tangent to the curve. If it is sloped further, then a complementary conditional line shall be placed on the edge of that geometry, with the control points past the edge of the geometry configured to be tangent to the curve, and the two end points of the conditional placed to exactly overlap the complementary conditional line on the edge of the curved primitive.

First of all, the first sentence seems to be missing its conclusion (, "then ..."). Secondly, I wanted to verify that these instructions are accurate (along with the sample image). It seems to me that the control point that is on the curve side should be tangent to the curve and not on the next curve vertex. The provided instructions mean that sometimes both overlapping conditionals will be rendered at the same time.

Quote:For hinge or hinge like parts, the origin should be at the rotation point**
The two asterisks at the end are never defined.

Quote:Line types 2 and 5 must use colour 24.
I thought that line type 2 was occasionally allowed to use specific colors in patterns. Is this not the case?
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: Travis Cobbs, Vovik, 4 Guest(s)