![]() |
|
LDraw.org Official Parts Library Standards: General - Printable Version +- LDraw.org Discussion Forums (https://forums.ldraw.org) +-- Forum: General (https://forums.ldraw.org/forum-12.html) +--- Forum: Parts Tracker Discussion (https://forums.ldraw.org/forum-36.html) +--- Thread: LDraw.org Official Parts Library Standards: General (/thread-29492.html) |
LDraw.org Official Parts Library Standards: General - Roland Melkert - 2026-04-22 (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). RE: LDraw.org Official Parts Library Standards: Introduction - Orion Pobursky - 2026-04-22 (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. RE: LDraw.org Official Parts Library Standards: Introduction - Roland Melkert - 2026-04-22 (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? RE: LDraw.org Official Parts Library Standards: Introduction - Orion Pobursky - 2026-04-22 (Yesterday, 20:46)Roland Melkert Wrote: Only nitpick I noticed at first read trough: I just realized that this is skipping ahead to the General section. I'll move these posts when I open discussion on that section. RE: LDraw.org Official Parts Library Standards: Introduction - Gerald Lasser - 2026-04-23 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 LDraw.org Official Parts Library Standards: General - Orion Pobursky - 2026-04-23 Since a few people jumped the gun, I'll open the General sections for comments https://library.ldraw.org/documentation/ldraworg-official-parts-library-standards/general Some comments from the intro thread have been moved here. RE: LDraw.org Official Parts Library Standards: Introduction - Travis Cobbs - 2026-04-23 Suggestions for the General page: Update: Quote:Files shall not exceed five decimal placesto: 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? RE: LDraw.org Official Parts Library Standards: General - Chris Böhnke - 2026-04-23 Stud Orientation: Missing a few words? "The individual studs on a part should be rotated such that the stud logo appears is [like] it would [be] on the real part." Duplicate Lines: Feels a bit random at it's current place in the list. Shouldn't this be more along the basic rules at the top? Header Meta Commands: So, older relics like "0 !CMDLINE -c14" are officially gone? Should this be mentioned for older parts? Colours:
RE: LDraw.org Official Parts Library Standards: Introduction - Orion Pobursky - 2026-04-23 (2 hours ago)Travis Cobbs Wrote: 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. The above needs to be discussed. All the rest of your comments are fixed. RE: LDraw.org Official Parts Library Standards: General - Orion Pobursky - 2026-04-23 (55 minutes ago)Chris Böhnke Wrote: Colours: Let's discuss the above. Stud Orientation wording fixed, Duplicate lines section moved, and missing hyperlink added to Header META section. RE: LDraw.org Official Parts Library Standards: General - Orion Pobursky - 2026-04-23 (Yesterday, 20:46)Roland Melkert Wrote: Found this a bit confusing, so 0.123, 00000.123 and .123 are all allowed? This is now clarified |