Special:
|
[DAT] (requires LDraw-compatible viewer)
|
Subject:
|
Re: Parts authoring with sub parts (HELP NEEDED !!)
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Tue, 26 Sep 2000 18:57:43 GMT
|
Viewed:
|
696 times
|
| |
| |
In lugnet.cad.dev, Ludo Soete writes:
> In lugnet.cad.dev, Steve Bliss writes:
> > In lugnet.cad.dev, ludo soete wrote:
> >
> > > Hi,
> > >
> > > I post this question to the specialists.
> > >
> > > If i write a part, and would use sub parts in it, how do you do this?
> > >
> > > I wrote (& posted it to lugnet) the 9V straight track (2865.dat) and its
> > > possible that i write some more 9V track parts. The track 'click' mechanism is
> > > a repeated part in all tracks (points, straight, curved,..) so it could be
> > > usefull to keep this apart from the 'main' file for reuse in other track parts.
> > >
> > > Any idee if its worth to use a sub part?
> >
> > I'd say that yes, it's worth it to use it as a subpart.
> >
> > To do this, take the code for the 'click' mechanism, copy it to another
> > file. Subpart files are distributed in the parts\s\ directory. To refer
> > to these files, you have to include the subdirectory on the reference. So
> > if you put the click-mechanism in s\2865s01.dat, you would refer to as:
> >
> > 1 16 0 0 0 1 0 0 0 1 0 0 0 1 s\2865s01.dat
> >
> > in any of the track part-files.
> >
> > Steve
>
> O.K. Steve,
>
> I'll break it in sub parts for reuse in other track parts as curved track,
> points and cross.
>
> When reddy, i'll repost it.
>
> regards and thanks for the answer.
> Ludo
Hi,
I'm trying to re-order my 2865.dat file with subparts, but it's not working.
I'll placed the s\14S01.dat in the main file for test purpose.
i do have following into the main file (Parts directory):
0 9V straight train track
0 Name: 2865.dat
0 Author: Ludo Soete (ludo.soete@village.uunet.be)
0 track fixation hole copied from 767.dat by Chris Dee
(chris_w_dee@hotmail.com)
0
1 16 0 0 0 1 0 0 0 1 0 0 0 1 s\14S01.dat
1 16 0 0 0 1 0 0 0 1 0 0 0 1 s\2865S01.dat
1 16 0 0 0 1 0 0 0 1 0 0 0 1 s\2865S02.dat
1 16 0 0 0 1 0 0 0 1 0 0 0 1 s\2865S02.dat
0 track support long walls with cable hole (1)
4 16 40 8 -160 40 8 -124 43 8 -124 43 8 -160
4 16 40 2 -160 40 2 -124 40 8 -124 40 8 -160
4 16 43 2 -160 43 2 -124 43 8 -124 43 8 -160
4 16 40 8 -160 43 8 -160 43 2 -160 40 2 -160
this is a part of one of my 5 subpart files (in the PARTS\S directory)
0 ~Subpart 9V train track 2x4 plate with center hole
0 Name: 2865S01.dat
0 Author: Ludo Soete (ludo.soete@village.uunet.be)
0 track fixation hole copied from 767.dat by Chris Dee
(chris_w_dee@hotmail.com)
0
1 16 20 4 0 1 0 0 0 -1 0 0 0 1 stud4.dat
0 start copied lines from 767.dat
1 16 0 4 0 8 0 0 0 0 0 0 0 8 4-4ndis.dat
1 16 0 4 0 8 0 0 0 0 0 0 0 8 4-4edge.dat
1 16 0 4 0 8 0 0 0 4 0 0 0 8 4-4cyli.dat
1 16 0 8 0 8 0 0 0 0 0 0 0 8 4-4edge.dat
1 16 0 8 0 4 0 0 0 0 0 0 0 4 ring1.dat
1 16 0 8 0 4 0 0 0 0 0 0 0 4 4-4edge.dat
1 16 0 4 0 4 0 0 0 4 0 0 0 4 4-4cyli.dat
1 16 0 4 0 4 0 0 0 0 0 0 0 4 4-4edge.dat
4 16 3.70 4 1.53 5.54 1 2.30 4.24 1 4.24 2.83 4 2.83
4 16 2.83 4 2.83 4.24 1 4.24 2.30 1 5.54 1.53 4 3.70
4 16 1.53 4 3.70 2.30 1 5.54 0 1 6 0 4 4
4 16 0 4 4 0 1 6 -2.30 1 5.54 -1.53 4 3.70
Now, if i start LDAO / select main file / LEdit then i'll see the s\14S01.dat
file on screen,but the others won't apear on screen, only the cursor is
visible, no sub-part;
What i'm i doing wrong????
Thanks for the help
Regards,
Ludo
|
|
Message has 1 Reply:
Message is in Reply To:
| | Re: Parts authoring with sub parts
|
| (...) is (...) parts. (...) O.K. Steve, I'll break it in sub parts for reuse in other track parts as curved track, points and cross. When reddy, i'll repost it. regards and thanks for the answer. Ludo (24 years ago, 26-Sep-00, to lugnet.cad.dev)
|
5 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
|
|
|
|