View Single Post
  #2   Report Post  
Old March 25th 18, 06:39 PM posted to rec.radio.amateur.antenna
Jeff Liebermann[_2_] Jeff Liebermann[_2_] is offline
external usenet poster
 
First recorded activity by RadioBanter: Jun 2007
Posts: 1,336
Default exporting radiating patterns (using NEC for educational purposes)

On Sun, 25 Mar 2018 15:26:54 +0200, kristoff
wrote:

I know there is the possible to export radio-patterns into a format that
can easily to viewed in 3D?


Some antennas (not all are my designs) in 4NEC2:
http://802.11junk.com/jeffl/antennas/

I asked Arie Voors (author of 4NEC2) if he could provide such a
feature. I'll spare you the details, but basically the answer was no.
Try your luck in his forum:
https://www.tapatalk.com/groups/fornectoo/

What I had to do was:
- Screen grab the output using altPrtScr and paste to Irfanview.
- Resize to a standard JPG size.
- Save all the screen grabs to an empty directory.
- Use Jalbum to create a "photo album".
- From the starting image, typically named the same as the
antenna, save the NEC deck, and hand edit the HTML.

For example:
http://802.11junk.com/jeffl/antennas/AMOS-5-1090MHz/index.html
Notice that the NEC deck below the JPG of the main page:
Main page:
http://802.11junk.com/jeffl/antennas/AMOS-5-1090MHz/amos-5-1090.jpg
NEC deck:
http://802.11junk.com/jeffl/antennas/AMOS-5-1090MHz/amos-5-1090.nec
TXT file:
http://802.11junk.com/jeffl/antennas/AMOS-5-1090MHz/amos-5-1090.txt
in the form:
PRE
(NEC deck and comments
/PRE
I probably forgot something, but this should get you started. The
reason for the .txt file is that Jalbum would not display a text file,
only graphic images. This mess was the least disgusting workaround.

I had some ideas for creating a template for displaying 4NEC2 files
but never did anything with the idea. Need a project?

Jalbum:
https://jalbum.net/en/
Irfanview:
https://www.irfanview.com

You can also do animated GIF files with a series of antenna patterns:
Static:
http://802.11junk.com/jeffl/antennas/vertical-dipole/index.html
Animated:
http://802.11junk.com/jeffl/antennas/vertical-dipole/slides/animated-v-dipole.html

--
Jeff Liebermann
150 Felker St #D
http://www.LearnByDestroying.com
Santa Cruz CA 95060 http://802.11junk.com
Skype: JeffLiebermann AE6KS 831-336-2558