Insert Related Database


Re: Insert Related Database
#6
Hi Stephen,

An email thread with Roland convinced me to use the .ldr file directly too -- this is what I have for the current format (an excerpt):

Code:
0 !PARENT
1 4    0 0 0    1 0 0 0 1 0 0 0 1 122c01.dat
1 4    0 0 0    1 0 0 0 1 0 0 0 1 122c02.dat
0 !CHILD Left Tire
1 1    -31.000000 6.000000 0.000000    0.000000 0.000000 1.000000  0.000000 1.000000 0.000000  -1.000000 0.000000 0.000000  3641.dat
1 1    -31.000000 6.000000 0.000000    -0.000000 0.000000 1.000000  -0.000000 1.000000 -0.000000  -1.000000 -0.000000 -0.000000  4084.dat
0 !PARENT
1 4    100 0 0    1 0 0 0 1 0 0 0 1 122c01.dat
1 4    100 0 0    1 0 0 0 1 0 0 0 1 122c02.dat
0 !CHILD Right Tire
1 1    131.000000 6.000000 0.000000    -0.000000 0.000000 -1.000000  -0.000000 1.000000 -0.000000  1.000000 0.000000 -0.000000  3641.dat
1 1    131.000000 6.000000 0.000000    -0.000000 0.000000 -1.000000  -0.000000 1.000000 -0.000000  1.000000 0.000000 -0.000000  4084.dat

- The comments tell the parser what the relationship names are and who is a parent-child.
- Parents can be offset from 0,0,0 to make the file more viewable.
- The file is currently 'flat' - steps and mpd sub-files are ignored - so an author can use them for organization but they are not needed to make the relationships.

Cheers
Ben
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Insert Related Database - by Ben Supnik - 2013-03-31, 20:35
Re: Insert Related Database - by Ben Supnik - 2013-04-02, 15:10
Re: Insert Related Database - by Steffen - 2013-04-14, 12:50
Re: Insert Related Database - by Ben Supnik - 2013-04-14, 14:38
Re: Insert Related Database - by Steffen - 2013-04-14, 16:23
Re: Insert Related Database - by Ben Supnik - 2013-04-15, 3:47
Re: Insert Related Database - by Ben Supnik - 2013-04-16, 2:39
Re: Insert Related Database - by Allen Smith - 2013-04-15, 16:26
Re: Insert Related Database - by Sergio Reano - 2013-04-17, 12:09
Re: Insert Related Database - by Ben Supnik - 2013-04-17, 14:00
Re: Insert Related Database - by Sergio Reano - 2013-04-17, 14:20
Re: Insert Related Database - by Steffen - 2013-04-17, 23:26
Re: Insert Related Database - by Allen Smith - 2013-04-18, 15:43
Re: Insert Related Database - by Ben Supnik - 2013-04-19, 0:21
Re: Insert Related Database - by Ben Supnik - 2013-04-19, 18:14
Re: Insert Related Database - by Travis Cobbs - 2013-04-19, 18:32
Re: Insert Related Database - by Tim Gould - 2013-04-19, 21:29
Re: Insert Related Database - by Ben Supnik - 2013-04-20, 2:04
Re: Insert Related Database - by Travis Cobbs - 2013-04-19, 18:27
Re: Insert Related Database - by Steffen - 2013-12-12, 5:22

Forum Jump:


Users browsing this thread: 1 Guest(s)