Dear Antennavis maintainers (or upstream developers), I tested my fix with many input files. It corrects the visualization issue.
Try e.g. the attached input file. As you Load "D12K6_190.nec" and click on "Compute RF Field", those side lobes of radiation pattern should point dominantly in "up" and "down" directions, not in left and right. Left and right is due to Antennavis bug. To verify that those side lobes should point dominantly "up" and "down", try another antenna modeling code, "xnec2c": xnec2c -i D12K6_190.nec click "View"->"Radiation Pattern" and in the new window that shows up: click "Gain Pattern" and "View -> Gain Scaling -> Linear Voltage" xnec2c shows side lobes pointing "up" and "down" - the same way as Antennavis with my fix. Best, -Bohumir -- You received this bug notification because you are a member of Ubuntu ham developers, which is subscribed to antennavis in Ubuntu. https://bugs.launchpad.net/bugs/1083301 Title: wrong vis. routine: single dipole no rotational symmetry Status in “antennavis” package in Ubuntu: New Bug description: Dear Antennavis maintainers, I am Bohumir, co-author of http://yagi-logper.sourceforge.net/. Thanks for maintaining antennavis package. I am fond of antennavis. I believe I found a small bug in the antennavis visualization routines. It appears, for example, when you give Antennavis a single dipole as input, as attached. Result should be a rotationally symmetric around the axis of the dipole, but it is not. Following three lines, in PlotPoint() function, VisField.c file are wrong: glRotatef(azimuth, 0.0, 1.0, 0.0); glRotatef(elevation, 1.0, 0.0, 0.0); glTranslatef(0.0, 0.0, dist * POINT_DIST_SCALE); They should be replaced by: glRotatef(elevation, 0.0, 1.0, 0.0); glRotatef(azimuth, 0.0, 0.0, -1.0); glTranslatef(0.0, dist * POINT_DIST_SCALE, 0.0); The above change will fix the problem. I would be very glad if you can implement the above change. I can supply it in a form of patch if needed. Best, -Bohumir http://www.cavs.msstate.edu/directory/information.php?eid=69 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/antennavis/+bug/1083301/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-hams-devel Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntu-hams-devel More help : https://help.launchpad.net/ListHelp

