Different Stud Text


Different Stud Text
#1
There is a thread on the LEGO-logo modeling but one thing I could not find there:

There are studs that read "LEGO" and there are studs that read "SCALA" (I found some more crazy parts, like the Scala Baseplate and Supports...)

How is e.g. LDView (or LDPE) deciding what to put on top of a stud? Are they only looking for a "stud.dat"?

How can they forced to pick another logo? Of course it must be another name for the stud, but is this assignment in the code or in a config file?

I modeled the SCALA text and redid the (solid) Scala studs as there are three different ones. In the picture I added the text manually.
   
Reply
RE: Different Stud Text
#2
(2020-01-22, 23:31)Gerald Lasser Wrote: How is e.g. LDView (or LDPE) deciding what to put on top of a stud? Are they only looking for a "stud.dat"?

When primitive substitution is enabled, LDView looks for "stud.dat" (or "stu2.dat" when running in low-res mode), and uses a disc with a LEGO texture on it in that case instead of an unadorned disc. (It also keeps track of mirroring to ensure that the logo itself is never mirrored.) There could be other primitives that deserve a LEGO logo, but LDView doesn't support doing so with them. If you have a Scala part, and that contains a stud that is identical to a LEGO stud in every way except for the logo on top, I personally think it would still be best not to use stud.dat on that part.
Reply
RE: Different Stud Text
#3
(2020-01-23, 1:55)Travis Cobbs Wrote: When primitive substitution is enabled, LDView looks for "stud.dat" (or "stu2.dat" when running in low-res mode), and uses a disc with a LEGO texture on it in that case instead of an unadorned disc. (It also keeps track of mirroring to ensure that the logo itself is never mirrored.) There could be other primitives that deserve a LEGO logo, but LDView doesn't support doing so with them. If you have a Scala part, and that contains a stud that is identical to a LEGO stud in every way except for the logo on top, I personally think it would still be best not to use stud.dat on that part.

I agree. I think the reference to stud.dat in p/stud5.dat should be inlined. Similarly 8\stud.dat in p/8/stud5.dat.
Chris (LDraw Parts Library Admin)
Reply
RE: Different Stud Text
#4
Travis, Thanks for your explanation.

Chris, I planned to submit the Scala-studs in the pictures, which involves also the re-done stud5

I would suggest to assign a new stud primitive to the center stud that can sport the Scala-Logo in future, i.e. where programs can look for it and place the corresponding logo on top.
Reply
RE: Different Stud Text
#5
(2020-01-23, 11:05)Gerald Lasser Wrote: Travis, Thanks for your explanation.

Chris, I planned to submit the Scala-studs in the pictures, which involves also the re-done stud5

I would suggest to assign a new stud primitive to the center stud that can sport the Scala-Logo in future, i.e. where programs can look for it and place the corresponding logo on top.

I don't think it is necessary to have a new primitive for the centre of the Scala stud - just apply the logo to the stud5.
Chris (LDraw Parts Library Admin)
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 2 Guest(s)