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 / 6671
6670  |  6672
Subject: 
Re: Getting into Lego CAD (was Re: S/973p40a.dat ???)
Newsgroups: 
lugnet.cad
Date: 
Mon, 5 Nov 2001 16:54:18 GMT
Viewed: 
636 times
  
Steve Bliss wrote in message ...
With LDLite, you can add lines to the main DAT files to control the colors.
To modify red, you'd add a line like:

0 COLOR 4 red 0 196 0 38 255 196 0 38 255

The '4' is because you're modifying color #4, the 'red' is a name for the
color (which you could use in place of the 4 in later commands, if you
desired), the '0' is the code for the edge-color you want to use (black),
the remaining codes specify the RGB-A values of the color, which are very
important, but beside the point for this discussion.

Put this line at the top of the file, modifying it for each color you want
to change.

Unfortunately, I don't think MLCAD will recognize this command. :(

Thanks for the tip Steve - but I think you're right, MLCad doesn't like mods
to color numbers under 60 IIRC. I will try this again to make sure though.

Larry P suggested there was a way to do it in the LDraw.ini file, but in my
LDraw.ini there are just lines for the basic colors which don't seem to
specify edge colors, like:
[Colors]
0=0,Black
1=8388608,Blue
2=32768,Green
3=8421376,Dk Cyan

Kevin
-----------------------------------------------------------------------
Craftsman Lego Kits & Custom models: http://www.lionsgatemodels.com
Brickbay Lego parts store: http://www.brickbay.com/store.asp?p=Kevinw1
eBay Lego auctions: http://members.ebay.com/aboutme/kevinw1/
The Guild of Bricksmiths: http://www.bricksmiths.com
Personal Lego Web page:
http://ourworld.compuserve.com/homepages/kwilson_tccs/lego.html



Message has 1 Reply:
  Re: Getting into Lego CAD (was Re: S/973p40a.dat ???)
 
(...) Yeah, it looks like the default edge colors aren't documented anywhere. Not even in the missing ldlite 1.6 documentation. But if you jump to the source code you'll find the supersecret inverse color entries in the big ldlite color table. See (...) (23 years ago, 5-Nov-01, to lugnet.cad)

Message is in Reply To:
  Re: Getting into Lego CAD (was Re: S/973p40a.dat ???)
 
(...) I can understand your frustration. The LDraw developer 'community' is pretty fluid, each person doing their own thing. So it's hard to get a cohesive grasp of everything, except by learning and using all packages. (...) With LDLite, you can (...) (23 years ago, 5-Nov-01, to lugnet.cad)

14 Messages in This Thread:






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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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