create special symbol

Added by Maria about 1 year ago

Dear all,
I am trying to build the symbol I am attaching (an antenna ). I guess I can do it combining the triangle with the lcrescent symbol.

But I get a moon superimposed to a triangle and I do not really how to move it. I tried many options.

Can anybody help me? I do not understand how this really works.

This was my best and clear try.

-0.433012701892 -0.25 M
0.433012701892 -0.25 D
0.0 0.4 D
0.25 0.5 M
0.25 0 1 90 270 A
0.538675135 0 1.154700538 240 120 A

Regards
Maria EUgenia

antenna.png (16.7 KB)


Replies (6)

RE: create special symbol - Added by Kristof about 1 year ago

Hello Maria,

would you mind attaching a screenshot of your current symbol? This makes it easier to see how far you've got already and where you might need some help.

All the best,
Kristof

RE: create special symbol - Added by Maria about 1 year ago

Yes,
Here is what I get when I try to plot it.
Regards

antenna.jpg (391 KB)

RE: create special symbol - Added by Kristof about 1 year ago

Hello Maria,

thank you for the screenshot. Now I see your problem. For tilting your antenna dish you need R (see the docs under 28.2.3 Macro commands) to rotate your symbol canvas. Then some fancy offsets in x- and y-direction to position the dish over the top of the base and you are all set.

I hope this helps a bit to understand a bit more of the very powerful custom symbol mechanics. Please see my take on your symbol below:

# Antenna Symbol - 0|0 is in the middle of the triangle base line
#X            Y            size  a1             a2             rot  sym outline        fill
 0            0.125        0.5                                      t   -W0.02,black   -Gred
                                                               30   R
 0.54898992   0.85984632                                            M   -W0.02,black   -Gred
 0.72         0.39         1     110            250                 A
 1.31661251   0.39         1.8   211.46996069   148.53003931        A

Basically I plot a triangle shifted a bit up so the symbol origin (0|0) is in the middle of the triangles base line and construct the dish similar to lcrescent (I didn't like the look of lcrescent so I build my own). Then I inserted the R above the dish to rotate the canvas 30° counter-clockwise. Finally it took some trial & error to displace the dish until it looked descent.

Let me know what you think.

All the best,
Kristof

antenna_new.png (24 KB)

RE: create special symbol - Added by Maria about 1 year ago

Dear Kristof,
thanks for your time. When I plot it, I do not see the same way you show in the picture, but it is the antenna I want.
I understood a little bit thanks to your help and made a little "update".

Thanks a lot! a best regards
Maria Eugenia
—--—--—--—--—--—-
  1. Antenna Symbol - 0|0 is in the middle of the triangle base line
    #X Y size a1 a2 rot sym outline fill
    0 0.20 0.5 t -W0.02,black
    30 R
    0.54898992 0.85984632 M -W0.02,black
    0.72 0.39 1 110 250 A
    1.31661251 0.39 1.8 211.46996069 148.53003931 A
    0.8 0.4 M -W0.02,black
    0.54898992 0.85984632 D
    0.8 0.4 M -W0.02,black
    0.54898992 -0.07 D

RE: create special symbol - Added by Kristof about 1 year ago

Hello Maria,

glad you liked it. Just out of curiosity - when you plot my symbol, what do you get? What is different to my screenshot (besides the grey background I suppose)?

All the best,
Kristof

RE: create special symbol - Added by Maria about 1 year ago

Dear Kristof,
I see the same image as that you have sent. It was my mistake. I introduced a -G option and then I saw everything in red.
Thanks!
Maria Eugenia

antenna2.ps (22.1 KB)

(1-6/6)