To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 16237
16236  |  16238
Subject: 
Re: Suggestion: !TYPE line
Newsgroups: 
lugnet.cad
Date: 
Fri, 29 May 2009 09:20:48 GMT
Viewed: 
8958 times
  
In lugnet.cad, Santeri Piippo wrote:
   LEGO parts may vary in colour and pattern, but they are always of the same material. For example, there is no such thing as a Technic Axle 7 made of rubber or the Axle Flexible 7 that’s solid, is there?

Here I got an idea: have parts identify what material are they made of. There’d be a !TYPE Rubber line which would identify that the part is of rubber, like tires. Maybe also a !TYPE Soft-Plastic for parts like 50934 (though there’s a problem: only a half of the part is of soft plastic!) and so on.

The use? Maybe there’s more than this, but colouring at the very least. Future CAD programs could use the !TYPE line to find out what the part is made of, and thus would know what kind of colours use for it. Say, imagine this future program and you place tyre on a wheel and then click the black colour button to turn it black. The program would then note that it’s of rubber and make it colour 256 automatically!

A problem, though, is that there aren’t rubber variants for every colour. In the latest released ldconfig.ldr, there’s 256 (Rubber-Black), 273 (Rubber-Blue), 324 (Rubber-Red), 375 (Rubber-Gray) and 511 (Rubber-White). In the upcoming ldconfig.ldr there’s 405 (Rubber-Yellow), 406 (Rubber-Trans-Yellow) and 407 (Rubber-Trans-Clear) defined. In these cases where there’s no rubber version of the colour the real colour has to be used, then.

Sounds logical, but if we would have that in this way we just could go and hard color the part. At this point you should not be so narrow to the real part. In our part files there should be only the geometric data defined. The color is defined in ldconfig.ldr. Combine that two just like you want.

Thats my thoughts about this.

cu mikeheide



Message is in Reply To:
  Suggestion: !TYPE line
 
LEGO parts may vary in colour and pattern, but they are always of the same material. For example, there is no such thing as a Technic Axle 7 made of rubber or the Axle Flexible 7 that's solid, is there? Here I got an idea: have parts identify what (...) (15 years ago, 29-May-09, to lugnet.cad, FTX)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR