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 / 12887
12886  |  12888
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
Re: Callout a single part
Newsgroups: 
lugnet.cad
Date: 
Wed, 15 Jun 2005 18:46:31 GMT
Viewed: 
880 times
  
This would be useful for decorated parts that are positioned in the model
so
that you cannot see the pattern.
Or parts that are partially "hidden" or that you want to point out
specifically.
http://www.hccamsterdam.nl/brick/scans/04000/4482/053.jpg (step 12)
http://www.hccamsterdam.nl/brick/scans/04000/4482/052.jpg (step 9)

You could do this now with single parts by creating a submodel with the
one part
in it, use that submodel as a part and call that out.

And this works.  I use it often.

I agree that it does, but I think it is a bit too circuitous. I suppose this
is too difficult to implement in LPub
For now then making a submodel for each callout with only one part and no
step in it, doing it like this makes me (once again) happy :-) Forget I
asked.

I am still looking for a way to do step 8 and 11 in the same example as
above.

Why are step 8 and 11 unachievable in the current model of LPub using
sub-models
for callouts?  Why do you want a different way to to what you can already
do?

Because in step 8 and 11 you see 2 parts floating, but when placed in the
model, they are fixed.

You can do this by creating a submodel, but then you'll end up with 2
steps
(like in step 10)

Can you please explain, in hypothetical LPub meta commands that you want
to
express your solution in?

The LDraw code for step 8 would be something like this,

0 FILE sub8.ldr
1 6 0 0 0 0 0 1 0 1 0 -1 0 0 3023.DAT
1 0 0 -40 0 0 0 1 0 1 0 -1 0 0 3794.DAT
0 MLCAD ARROW 4 0 -16 10 0 0 1 -1 0 0 0 -1 0  6 2 12 20  0 30 1 2  16 16
0 MLCAD SKIP_BEGIN
3 4 0 -4 10 0 -16 13 0 -16 7
4 4 0 -16 11 0 -36 11 0 -36 9 0 -16 9
0 MLCAD SKIP_END
0 MLCAD ARROW 4 0 -16 -10 0 0 1 -1 0 0 0 -1 0  6 2 12 20  0 30 1 2  16 16
0 MLCAD SKIP_BEGIN
3 4 0 -4 -10 0 -16 -7 0 -16 -13
4 4 0 -16 -9 0 -36 -9 0 -36 -11 0 -16 -11
0 MLCAD SKIP_END
0

You can place this in the model, but then the plates will still be floating.
What I'd do now is this:

0 FILE sub8.ldr
1 6 0 0 0 0 0 1 0 1 0 -1 0 0 3023.DAT
0 BUFEXCHG A STORE
0 GHOST 1 0 0 -40 0 0 0 1 0 1 0 -1 0 0 3794.DAT
0 GHOST 0 MLCAD ARROW 4 0 -16 10 0 0 1 -1 0 0 0 -1 0  6 2 12 20  0 30 1 2
16 16
0 MLCAD SKIP_BEGIN
3 4 0 -4 10 0 -16 13 0 -16 7
4 4 0 -16 11 0 -36 11 0 -36 9 0 -16 9
0 MLCAD SKIP_END
0 GHOST 0 MLCAD ARROW 4 0 -16 -10 0 0 1 -1 0 0 0 -1 0  6 2 12 20  0 30 1 2
16 16
0 MLCAD SKIP_BEGIN
3 4 0 -4 -10 0 -16 -7 0 -16 -13
4 4 0 -16 -9 0 -36 -9 0 -36 -11 0 -16 -11
0 MLCAD SKIP_END
0 STEP
0 BUFEXCHG A RETRIEVE
0 LPUB PLI BEGIN IGN
1 0 0 -8 0 0 0 1 0 1 0 -1 0 0 3794.DAT
0 LPUB PLI END
0

And use that in the model like this:

0 LPUB CALLOUT BEGIN
0 LPUB CALLOUT PLACEMENT TOP CENTER ASSEM
0 LPUB CALLOUT POINTER BOTTOM 0.5 0.5 0.5
1 9 0 0 0 0 0 1 0 1 0 -1 0 0 sub8.ldr
0 LPUB CALLOUT END

But this will produce a callout with 2 steps, like step 10 in the example
image. I do not want that.

My hypothetical LPub meta command to achieve step 8 should be something like
this:

0 FILE sub8.ldr
1 6 0 0 0 0 0 1 0 1 0 -1 0 0 3023.DAT
0 BUFEXCHG A STORE
0 GHOST 1 0 0 -40 0 0 0 1 0 1 0 -1 0 0 3794.DAT
0 GHOST 0 MLCAD ARROW 4 0 -16 10 0 0 1 -1 0 0 0 -1 0  6 2 12 20  0 30 1 2
16 16
0 MLCAD SKIP_BEGIN
3 4 0 -4 10 0 -16 13 0 -16 7
4 4 0 -16 11 0 -36 11 0 -36 9 0 -16 9
0 MLCAD SKIP_END
0 GHOST 0 MLCAD ARROW 4 0 -16 -10 0 0 1 -1 0 0 0 -1 0  6 2 12 20  0 30 1 2
16 16
0 MLCAD SKIP_BEGIN
3 4 0 -4 -10 0 -16 -7 0 -16 -13
4 4 0 -16 -9 0 -36 -9 0 -36 -11 0 -16 -11
0 MLCAD SKIP_END
0 LPUB SUBMODEL_STEP BEGIN IGN
0 STEP
0 BUFEXCHG A RETRIEVE
0 LPUB PLI BEGIN IGN
1 0 0 -8 0 0 0 1 0 1 0 -1 0 0 3794.DAT
0 LPUB PLI END
0 LPUB SUBMODEL_STEP END
0

By placing LPUB SUBMODEL_STEP BEGIN IGN prior to the 0 STEP command in a
submodel, this will be ignored until the next LPUB SUBMODEL_STEP END meta
command.

Jaco



Message has 2 Replies:
  Re: Callout a single part
 
(...) Sorry, I meant: By placing LPUB SUBMODEL_STEP BEGIN IGN prior to the 0 STEP command in a submodel, the following steps will be ignored until the next LPUB SUBMODEL_STEP END meta command and not show in the callout. (19 years ago, 15-Jun-05, to lugnet.cad)
  Re: Callout a single part
 
(...) It just creates an alternate solution for something that I have already provided. (...) I'm wondering if this will work in your higher level model: 0 BUFFEXCHG A STORE 0 LPUB CALLOUT BEGIN 1 0 0 0 0 1 0 0 0 1 0 0 0 1 sub8callout.ldr 0 LPUB (...) (19 years ago, 15-Jun-05, to lugnet.cad)

Message is in Reply To:
  Re: Callout a single part
 
(...) And this works. I use it often. (...) Why are step 8 and 11 unachievable in the current model of LPub using sub-models for callouts? Why do you want a different way to to what you can already do? (...) Can you please explain, in hypothetical (...) (19 years ago, 15-Jun-05, to lugnet.cad)

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
    

Custom Search

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