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 / 14172
Subject: 
Re: I found an LDRAW importer for Google SketchUp
Newsgroups: 
lugnet.cad
Date: 
Fri, 3 Nov 2006 17:29:22 GMT
Viewed: 
3423 times
  
In lugnet.cad, Jim Foltz wrote:
  
  • Create a simple model and paint the parts (use colors you know are available by name in LDraw: red, green, blue...)

A note on colors. Some LDraw tools (including MLCAD, LDView, L3P) support arbitrary 24-bit color specifications. Use the following in place of the color code for colors you don’t recognize:

0x02RRGGBB

The RRGGBB part is the hex version of the RGB. Make sure to 0-pad. So 255,128,0 would be 0x02FF8000.

You can use the following to get transparent colors:

0x03RRGGBB

Of course, you can’t control the amount of transparency, just whether it’s on or off.

--Travis


Subject: 
Re: I found an LDRAW importer for Google SketchUp
Newsgroups: 
lugnet.cad
Date: 
Sat, 4 Nov 2006 18:24:45 GMT
Viewed: 
3316 times
  
In lugnet.cad, Travis Cobbs wrote:

A note on colors.  Some LDraw tools (including MLCAD, LDView, L3P) support
arbitrary 24-bit color specifications.  Use the following in place of the
color code for colors you don't recognize:

Thanks for the tip.

I plan on having a custom pallet in SketchUp with all the ldraw colors
available. Of course, you can create your own colors too. A custom color will
get exported as you describe below.


0x02RRGGBB

The RRGGBB part is the hex version of the RGB.  Make sure to 0-pad.  So
255,128,0 would be 0x02FF8000.

You can use the following to get transparent colors:

0x03RRGGBB

Of course, you can't control the amount of transparency, just whether it's on
or off.

I'd use 50% in that case.


--Travis


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