LDraw.org Discussion Forums
Importance of stud orientation? - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: Models and Parts (https://forums.ldraw.org/forum-18.html)
+--- Forum: Parts Authoring (https://forums.ldraw.org/forum-19.html)
+--- Thread: Importance of stud orientation? (/thread-5622.html)

Pages: 1 2


Importance of stud orientation? - Owen Burgoyne - 2012-07-25

While creating new LDraw parts I've paid particular attention to the orientation of the studs to ensure that the parts look as accurate as possible.

One thing I've noticed in the LDraw library (and also the LGEO library, but that's another matter) is that although an existing part may be near-perfect, sometimes the orientation of the studs is incorrect.

This is most apparent when using something like LDView, where stud logos are oriented based on the stud.dat's orientation in the LDraw part file. And when LDView exports a model to POV-Ray and uses LGEO studs on non-LGEO parts, the issue carries over.

My question is this: Should existing LDraw parts be resubmitted to the Parts Tracker (via email, of course) just to fix something like stud orientation?

[Incidentally, my current solution to ensure stud orientation is correct is a modification to stud.dat which incorporates the (uncertified) logo.dat primitive, so the LEGO logo is always visible, even in programs like MLCad.]


Re: Importance of stud orientation? - Steffen - 2012-07-25

despite me being also a fan of correct stud orientation,
and also using the same technique as you,
I would like to oppose to the idea of submitting parts just for _that_ reason
to the PT, as this would create (again) a huge pile of todos for us reviewers,
and we cannot really cope with the current workload already.

on the other hand I understand your approach, and would not really like a "forbidding" of doing so.

question is if you would like to dedicate your precious energy maybe to helping us review
the existing pile of parts.......


Re: Importance of stud orientation? - Orion Pobursky - 2012-07-25

I say no. Stud logos are not defined in the spec. Until such time as they are they should not be considered official in any way and therefore should not be the cause of a hold or resubmit.


Re: Importance of stud orientation? - Philippe Hurbain - 2012-07-26

I agree with answers so far. Correct orientation is a "best effort" at part authoring or when there is a modification of the part. Just wanted to add that several parts changed stud orientation when LEGO re-tooled the molds...


Re: Importance of stud orientation? - Allen Smith - 2012-07-26

This is an example of a situation in which a lighter-weight part editing process would benefit LDraw. Here we have a person volunteering to make improvements to the library, but being told not to because the review process just makes it too cumbersome to integrate those improvements.

Allen


Re: Importance of stud orientation? - Owen Burgoyne - 2012-07-26

Thank you all for your clarification. I guess there is a chance that adding a logo to every stud or part that requires one could cause a slowdown during display, although most home machines would have progressed in computational power since the initial creation of the LDraw system.

And, as Steffen said, it would be time-consuming to check all existing parts.

Steffen Wrote:question is if you would like to dedicate your precious energy maybe to helping us review
the existing pile of parts...

I have requested reviewer access and, when it is granted, will certainly do my best to review what I can. (My LDraw knowledge is not as in depth as a lot of existing Parts Tracker reviewers.)

Orion Pobursky Wrote:Stud logos are not defined in the spec.

Is there a chance that this is likely to change? Although programs like LDView can superimpose stud logos on instances of stud.dat, there are wheel rims/hubs that have the logo which LDView does not display. I know it's currently personal preference, but I'm a fan of the studs logos showing where they should.

Philippe Hurbain Wrote:Just wanted to add that several parts changed stud orientation when LEGO re-tooled the molds...

I've certainly noticed this when researching stud orientation for LGEO parts. The oddest example I found was the yellow part shown here.


Re: Importance of stud orientation? - Chris Dee - 2012-07-26

I don't understand. Lighter-weight editing process or lighter-weight review process?


Re: Importance of stud orientation? - Allen Smith - 2012-07-26

In order for any edit to be disseminated, it must go through the review process. So I would describe the review as a step in the overall edit process. But whatever terms are used, the context of the discussion was the review and the time burden that review entails.

Allen


Re: Importance of stud orientation? - Steffen - 2012-07-26

Owen, the addition of stud logos can be done by several techniques,
and which one you choose depends on your desires.
Our library just has to make sure that you _can_ place logos on the studs when wanted.
The currently used techniques are various:
(a) some people - like me - replace their stud.dat by a file which adds logo.dat to it, so a logo appears on all studs in all tools as "lines"
(b) some tools - like LDView - can use lowlevel graphics functions like texture mapping to map a logo onto studs
© when doing a 3D rendering export - like for example to POVRay - logos can be modeled in various ways, e.g. as thin cylindric lines, as real 3D objects, or as a bitmap projection
(d) tools - like MLCad - have user options by which you can pick the detailing level of stud display. you can leave them completely away, you can render them as a single, thin vertical line, you can render them roughly ("fast-draw") or nicely etc.pp.

So as you see, our library doesn't hardcode how the studs get displayed.
It just makes sure that its logic structure allow you to apply any desired technique.
Just another Good Thing ™ of our library IMHO.


Re: Importance of stud orientation? - Tim Gould - 2012-07-26

Were Owen (thanks for the offer Smile ) to edit these parts and make a zip file available I'd happily link to it from the main site. But the official library does have to be checked over carefully. All it takes is an accidental delete of a line to break a part so even a change of stud orientation needs to be looked at twice just in case.

Tim