LPub: Torsos and Legs


Re: LPub: Torsos and Legs
#5
Philippe \Philo\" Hurbain Wrote:It is possible in LPub to replace a group of parts by another assembly in BOM and PLI:
0 !LPUB PLI BEGIN SUB <part> (<color>)
(parts)
0 !LPUB PLI END

For example,
0 LPUB PLI BEGIN SUB turntable.ldr
1 8 0 0 0 1 0 0 0 -1 0 0 0 -1 48452.DAT
1 0 0 0 0 1 0 0 0 -1 0 0 0 -1 48168.DAT
0 LPUB PLI END
puts the image of an assembled turntable instead of two separated halves (turntable.ldr contains the two lines
1 8 0 0 0 1 0 0 0 -1 0 0 0 -1 48452.DAT
1 0 0 0 0 1 0 0 0 -1 0 0 0 -1 48168.DAT)

Or:
0 LPUB PLI BEGIN SUB 76537.dat 14
1 0 100 110 0 1 0 0 0 1 0 0 0 1 4254.dat
1 14 100 0 0 1 0 0 0 1 0 0 0 1 4255.dat
1 494 100 56 0 1 0 0 0 1 0 0 0 1 22977.dat
0 LPUB PLI END
substitutes a shock absorber shortcut to its detailed equivalent in code (that could for example have its spring compressed.

Has "turntable.ldr" (in my case "hipsnlegs.ldr") to be defined somewhere else in the mpd? Because all that happens when I add the lines

0 LPUB PLI BEGIN SUB hipsnlegs.ldr
1 0 0 32.464 3.307 1 0 0 0 0.96 0.28 0 -0.28 0.96 3815.dat
1 0 0 44 0 1 0 0 0 0 1 0 -1 0 3816.dat
1 0 0 44 0 1 0 0 0 0 1 0 -1 0 3817.dat
0 LPUB PLI END

is that the PLI is gone (See step 1 in the picture)

[Image: 7320199528_ac2d7f4e7d_h.jpg]
Reply
« Next Oldest | Next Newest »



Messages In This Thread
LPub: Torsos and Legs - by Daniel Goerner - 2012-05-07, 12:46
Re: LPub: Torsos and Legs - by Steffen - 2012-05-07, 13:29
Re: LPub: Torsos and Legs - by Steffen - 2012-05-07, 13:36
Re: LPub: Torsos and Legs - by Daniel Goerner - 2012-06-02, 13:05

Forum Jump:


Users browsing this thread: 1 Guest(s)