To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 12784
12783  |  12785
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
Re: Callout in LPub
Newsgroups: 
lugnet.cad
Date: 
Tue, 31 May 2005 11:04:39 GMT
Viewed: 
1174 times
  
In lugnet.cad, Kevin L. Clague wrote:
In lugnet.cad, Jaco van der Molen wrote:
How would I achieve something like this
http://www.brickshelf.com/gallery/sjaacko/Temp/1088-4.png
using a callout in LPub?

0 // Idefinty part calledoutmodel.ldr
0 LPUB CALLOUT BEGIN
0 // Place the callout centered above the assembly
0 LPUB CALLOUT PLACEMENT TOP CENTER ASSEM
0 // Draw a pointer from right edge of callout to upper right of ASSEM
0 LPUB CALLOUT POINTER RIGHT 0.8 0.3
1 0 0 0 0 1 0 0 0 1 0 0 0 1 calledoutmodel.ldr
0 LPUB CALLOUT END

OK! Nearly there:
http://www.brickshelf.com/gallery/sjaacko/Temp/1088_0_03_ci.png
Now to eleminate the arrows in the assem (due to ghosting) and get rid of step 2
in the call out. Also the pointer is missing (something wrong with the code?)

Here is the DAT code of the entire model:

0 FILE 1088.ldr
0 Set 1088 Road Burner
0 Name: 1088.ldr
0 Author: Jaco van der Molen
0 Official Model
1 0 0 0 0 1 0 0 0 1 0 0 0 1 2441.DAT
0 BUFEXCHG A STORE
1 14 0 40 -70 1 0 0 0 1 0 0 0 1 3022.DAT
0 MLCAD ARROW 0 -10 20 -60 0 -1 0 -1 0 0 0 0 -1  10 2 12 20  0 30 1 2  16 16
0 MLCAD SKIP_BEGIN
3 0 -10 32 -60 -5 20 -60 -15 20 -60
4 0 -9 20 -60 -9 0 -60 -11 0 -60 -11 20 -60
0 MLCAD SKIP_END
0 MLCAD ARROW 0 10 20 -60 0 -1 0 -1 0 0 0 0 -1  10 2 12 20  0 30 1 2  16 16
0 MLCAD SKIP_BEGIN
3 0 10 32 -60 15 20 -60 5 20 -60
4 0 11 20 -60 11 0 -60 9 0 -60 9 20 -60
0 MLCAD SKIP_END
0 STEP
0 BUFEXCHG A RETRIEVE
0 LPUB PLI BEGIN IGN
1 14 0 8 -70 1 0 0 0 1 0 0 0 1 3022.DAT
0 LPUB PLI END
1 14 0 0 -80 1 0 0 0 1 0 0 0 1 3710.DAT
1 14 0 -8 60 0 0 1 0 1 0 -1 0 0 3021.DAT
0 STEP
1 14 30 0 0 0 0 1 0 1 0 -1 0 0 3623.DAT
1 14 -30 0 0 0 0 1 0 1 0 -1 0 0 3623.DAT
1 7 0 -16 80 -1 0 0 0 1 0 0 0 -1 3839A.DAT
0 STEP
1 7 -10 -32 60 -1 0 0 0 1 0 0 0 -1 4589.DAT
1 7 10 -32 60 -1 0 0 0 1 0 0 0 -1 4589.DAT
1 0 -30 -24 20 1 0 0 0 1 0 0 0 1 4286.DAT
1 0 30 -24 20 1 0 0 0 1 0 0 0 1 4286.DAT
0
0 LPUB PLI BEGIN SUB hinge.ldr
0
0 LPUB CALLOUT BEGIN
0 LPUB CALLOUT PLACEMENT TOP CENTER ASSEM
0 LPUB CALLOUT POINTER RIGHT 0.8 0.3
1 0 0 -40 80 1 0 0 0 1 0 0 0 1 hinge.ldr
0 LPUB CALLOUT END
0
0 LPUB PLI END SUB
0
0 STEP
1 0 0 -48 80 1 0 0 0 1 0 0 0 1 2431.DAT
1 0 0 -24 -40 1 0 0 0 1 0 0 0 1 3298P54.DAT
1 0 0 -40 40 -1 0 0 0 1 0 0 0 -1 2432.DAT
0 STEP
1 14 0 0 -20 1 0 0 0 1 0 0 0 1 3829.DAT
1 14 30 5 -50 1 0 0 0 1 0 0 0 1 30027.DAT
1 14 -30 5 -50 -1 0 0 0 1 0 0 0 -1 30027.DAT
1 14 30 5 50 1 0 0 0 1 0 0 0 1 30027.DAT
1 14 -30 5 50 -1 0 0 0 1 0 0 0 -1 30027.DAT
1 0 -30 5 50 -1 0 0 0 1 0 0 0 -1 30028.DAT
1 0 40 5 50 -1 0 0 0 1 0 0 0 -1 30028.DAT
1 0 -30 5 -50 -1 0 0 0 1 0 0 0 -1 30028.DAT
1 0 40 5 -50 -1 0 0 0 1 0 0 0 -1 30028.DAT
0
0 FILE hinge.ldr
1 0 0 0 0 1 0 0 0 1 0 0 0 1 3937.DAT
0 BUFEXCHG A STORE
0 GHOST 1 14 0 -48 0 1 0 0 0 1 0 0 0 1 3938.DAT
0 GHOST 0 MLCAD ARROW 0 -20 -12 0 0 0 -1 -1 0 0 0 1 0  10 2 12 20  0 30 1 2  16 16
0 MLCAD SKIP_BEGIN
3 0 -20 0 0 -20 -12 -5 -20 -12 5
4 0 -20 -12 -1 -20 -32 -1 -20 -32 1 -20 -12 1
0 MLCAD SKIP_END
0 GHOST 0 MLCAD ARROW 0 20 -12 0 0 0 -1 -1 0 0 0 1 0  10 2 12 20  0 30 1 2  16 16
0 MLCAD SKIP_BEGIN
3 0 20 0 0 20 -12 -5 20 -12 5
4 0 20 -12 -1 20 -32 -1 20 -32 1 20 -12 1
0 MLCAD SKIP_END
0 STEP
0 BUFEXCHG A RETRIEVE
1 14 0 0 0 1 0 0 0 1 0 0 0 1 3938.DAT
0



Message has 1 Reply:
  Re: Callout in LPub
 
Hello Jaco, (...) Yes, getting better and better ! (...) Yes, CALLOUT POINTER takes 4 parameters, the side (RIGHT), the position on that side (missing here, 0.9 would be a good start) and the x-y position of the tip (0.8 0.3) Philo (19 years ago, 31-May-05, to lugnet.cad)

Message is in Reply To:
  Re: Callout in LPub
 
(...) 0 // Idefinty part calledoutmodel.ldr 0 LPUB CALLOUT BEGIN 0 // Place the callout centered above the assembly 0 LPUB CALLOUT PLACEMENT TOP CENTER ASSEM 0 // Draw a pointer from right edge of callout to upper right of ASSEM 0 LPUB CALLOUT (...) (19 years ago, 30-May-05, to lugnet.cad)

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
    

Custom Search

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