From 38e5977bb141b68cd61827955b1da2b01322d9af Mon Sep 17 00:00:00 2001 From: Ryan Malloy Date: Mon, 9 Feb 2026 12:21:59 -0700 Subject: [PATCH] Fix RP card theta range for correct 3D pattern rendering MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed theta_start from -90 to 0 in all RP cards. The standard NEC2 convention uses theta 0-180 (zenith to nadir). Using -90 caused cos(±90°)=0, making z=0 at pattern edges and rendering patterns flat. --- beam/hb9cv.nec | 2 +- beam/log-periodic.nec | 2 +- beam/yagi-3el.nec | 2 +- beam/yagi-5el.nec | 2 +- loop/delta-loop.nec | 2 +- loop/loop-quad.nec | 2 +- simple/dipole-20m.nec | 2 +- simple/folded-dipole.nec | 2 +- simple/inverted-v.nec | 2 +- simple/off-center-fed.nec | 2 +- vertical/5-8-wave-gp.nec | 2 +- vertical/ground-plane.nec | 2 +- vertical/j-pole.nec | 2 +- vertical/vertical-quarter.nec | 2 +- wideband/collinear-2el.nec | 2 +- wideband/discone.nec | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/beam/hb9cv.nec b/beam/hb9cv.nec index b0e09b0..3c5894b 100644 --- a/beam/hb9cv.nec +++ b/beam/hb9cv.nec @@ -13,5 +13,5 @@ GE 0 EK EX 0 3 2 0 1 0 FR 0 1 0 0 146.0 0 -RP 0 37 73 1000 -90 0 5 5 +RP 0 37 73 1000 0 0 5 5 EN diff --git a/beam/log-periodic.nec b/beam/log-periodic.nec index 8fe10fe..c5a554d 100644 --- a/beam/log-periodic.nec +++ b/beam/log-periodic.nec @@ -22,5 +22,5 @@ TL 2 4 3 5 50 0.12 TL 3 5 4 6 50 0.14 TL 4 6 5 7 50 0.16 FR 0 1 0 0 14.2 0 -RP 0 37 73 1000 -90 0 5 5 +RP 0 37 73 1000 0 0 5 5 EN diff --git a/beam/yagi-3el.nec b/beam/yagi-3el.nec index 31ecd73..ce0f506 100644 --- a/beam/yagi-3el.nec +++ b/beam/yagi-3el.nec @@ -12,5 +12,5 @@ GE 0 EK EX 0 1 11 0 1 0 FR 0 1 0 0 146.0 0 -RP 0 37 73 1000 -90 0 5 5 +RP 0 37 73 1000 0 0 5 5 EN diff --git a/beam/yagi-5el.nec b/beam/yagi-5el.nec index 9c2e7a5..56c48ba 100644 --- a/beam/yagi-5el.nec +++ b/beam/yagi-5el.nec @@ -14,5 +14,5 @@ GE 0 EK EX 0 2 11 0 1 0 FR 0 1 0 0 146.0 0 -RP 0 37 73 1000 -90 0 5 5 +RP 0 37 73 1000 0 0 5 5 EN diff --git a/loop/delta-loop.nec b/loop/delta-loop.nec index d3860b4..aa43b1a 100644 --- a/loop/delta-loop.nec +++ b/loop/delta-loop.nec @@ -12,5 +12,5 @@ GE 0 EK EX 0 1 8 0 1 0 FR 0 1 0 0 18.1 0 -RP 0 37 73 1000 -90 0 5 5 +RP 0 37 73 1000 0 0 5 5 EN diff --git a/loop/loop-quad.nec b/loop/loop-quad.nec index 176bcde..a704130 100644 --- a/loop/loop-quad.nec +++ b/loop/loop-quad.nec @@ -13,5 +13,5 @@ GE 0 EK EX 0 1 6 0 1 0 FR 0 1 0 0 21.2 0 -RP 0 37 73 1000 -90 0 5 5 +RP 0 37 73 1000 0 0 5 5 EN diff --git a/simple/dipole-20m.nec b/simple/dipole-20m.nec index 1ab1f50..fe646a8 100644 --- a/simple/dipole-20m.nec +++ b/simple/dipole-20m.nec @@ -10,5 +10,5 @@ GE 0 EK EX 0 1 11 0 1 0 FR 0 1 0 0 14.1 0 -RP 0 37 73 1000 -90 0 5 5 +RP 0 37 73 1000 0 0 5 5 EN diff --git a/simple/folded-dipole.nec b/simple/folded-dipole.nec index 04bba15..a6bde4c 100644 --- a/simple/folded-dipole.nec +++ b/simple/folded-dipole.nec @@ -13,5 +13,5 @@ GE 0 EK EX 0 1 11 0 1 0 FR 0 1 0 0 28.5 0 -RP 0 37 73 1000 -90 0 5 5 +RP 0 37 73 1000 0 0 5 5 EN diff --git a/simple/inverted-v.nec b/simple/inverted-v.nec index 2f60d87..224f4fa 100644 --- a/simple/inverted-v.nec +++ b/simple/inverted-v.nec @@ -12,5 +12,5 @@ EK EX 0 1 11 0 1 0 GN 2 0 0 0 13 0.005 FR 0 1 0 0 7.1 0 -RP 0 37 73 1000 -90 0 5 5 +RP 0 37 73 1000 0 0 5 5 EN diff --git a/simple/off-center-fed.nec b/simple/off-center-fed.nec index 26d9901..4e98dd5 100644 --- a/simple/off-center-fed.nec +++ b/simple/off-center-fed.nec @@ -11,5 +11,5 @@ GE 0 EK EX 0 1 9 0 1 0 FR 0 1 0 0 7.1 0 -RP 0 37 73 1000 -90 0 5 5 +RP 0 37 73 1000 0 0 5 5 EN diff --git a/vertical/5-8-wave-gp.nec b/vertical/5-8-wave-gp.nec index c2c92ea..3cb27c0 100644 --- a/vertical/5-8-wave-gp.nec +++ b/vertical/5-8-wave-gp.nec @@ -16,5 +16,5 @@ LD 4 1 1 1 10 0 0 EX 0 1 1 0 1 0 GN 2 0 0 0 13 0.005 FR 0 1 0 0 146.0 0 -RP 0 37 73 1000 -90 0 5 5 +RP 0 37 73 1000 0 0 5 5 EN diff --git a/vertical/ground-plane.nec b/vertical/ground-plane.nec index 4225492..d796d98 100644 --- a/vertical/ground-plane.nec +++ b/vertical/ground-plane.nec @@ -14,5 +14,5 @@ GE 0 EK EX 0 1 1 0 1 0 FR 0 1 0 0 146.0 0 -RP 0 37 73 1000 -90 0 5 5 +RP 0 37 73 1000 0 0 5 5 EN diff --git a/vertical/j-pole.nec b/vertical/j-pole.nec index a41525c..90638c6 100644 --- a/vertical/j-pole.nec +++ b/vertical/j-pole.nec @@ -12,5 +12,5 @@ GE 0 EK EX 0 2 1 0 1 0 FR 0 1 0 0 146.0 0 -RP 0 37 73 1000 -90 0 5 5 +RP 0 37 73 1000 0 0 5 5 EN diff --git a/vertical/vertical-quarter.nec b/vertical/vertical-quarter.nec index de646e9..c0e860a 100644 --- a/vertical/vertical-quarter.nec +++ b/vertical/vertical-quarter.nec @@ -15,5 +15,5 @@ EK EX 0 1 1 0 1 0 GN 2 0 0 0 13 0.005 FR 0 1 0 0 7.0 0 -RP 0 37 73 1000 -90 0 5 5 +RP 0 37 73 1000 0 0 5 5 EN diff --git a/wideband/collinear-2el.nec b/wideband/collinear-2el.nec index 9172c05..0ce88c0 100644 --- a/wideband/collinear-2el.nec +++ b/wideband/collinear-2el.nec @@ -12,5 +12,5 @@ GE 0 EK EX 0 3 3 0 1 0 FR 0 1 0 0 300.0 0 -RP 0 37 73 1000 -90 0 5 5 +RP 0 37 73 1000 0 0 5 5 EN diff --git a/wideband/discone.nec b/wideband/discone.nec index 285cb18..133918f 100644 --- a/wideband/discone.nec +++ b/wideband/discone.nec @@ -25,5 +25,5 @@ GW 17 20 0.2121 -0.5446 -0.2121 0.0000 -0.0250 0.0000 .00300000 GE 0 EX 0 1 1 00 1.0000 0.0000 FR 0 1 0 0 50 0 -RP 0 37 73 1000 -90 0 5 5 +RP 0 37 73 1000 0 0 5 5 EN