Special:
|
[DAT] (requires LDraw-compatible viewer)
|
Subject:
|
Re: Previous step color scaling
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Wed, 17 Oct 2007 12:02:47 GMT
|
Viewed:
|
6228 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
In lugnet.cad, Jaco van der Molen wrote:
> What you basicly want is some code after this line:
> 1 0 0 0 90 -1 0 0 0 1 0 0 0 -1 4315.DAT
> to indicate that all previous parts including this one should have faded colors
> and following parts are fully colored.
Correct. Technically, the prel3p commands affect color substitution on following
lines, so you'll need to insert code in two places: once at the beginning of the
model to use the "faded" colors, and again at whatever point you wish to restore
the normal colors.
Here is the example car with PreL3P commands inserted:
0 Car
0 Name: CAR.DAT
0 Author: James Jessiman
0 Original LDraw Model - LDraw beta 0.27 Archive
0 Car
0 !PREL3P +codes none
0 !PREL3P -ldconfig faded.ldr
1 0 0 0 -90 1 0 0 0 1 0 0 0 1 4315.DAT
1 7 0 0 -60 1 0 0 0 1 0 0 0 1 4600.DAT
1 0 0 0 0 1 0 0 0 1 0 0 0 1 3031.DAT
1 7 0 0 60 1 0 0 0 1 0 0 0 1 4600.DAT
1 0 0 0 90 -1 0 0 0 1 0 0 0 -1 4315.DAT
0 !PREL3P -ldconfig normal.ldr
1 46 30 -8 -90 1 0 0 0 1 0 0 0 1 3024.DAT
1 46 -30 -8 -90 1 0 0 0 1 0 0 0 1 3024.DAT
1 4 0 -8 -60 0 0 1 0 1 0 -1 0 0 3020.DAT
1 4 30 -8 -10 0 0 1 0 1 0 -1 0 0 3623.DAT
1 4 -30 -8 -10 0 0 1 0 1 0 -1 0 0 3623.DAT
1 4 30 -8 30 1 0 0 0 1 0 0 0 1 3024.DAT
1 4 -30 -8 30 1 0 0 0 1 0 0 0 1 3024.DAT
1 4 0 -8 50 0 0 1 0 1 0 -1 0 0 3021.DAT
1 4 0 -8 90 1 0 0 0 1 0 0 0 1 3710.DAT
1 1 0 -8 0 1 0 0 0 1 0 0 0 1 4079.DAT
By default, PreL3P doesn't replace the basic colors known to L3P, so the "+codes
none" option says not to keep them. That allows the faded color definitions to
be used for everything.
Coming up with readable faded colors is definitely a challenge, at least for
black, white, and shades of gray. Alternatively, you might even draw everything
from previous steps in one neutral shade.
Jim
|
|
Message has 1 Reply: ![](/news/x.gif) | | Re: Previous step color scaling
|
| (...) If you have access to a *nix machine, or have installed the appropriate cygwin components on a Windows box, the following script should take a bunch of step files spit out from MLCad and insert the appropriate PREL3P commands in. #! /bin/sh (...) (17 years ago, 17-Oct-07, to lugnet.cad, FTX)
|
Message is in Reply To:
![](/news/x.gif) | | Re: Previous step color scaling [DAT]
|
| (...) Thank you! I will eagerly await and try it. (...) MLCad is able to export every step, but it exports steps without information at which line the previous step ends and were the next step begins. For example when I export the CAR (still a great (...) (17 years ago, 16-Oct-07, to lugnet.cad)
|
34 Messages in This Thread: ![Previous step color scaling -Jaco van der Molen (15-Oct-07 to lugnet.cad)](/news/x.gif) ![](/news/246.gif) ![Re: Previous step color scaling -Travis Cobbs (15-Oct-07 to lugnet.cad)](/news/x.gif) ![](/news/246.gif) ![Re: Previous step color scaling -Jaco van der Molen (15-Oct-07 to lugnet.cad)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: Previous step color scaling -Don Heyse (15-Oct-07 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Previous step color scaling -Travis Cobbs (17-Oct-07 to lugnet.cad)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Previous step color scaling -Kevin L. Clague (16-Oct-07 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Previous step color scaling -Jim DeVona (16-Oct-07 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Previous step color scaling -Jaco van der Molen (16-Oct-07 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Previous step color scaling -Jim DeVona (16-Oct-07 to lugnet.cad)](/news/x.gif) ![](/news/246.gif) ![Re: Previous step color scaling -Jim DeVona (16-Oct-07 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Previous step color scaling -Timothy Gould (16-Oct-07 to lugnet.cad)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Previous step color scaling -Jaco van der Molen (16-Oct-07 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![You are here](/news/here.gif) ![](/news/46.gif) ![Re: Previous step color scaling -Travis Cobbs (17-Oct-07 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Previous step color scaling -Travis Cobbs (17-Oct-07 to lugnet.cad)](/news/x.gif) ![](/news/246.gif) ![Re: Previous step color scaling -Jim DeVona (17-Oct-07 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Previous step color scaling -Jaco van der Molen (18-Oct-07 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![PreL3P 1.3 -Jim DeVona (18-Oct-07 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: PreL3P 1.3 -help :) -Tore Eriksson (22-Oct-07 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: PreL3P 1.3 -help :) -Jim DeVona (22-Oct-07 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: PreL3P 1.3 -help :) -Jim DeVona (25-Oct-07 to lugnet.cad)](/news/x.gif) ![](/news/246.gif) ![Re: PreL3P 1.3 -help :) -Don Heyse (25-Oct-07 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: PreL3P 1.3 -help :) -Jim DeVona (25-Oct-07 to lugnet.cad, lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![PreL3P 1.4 -Jim DeVona (5-Nov-07 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: PreL3P 1.4 -Jim DeVona (6-Nov-07 to lugnet.cad, lugnet.cad.dev.mac)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: PreL3P 1.3 -help :) -Tore Eriksson (25-Oct-07 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: PreL3P 1.3 -help :) -Jim DeVona (25-Oct-07 to lugnet.cad)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Previous step color scaling -Jaco van der Molen (30-Oct-07 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Previous step color scaling -Jim DeVona (30-Oct-07 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Previous step color scaling -Jaco van der Molen (30-Oct-07 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Previous step color scaling -Travis Cobbs (31-Oct-07 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Previous step color scaling -Don Heyse (31-Oct-07 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Previous step color scaling -Jaco van der Molen (2-Nov-07 to lugnet.cad)](/news/x.gif)
![](/news/x.gif) ![](/news/68.gif) ![Re: Previous step color scaling -Jaco van der Molen (2-Nov-07 to lugnet.cad)](/news/x.gif)
- 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
|
|
|
|