To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 7393
7392  |  7394
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
Re: are you sure?
Newsgroups: 
lugnet.cad.dat.parts, lugnet.cad.dev
Date: 
Wed, 26 Jun 2002 18:49:49 GMT
Viewed: 
503 times
  
In lugnet.cad.dat.parts, Willy Tschager writes:
> > it would be best to have it so all the dithered colors are in a subfile. on
> > the file being used with the subfile the part is the dithered color. IE..
> > 
> > 0 part (gold detail)
> > 0 goldpart.dat
> > 0
> > 4 16 1 2 3 1 2 3 1 2 3 1 2 3
> > 
> > 0 part decoration
> > 0 part.dat
> > 0
> > 1 334 0 0 0 0 ... goldpart.dat
> > 4 16  0 0 0
> > 4 4 0  0 0
> > 
> > add in the subpart a "sub-subpart" in color gold
> 
> 
> 
> sounds weird. just to make it clear that I got it right. both subparts • (subpart 1 is my frontside, subpart 2 is just the color gold)
> go in the parts\s-folder and the 3004p90.dat part would look like this:
> 
> 0 Brick 1 x 2 with Classic Space Logo Pattern
> Name: 3004p90.dat
> 0 Brick 1 x 2
> 2 24 1 2 3 1 2 3
> 3 16 1 2 3 1 2 3 1 2 3
> 4 16 1 2 3 1 2 3 1 2 3 1 2 3
> 3 16 1 2 3 1 2 3 1 2 3
> 0 Pattern
> 1 16 1 2 3 1 2 3 1 2 3 s\3004p90a.dat (frontside)
> 
> while the frontside-file contains the sub-subpart gold
> 
> 0 Brick 1 x 2 with Classic Space Logo Pattern - Frontside
> Name: s\3004p90a.dat
> 0 Main Color
> 3 16 1 2 3 1 2 3 1 2 3
> 0 Red
> 4 4 1 2 3 1 2 3 1 2 3 1 2 3
> 0 White
> 3 15 1 2 3 1 2 3 1 2 3
> 0 Gold
> 1 366 1 2 3 1 2 3 1 2 3 s\3004p90b.dat (goldpart)
> 
> and the goldpart, still located in the parts\s-folder
> 
> 0 Brick 1 x 2 with Classic Space Logo Pattern - Gold
> Name: s\3004p90b.dat
> 0 Main Color
> 3 16 1 2 3 1 2 3 1 2 3
> 
> 
> to go farther: in an other part I just use my frontside-part, right? guys are • you sure that this will work?
> 
> bye, willy

Personally, I would prefer just a single level of nesting, like this

0 Brick 1 x 2 with Classic Space Logo Pattern
0 Name: 3004p90.dat
0 Brick 1 x 2
2 24 1 2 3 1 2 3
3 16 1 2 3 1 2 3 1 2 3
4 16 1 2 3 1 2 3 1 2 3 1 2 3
3 16 1 2 3 1 2 3 1 2 3
0 Pattern
1 16 1 2 3 1 2 3 1 2 3 s\3004p90a.dat (red and white subpart)
1 366 1 2 3 1 2 3 1 2 3 s\3004p90b.dat (gold supart)

0 Brick 1 x 2 with Classic Space Logo Pattern - Red and White
Name: s\3004p90a.dat
0 Main Color
3 16 1 2 3 1 2 3 1 2 3
0 Red
4 4 1 2 3 1 2 3 1 2 3 1 2 3
0 White
3 15 1 2 3 1 2 3 1 2 3

0 Brick 1 x 2 with Classic Space Logo Pattern - Gold
Name: s\3004p90b.dat
0 Main Color
3 16 1 2 3 1 2 3 1 2 3

You can include the same two type-1 lines in other main part files.

Chris



Message has 1 Reply:
  Re: are you sure?
 
(...) That works for me. Steve (24 years ago, 27-Jun-02, to lugnet.cad.dat.parts, lugnet.cad.dev)

Message is in Reply To:
  are you sure?  [DAT]
 
(...) sounds weird. just to make it clear that I got it right. both subparts (subpart 1 is my frontside, subpart 2 is just the color gold) go in the parts\s-folder and the 3004p90.dat part would look like this: 0 Brick 1 x 2 with Classic Space Logo (...) (24 years ago, 26-Jun-02, to lugnet.cad.dat.parts, lugnet.cad.dev)

9 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
    

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