LDraw.org Discussion Forums
LPUB Callout Pointer syntax & bending - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html)
+--- Forum: LDraw Editors and Viewers (https://forums.ldraw.org/forum-11.html)
+--- Thread: LPUB Callout Pointer syntax & bending (/thread-22416.html)



LPUB Callout Pointer syntax & bending - Jörg Schwarzländer - 2017-10-09

Can someone please explain to me the meaning/syntax of the <intBase> Parameter in the both metas

0 !LPUB CALLOUT POINTER (TOP_LEFT|TOP_RIGHT|BOTTOM_LEFT|BOTTOM_RIGHT) <floatX> <floatY> <intBase>

0 !LPUB CALLOUT POINTER (TOP|BOTTOM|LEFT|RIGHT) <floatLoc> <floatX> <floatY> <intBase>

And in addition: Is there any chance to model a bended arrow/pointer? If so, how?

If I missed some sources bringing light in this, please point me to them.


RE: LPUB Callout Pointer syntax & bending - Bertrand Lequy - 2017-10-13

(2017-10-09, 20:12)Jörg Schwarzländer Wrote: Can someone please explain to me the meaning/syntax of the <intBase> Parameter in the both metas

0 !LPUB CALLOUT POINTER (TOP_LEFT|TOP_RIGHT|BOTTOM_LEFT|BOTTOM_RIGHT) <floatX> <floatY> <intBase>

0 !LPUB CALLOUT POINTER (TOP|BOTTOM|LEFT|RIGHT) <floatLoc> <floatX> <floatY> <intBase>

And in addition: Is there any chance to model a bended arrow/pointer? If so, how?

If I missed some sources bringing light in this, please point me to them.

Are you talking about LPub or LPub3D ?

I made some tests with LPub 3D and changing the <intBase> value did not seem to change anything. However when I moved the arrow or the callout in the graphic window, the parameter cames back to 0.

It may be an artefact of the old LPub or reserved paramater for future improvement. The better is to ask Trevor Sandy.


RE: LPUB Callout Pointer syntax & bending - Jörg Schwarzländer - 2017-10-16

(2017-10-13, 20:17)Bertrand Lequy Wrote:
(2017-10-09, 20:12)Jörg Schwarzländer Wrote: Can someone please explain to me the meaning/syntax of the <intBase> Parameter in the both metas

0 !LPUB CALLOUT POINTER (TOP_LEFT|TOP_RIGHT|BOTTOM_LEFT|BOTTOM_RIGHT) <floatX> <floatY> <intBase>

0 !LPUB CALLOUT POINTER (TOP|BOTTOM|LEFT|RIGHT) <floatLoc> <floatX> <floatY> <intBase>

And in addition: Is there any chance to model a bended arrow/pointer? If so, how?

If I missed some sources bringing light in this, please point me to them.

Are you talking about LPub or LPub3D ?

I made some tests with LPub 3D and changing the <intBase> value did not seem to change anything. However when I moved the arrow or the callout in the graphic window, the parameter cames back to 0.

It may be an artefact of the old LPub or reserved paramater for future improvement. The better is to ask Trevor Sandy.

I was testing and using LPub3D. I use linear projection of textures to model stickers. LPub3D is supporting this, only.

I did similar tests and couldn’t figure out the usage / meaning of this parameter, either. As I am looking for the “trick” to generate in LPub3D buckled pointers for call outs I wondered if this parameter is used for this. But it doesn’t seem so.

I anyone can help stating if in LPub3D buckled pointers (e.g. starting from the call out’s bottom downwards, than turn left to end at the model) are possible or NOT possible, this would be a great help.


RE: LPUB Callout Pointer syntax & bending - David Manley - 2017-10-16

(2017-10-16, 17:50)Jörg Schwarzländer Wrote: I was testing and using LPub3D. I use linear projection of textures to model stickers. LPub3D is supporting this, only.

I did similar tests and couldn’t figure out the usage / meaning of this parameter, either. As I am looking for the “trick” to generate in LPub3D buckled pointers for call outs I wondered if this parameter is used for this. But it doesn’t seem so.

I anyone can help stating if in LPub3D buckled pointers (e.g. starting from the call out’s bottom downwards, than turn left to end at the model) are possible or NOT possible, this would be a great help.

Hi Jörg,

I've had a quick look at an old thread on LUGNET and tried out a couple of things in LPub3D. I suspect that "bent" callout arrows are not possible via the CALLOUT command. While the <floatX> and <floatY> can be used to place the arrow head in a position relative within the target assembly (top left corner is 0.0, bottom right corner is 1.0, 1.0 - and the arrow head can be placed outside of the target image e.g. 1.5, 1.5), the arrow tail appears to be anchored to the callout border (e.g. the TOP, BOTTOM, etc).

I've had a quick 5 minute look at the source code for LPub3D to see if I could easily see what the intBase parameter is used for but wasn't able to easily identify its purpose.

A plus from looking at the source code for LPub3D. It looks like Trevor has been making some changes to the code in recent days. Fingers crossed, there may be an update in the pipeline.  Smile

Regards,

David


RE: LPUB Callout Pointer syntax & bending - Jörg Schwarzländer - 2017-10-17

(2017-10-16, 20:46)David Manley Wrote:
(2017-10-16, 17:50)Jörg Schwarzländer Wrote: I was testing and using LPub3D. I use linear projection of textures to model stickers. LPub3D is supporting this, only.

I did similar tests and couldn’t figure out the usage / meaning of this parameter, either. As I am looking for the “trick” to generate in LPub3D buckled pointers for call outs I wondered if this parameter is used for this. But it doesn’t seem so.

I anyone can help stating if in LPub3D buckled pointers (e.g. starting from the call out’s bottom downwards, than turn left to end at the model) are possible or NOT possible, this would be a great help.

Hi Jörg,

I've had a quick look at an old thread on LUGNET and tried out a couple of things in LPub3D. I suspect that "bent" callout arrows are not possible via the CALLOUT command. While the <floatX> and <floatY> can be used to place the arrow head in a position relative within the target assembly (top left corner is 0.0, bottom right corner is 1.0, 1.0 - and the arrow head can be placed outside of the target image e.g. 1.5, 1.5), the arrow tail appears to be anchored to the callout border (e.g. the TOP, BOTTOM, etc).

I've had a quick 5 minute look at the source code for LPub3D to see if I could easily see what the intBase parameter is used for but wasn't able to easily identify its purpose.

A plus from looking at the source code for LPub3D. It looks like Trevor has been making some changes to the code in recent days. Fingers crossed, there may be an update in the pipeline.  Smile

Regards,

David

Hi David.
 
Thank you for your effort – as well thank you for your effort Bertrand.
 
I know now all options and will find my way. And of course, I will keep my fingers crossed for all upcoming changes ?
 
I am thankful for all your hard work you spend to create all those tools I can use to have my fun in modeling models and creating the building instructions for them.
 
Best Regards
Jörg