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 / 6669
6668  |  6670
Subject: 
Re: Getting into Lego CAD (was Re: S/973p40a.dat ???)
Newsgroups: 
lugnet.cad
Date: 
Mon, 5 Nov 2001 16:24:59 GMT
Viewed: 
528 times
  
In lugnet.cad, Kevin Wilson writes:

I sympathise with Richard. I've been using a combination of MLCad, LDLite
and LDAO to produce kit instructions for more than a year now and although I
can do the basic things I need pretty easily, any time I want to do
something different it's a struggle to work out how. There are all these
wonderful add-on or helper programs in existence, but if I decide I need to
do "X", it's pretty hard to work out what I need in order to do it.

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.

Right now I'm trying to find out how to change the edge colors on my
printouts so they are clearer (eg change the edge color for red to black
instead of the pinkish color it is now) and although I have dug up various
snippets of info they don't yet add up to an answer.

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. :(

Steve



Message has 2 Replies:
  Re: Getting into Lego CAD (was Re: S/973p40a.dat ???)
 
Steve Bliss wrote in message ... (...) 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 (...) (23 years ago, 5-Nov-01, to lugnet.cad)
  Re: Getting into Lego CAD (was Re: S/973p40a.dat ???)
 
(...) I just tried a few of these color changes and it should do the trick. Just add something like this to the ldliterc.dat file or at the beginning of your model file: 0 COLOR 0 black 15 34 34 34 255 34 34 34 255 0 COLOR 4 red 0 196 0 38 255 196 0 (...) (23 years ago, 5-Nov-01, to lugnet.cad)

Message is in Reply To:
  Re: Getting into Lego CAD (was Re: S/973p40a.dat ???)
 
richard marchetti wrote in message ... (...) I sympathise with Richard. I've been using a combination of MLCad, LDLite and LDAO to produce kit instructions for more than a year now and although I can do the basic things I need pretty easily, any (...) (23 years ago, 4-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