I tried to find if anyone else had tried to do this and found this forum post, which seemed to indicate that you could view the visualization of the antenna file (.ant
) that Ubiquiti publishes using an old program called Octave, but I wasn't able to get that running on neither Windows nor Mac.
That post did give a hint that the ant
files are using Radio Mobile's V3 format, though it was an assumption by the original poster.
Important notes to pull from the V3 format docs:
The antenna file formatted for V3 has 720 lines.
The first 360 lines describe the horizontal plane of the radiation pattern. Starting at the front beam from 0 to 359 degrees. The horizontal plane of the pattern is level.
The second 360 lines describe the vertical plane of the radiation pattern.
The description of the vertical plane starts at +90 degrees where 0 degrees is level. See the blue arrow in the diagram below. The vertical angle starts at +90 degrees on line 361. The order is +90, 0, -90,-180, +180,+89.
Not being super familiar with the subject matter, I turned to ChatGPT and after lots of trial and error I think I was able to get it to spit out a Python script that seems to generate what look like accurate 3D visuals. For example, in the image of the U7 In-Wall, there's a big dead zone right behind the AP, which can be corroborated with what the UI Design Tool shows.
If you're familiar with any of these subjects (Python visualization, cartesian math, antenna file parsing, etc), please chime in with comments/suggestions!
You need to change the name of the .ant
file in the main
function (and add a file path if yours isn't in the same directory as the script).
Install plotly
and numpy
with pip and then run the script:
pip install plotly numpy
python antenna_visualizer.py