Canadian TV, Computing and Home Theatre Forums banner
1261 - 1280 of 1309 Posts

·
Registered
Joined
·
5,191 Posts
been playin around with this version a little bit in linux
https://www.qsl.net/5b4az/pkg/nec2/xnec2c/doc/xnec2c.html#Multithread


It does do some multi-threading. for example 'xnec2c -j8 mclapp.nec' will run 8 threads when calculating
ur mclapp threading test/baseline model.

Of no use for piping in to scripts, OPT or anything. But seems OK for what it does do, once ya get used to it.
It doesn't recognize SY either, so what I've been doing to get a model compatible with it is run nikiml's nec_eval
pyton scripts first, then take a look at the nec___.inp that is located in the 'output' directory.

 

·
Registered
Joined
·
5,191 Posts
Swapped the SL 30-2475 to 30-2476 that we had modeled... swap was Saturday, May 18th.
Some test results from the distant CFTO RF 8 on the CN Tower at my house in the presence of the local RF 7 since the CFTO retune from RF 9 to RF 8 on April 28th. The absence of anything but 'strength' showing up on RF 8 ~April 28th is when CFTO was still on RF 9, thus no decode on RF8 back then.


Not shown in the legend, but the purple lines are 'missed packets' as seen by my hdhomerun. Focus on the time since Saturday the 18th and you'll notice a LOT fewer 'missed packets' this past week, indicating the new antenna is performing better as expected than the original antenna was. My conclusion, it does 'feel like' a 1 to 2 dB improvement overall as the predictions suggested, and is definitely worth the extra couple bucks.



 

·
Registered
Joined
·
810 Posts
Started playing around with 4nec2 and modeled a horizontal stack of this: UHF SBGH + 2ea 36"x18" Screen Grid Refl.. Seems like it worked but I'm not sure if I'm doing it properly. For the segments part of the GW card, I'm not sure how many segments to use, I just kept changing the amount until I didn't get anymore errors/warnings. I'm not sure what to put for the radius of the GW "source", the radius of the CM94444 balun wires? For the LD card, is this for the conductivity of the type of wire used for the GH elements, like aluminum? For the RF combiner mod I pasted the EX cards from this: Horiz-Stack 2xFF4 + DoubleAng Refl - RFC.

Here's the nec code:

Code:
CM GH10 by nikiml, plus 36-in H x 32-in W Screen Grid Reflector, mods by holl_ands, 3Sept2017
CM   holl_ands added Screen Grid Reflector, CMD--EVAL, FR & RP Statements. AGT=0.999 (0 dB). All Metric.
CM   SCREEN GRID REFLECTOR: 2 ea 36-in H x 18-in W, 1-in H x 2-in W GRID, 0.25-in CENTER GAP, AWG12:
CM
CMD--EVAL --auto-segmentation=0 --char-impedance=300 --num-cores=12
CMD--EVAL -s(174,6,8) -s(470,12,29) --total-gain --publish
CE
'
' GH horizontal stack with hardware cloth reflectors
' 0.5" separation between all reflectors
' 4" separation between reflectors and GH elements
' AWG10 aluminum wire for GH elements
' AWG19 galvanized hardware cloth for reflectors (0.5"x0.5", vertical wires excluded from nec file)
' RF combiner mod
'
'	#	seg	x1	y1	z1	x2	y2	z2	radius
' LEFT SIDE LEFT ZIG-ZAGS:
GW	1	7	0	-0.762	0.4119	0	-0.6293	0.4119	0.001294
GW	2	7	0	-0.6293	0.4119	0	-0.5016	0.2842	0.001294
GW	3	7	0	-0.5016	0.2842	0	-0.6282	0.1576	0.001294
GW	4	9	0	-0.6282	0.1576	0	-0.4706	0	0.001294
GW	5	9	0	-0.4706	0	0	-0.6282	-0.1576	0.001294
GW	6	7	0	-0.6282	-0.1576	0	-0.5016	-0.2842	0.001294
GW	7	7	0	-0.5016	-0.2842	0	-0.6293	-0.4119	0.001294
GW	8	7	0	-0.6293	-0.4119	0	-0.762	-0.4119	0.001294
' LEFT SIDE RIGHT ZIG-ZAGS:
GW	9	7	0	-0.0762	0.4119	0	-0.2089	0.4119	0.001294
GW	10	7	0	-0.2089	0.4119	0	-0.3366	0.2842	0.001294
GW	11	7	0	-0.3366	0.2842	0	-0.21	0.1576	0.001294
GW	12	9	0	-0.21	0.1576	0	-0.3676	0	0.001294
GW	13	9	0	-0.3676	0	0	-0.21	-0.1576	0.001294
GW	14	7	0	-0.21	-0.1576	0	-0.3366	-0.2842	0.001294
GW	15	7	0	-0.3366	-0.2842	0	-0.2089	-0.4119	0.001294
GW	16	7	0	-0.2089	-0.4119	0	-0.0762	-0.4119	0.001294
' LEFT SIDE LEFT SCREEN:
GW	17	8	-0.1016	-0.8318	0.4572	-0.1016	-0.4254	0.4572	0.000912
GW	18	8	-0.1016	-0.8318	0.4445	-0.1016	-0.4254	0.4445	0.000912
GW	19	8	-0.1016	-0.8318	0.4318	-0.1016	-0.4254	0.4318	0.000912
GW	20	8	-0.1016	-0.8318	0.4191	-0.1016	-0.4254	0.4191	0.000912
GW	21	8	-0.1016	-0.8318	0.4064	-0.1016	-0.4254	0.4064	0.000912
GW	22	8	-0.1016	-0.8318	0.3937	-0.1016	-0.4254	0.3937	0.000912
GW	23	8	-0.1016	-0.8318	0.381	-0.1016	-0.4254	0.381	0.000912
GW	24	8	-0.1016	-0.8318	0.3683	-0.1016	-0.4254	0.3683	0.000912
GW	25	8	-0.1016	-0.8318	0.3556	-0.1016	-0.4254	0.3556	0.000912
GW	26	8	-0.1016	-0.8318	0.3429	-0.1016	-0.4254	0.3429	0.000912
GW	27	8	-0.1016	-0.8318	0.3302	-0.1016	-0.4254	0.3302	0.000912
GW	28	8	-0.1016	-0.8318	0.3175	-0.1016	-0.4254	0.3175	0.000912
GW	29	8	-0.1016	-0.8318	0.3048	-0.1016	-0.4254	0.3048	0.000912
GW	30	8	-0.1016	-0.8318	0.2921	-0.1016	-0.4254	0.2921	0.000912
GW	31	8	-0.1016	-0.8318	0.2794	-0.1016	-0.4254	0.2794	0.000912
GW	32	8	-0.1016	-0.8318	0.2667	-0.1016	-0.4254	0.2667	0.000912
GW	33	8	-0.1016	-0.8318	0.254	-0.1016	-0.4254	0.254	0.000912
GW	34	8	-0.1016	-0.8318	0.2413	-0.1016	-0.4254	0.2413	0.000912
GW	35	8	-0.1016	-0.8318	0.2286	-0.1016	-0.4254	0.2286	0.000912
GW	36	8	-0.1016	-0.8318	0.2159	-0.1016	-0.4254	0.2159	0.000912
GW	37	8	-0.1016	-0.8318	0.2032	-0.1016	-0.4254	0.2032	0.000912
GW	38	8	-0.1016	-0.8318	0.1905	-0.1016	-0.4254	0.1905	0.000912
GW	39	8	-0.1016	-0.8318	0.1778	-0.1016	-0.4254	0.1778	0.000912
GW	40	8	-0.1016	-0.8318	0.1651	-0.1016	-0.4254	0.1651	0.000912
GW	41	8	-0.1016	-0.8318	0.1524	-0.1016	-0.4254	0.1524	0.000912
GW	42	8	-0.1016	-0.8318	0.1397	-0.1016	-0.4254	0.1397	0.000912
GW	43	8	-0.1016	-0.8318	0.127	-0.1016	-0.4254	0.127	0.000912
GW	44	8	-0.1016	-0.8318	0.1143	-0.1016	-0.4254	0.1143	0.000912
GW	45	8	-0.1016	-0.8318	0.1016	-0.1016	-0.4254	0.1016	0.000912
GW	46	8	-0.1016	-0.8318	0.0889	-0.1016	-0.4254	0.0889	0.000912
GW	47	8	-0.1016	-0.8318	0.0762	-0.1016	-0.4254	0.0762	0.000912
GW	48	8	-0.1016	-0.8318	0.0635	-0.1016	-0.4254	0.0635	0.000912
GW	49	8	-0.1016	-0.8318	0.0508	-0.1016	-0.4254	0.0508	0.000912
GW	50	8	-0.1016	-0.8318	0.0381	-0.1016	-0.4254	0.0381	0.000912
GW	51	8	-0.1016	-0.8318	0.0254	-0.1016	-0.4254	0.0254	0.000912
GW	52	8	-0.1016	-0.8318	0.0127	-0.1016	-0.4254	0.0127	0.000912
GW	53	8	-0.1016	-0.8318	0	-0.1016	-0.4254	0	0.000912
GW	54	8	-0.1016	-0.8318	-0.0127	-0.1016	-0.4254	-0.0127	0.000912
GW	55	8	-0.1016	-0.8318	-0.0254	-0.1016	-0.4254	-0.0254	0.000912
GW	56	8	-0.1016	-0.8318	-0.0381	-0.1016	-0.4254	-0.0381	0.000912
GW	57	8	-0.1016	-0.8318	-0.0508	-0.1016	-0.4254	-0.0508	0.000912
GW	58	8	-0.1016	-0.8318	-0.0635	-0.1016	-0.4254	-0.0635	0.000912
GW	59	8	-0.1016	-0.8318	-0.0762	-0.1016	-0.4254	-0.0762	0.000912
GW	60	8	-0.1016	-0.8318	-0.0889	-0.1016	-0.4254	-0.0889	0.000912
GW	61	8	-0.1016	-0.8318	-0.1016	-0.1016	-0.4254	-0.1016	0.000912
GW	62	8	-0.1016	-0.8318	-0.1143	-0.1016	-0.4254	-0.1143	0.000912
GW	63	8	-0.1016	-0.8318	-0.127	-0.1016	-0.4254	-0.127	0.000912
GW	64	8	-0.1016	-0.8318	-0.1397	-0.1016	-0.4254	-0.1397	0.000912
GW	65	8	-0.1016	-0.8318	-0.1524	-0.1016	-0.4254	-0.1524	0.000912
GW	66	8	-0.1016	-0.8318	-0.1651	-0.1016	-0.4254	-0.1651	0.000912
GW	67	8	-0.1016	-0.8318	-0.1778	-0.1016	-0.4254	-0.1778	0.000912
GW	68	8	-0.1016	-0.8318	-0.1905	-0.1016	-0.4254	-0.1905	0.000912
GW	69	8	-0.1016	-0.8318	-0.2032	-0.1016	-0.4254	-0.2032	0.000912
GW	70	8	-0.1016	-0.8318	-0.2159	-0.1016	-0.4254	-0.2159	0.000912
GW	71	8	-0.1016	-0.8318	-0.2286	-0.1016	-0.4254	-0.2286	0.000912
GW	72	8	-0.1016	-0.8318	-0.2413	-0.1016	-0.4254	-0.2413	0.000912
GW	73	8	-0.1016	-0.8318	-0.254	-0.1016	-0.4254	-0.254	0.000912
GW	74	8	-0.1016	-0.8318	-0.2667	-0.1016	-0.4254	-0.2667	0.000912
GW	75	8	-0.1016	-0.8318	-0.2794	-0.1016	-0.4254	-0.2794	0.000912
GW	76	8	-0.1016	-0.8318	-0.2921	-0.1016	-0.4254	-0.2921	0.000912
GW	77	8	-0.1016	-0.8318	-0.3048	-0.1016	-0.4254	-0.3048	0.000912
GW	78	8	-0.1016	-0.8318	-0.3175	-0.1016	-0.4254	-0.3175	0.000912
GW	79	8	-0.1016	-0.8318	-0.3302	-0.1016	-0.4254	-0.3302	0.000912
GW	80	8	-0.1016	-0.8318	-0.3429	-0.1016	-0.4254	-0.3429	0.000912
GW	81	8	-0.1016	-0.8318	-0.3556	-0.1016	-0.4254	-0.3556	0.000912
GW	82	8	-0.1016	-0.8318	-0.3683	-0.1016	-0.4254	-0.3683	0.000912
GW	83	8	-0.1016	-0.8318	-0.381	-0.1016	-0.4254	-0.381	0.000912
GW	84	8	-0.1016	-0.8318	-0.3937	-0.1016	-0.4254	-0.3937	0.000912
GW	85	8	-0.1016	-0.8318	-0.4064	-0.1016	-0.4254	-0.4064	0.000912
GW	86	8	-0.1016	-0.8318	-0.4191	-0.1016	-0.4254	-0.4191	0.000912
GW	87	8	-0.1016	-0.8318	-0.4318	-0.1016	-0.4254	-0.4318	0.000912
GW	88	8	-0.1016	-0.8318	-0.4445	-0.1016	-0.4254	-0.4445	0.000912
GW	89	8	-0.1016	-0.8318	-0.4572	-0.1016	-0.4254	-0.4572	0.000912
' LEFT SIDE RIGHT SCREEN:
GW	90	8	-0.1016	-0.0064	0.4572	-0.1016	-0.4128	0.4572	0.000912
GW	91	8	-0.1016	-0.0064	0.4445	-0.1016	-0.4128	0.4445	0.000912
GW	92	8	-0.1016	-0.0064	0.4318	-0.1016	-0.4128	0.4318	0.000912
GW	93	8	-0.1016	-0.0064	0.4191	-0.1016	-0.4128	0.4191	0.000912
GW	94	8	-0.1016	-0.0064	0.4064	-0.1016	-0.4128	0.4064	0.000912
GW	95	8	-0.1016	-0.0064	0.3937	-0.1016	-0.4128	0.3937	0.000912
GW	96	8	-0.1016	-0.0064	0.381	-0.1016	-0.4128	0.381	0.000912
GW	97	8	-0.1016	-0.0064	0.3683	-0.1016	-0.4128	0.3683	0.000912
GW	98	8	-0.1016	-0.0064	0.3556	-0.1016	-0.4128	0.3556	0.000912
GW	99	8	-0.1016	-0.0064	0.3429	-0.1016	-0.4128	0.3429	0.000912
GW	100	8	-0.1016	-0.0064	0.3302	-0.1016	-0.4128	0.3302	0.000912
GW	101	8	-0.1016	-0.0064	0.3175	-0.1016	-0.4128	0.3175	0.000912
GW	102	8	-0.1016	-0.0064	0.3048	-0.1016	-0.4128	0.3048	0.000912
GW	103	8	-0.1016	-0.0064	0.2921	-0.1016	-0.4128	0.2921	0.000912
GW	104	8	-0.1016	-0.0064	0.2794	-0.1016	-0.4128	0.2794	0.000912
GW	105	8	-0.1016	-0.0064	0.2667	-0.1016	-0.4128	0.2667	0.000912
GW	106	8	-0.1016	-0.0064	0.254	-0.1016	-0.4128	0.254	0.000912
GW	107	8	-0.1016	-0.0064	0.2413	-0.1016	-0.4128	0.2413	0.000912
GW	108	8	-0.1016	-0.0064	0.2286	-0.1016	-0.4128	0.2286	0.000912
GW	109	8	-0.1016	-0.0064	0.2159	-0.1016	-0.4128	0.2159	0.000912
GW	110	8	-0.1016	-0.0064	0.2032	-0.1016	-0.4128	0.2032	0.000912
GW	111	8	-0.1016	-0.0064	0.1905	-0.1016	-0.4128	0.1905	0.000912
GW	112	8	-0.1016	-0.0064	0.1778	-0.1016	-0.4128	0.1778	0.000912
GW	113	8	-0.1016	-0.0064	0.1651	-0.1016	-0.4128	0.1651	0.000912
GW	114	8	-0.1016	-0.0064	0.1524	-0.1016	-0.4128	0.1524	0.000912
GW	115	8	-0.1016	-0.0064	0.1397	-0.1016	-0.4128	0.1397	0.000912
GW	116	8	-0.1016	-0.0064	0.127	-0.1016	-0.4128	0.127	0.000912
GW	117	8	-0.1016	-0.0064	0.1143	-0.1016	-0.4128	0.1143	0.000912
GW	118	8	-0.1016	-0.0064	0.1016	-0.1016	-0.4128	0.1016	0.000912
GW	119	8	-0.1016	-0.0064	0.0889	-0.1016	-0.4128	0.0889	0.000912
GW	120	8	-0.1016	-0.0064	0.0762	-0.1016	-0.4128	0.0762	0.000912
GW	121	8	-0.1016	-0.0064	0.0635	-0.1016	-0.4128	0.0635	0.000912
GW	122	8	-0.1016	-0.0064	0.0508	-0.1016	-0.4128	0.0508	0.000912
GW	123	8	-0.1016	-0.0064	0.0381	-0.1016	-0.4128	0.0381	0.000912
GW	124	8	-0.1016	-0.0064	0.0254	-0.1016	-0.4128	0.0254	0.000912
GW	125	8	-0.1016	-0.0064	0.0127	-0.1016	-0.4128	0.0127	0.000912
GW	126	8	-0.1016	-0.0064	0	-0.1016	-0.4128	0	0.000912
GW	127	8	-0.1016	-0.0064	-0.0127	-0.1016	-0.4128	-0.0127	0.000912
GW	128	8	-0.1016	-0.0064	-0.0254	-0.1016	-0.4128	-0.0254	0.000912
GW	129	8	-0.1016	-0.0064	-0.0381	-0.1016	-0.4128	-0.0381	0.000912
GW	130	8	-0.1016	-0.0064	-0.0508	-0.1016	-0.4128	-0.0508	0.000912
GW	131	8	-0.1016	-0.0064	-0.0635	-0.1016	-0.4128	-0.0635	0.000912
GW	132	8	-0.1016	-0.0064	-0.0762	-0.1016	-0.4128	-0.0762	0.000912
GW	133	8	-0.1016	-0.0064	-0.0889	-0.1016	-0.4128	-0.0889	0.000912
GW	134	8	-0.1016	-0.0064	-0.1016	-0.1016	-0.4128	-0.1016	0.000912
GW	135	8	-0.1016	-0.0064	-0.1143	-0.1016	-0.4128	-0.1143	0.000912
GW	136	8	-0.1016	-0.0064	-0.127	-0.1016	-0.4128	-0.127	0.000912
GW	137	8	-0.1016	-0.0064	-0.1397	-0.1016	-0.4128	-0.1397	0.000912
GW	138	8	-0.1016	-0.0064	-0.1524	-0.1016	-0.4128	-0.1524	0.000912
GW	139	8	-0.1016	-0.0064	-0.1651	-0.1016	-0.4128	-0.1651	0.000912
GW	140	8	-0.1016	-0.0064	-0.1778	-0.1016	-0.4128	-0.1778	0.000912
GW	141	8	-0.1016	-0.0064	-0.1905	-0.1016	-0.4128	-0.1905	0.000912
GW	142	8	-0.1016	-0.0064	-0.2032	-0.1016	-0.4128	-0.2032	0.000912
GW	143	8	-0.1016	-0.0064	-0.2159	-0.1016	-0.4128	-0.2159	0.000912
GW	144	8	-0.1016	-0.0064	-0.2286	-0.1016	-0.4128	-0.2286	0.000912
GW	145	8	-0.1016	-0.0064	-0.2413	-0.1016	-0.4128	-0.2413	0.000912
GW	146	8	-0.1016	-0.0064	-0.254	-0.1016	-0.4128	-0.254	0.000912
GW	147	8	-0.1016	-0.0064	-0.2667	-0.1016	-0.4128	-0.2667	0.000912
GW	148	8	-0.1016	-0.0064	-0.2794	-0.1016	-0.4128	-0.2794	0.000912
GW	149	8	-0.1016	-0.0064	-0.2921	-0.1016	-0.4128	-0.2921	0.000912
GW	150	8	-0.1016	-0.0064	-0.3048	-0.1016	-0.4128	-0.3048	0.000912
GW	151	8	-0.1016	-0.0064	-0.3175	-0.1016	-0.4128	-0.3175	0.000912
GW	152	8	-0.1016	-0.0064	-0.3302	-0.1016	-0.4128	-0.3302	0.000912
GW	153	8	-0.1016	-0.0064	-0.3429	-0.1016	-0.4128	-0.3429	0.000912
GW	154	8	-0.1016	-0.0064	-0.3556	-0.1016	-0.4128	-0.3556	0.000912
GW	155	8	-0.1016	-0.0064	-0.3683	-0.1016	-0.4128	-0.3683	0.000912
GW	156	8	-0.1016	-0.0064	-0.381	-0.1016	-0.4128	-0.381	0.000912
GW	157	8	-0.1016	-0.0064	-0.3937	-0.1016	-0.4128	-0.3937	0.000912
GW	158	8	-0.1016	-0.0064	-0.4064	-0.1016	-0.4128	-0.4064	0.000912
GW	159	8	-0.1016	-0.0064	-0.4191	-0.1016	-0.4128	-0.4191	0.000912
GW	160	8	-0.1016	-0.0064	-0.4318	-0.1016	-0.4128	-0.4318	0.000912
GW	161	8	-0.1016	-0.0064	-0.4445	-0.1016	-0.4128	-0.4445	0.000912
GW	162	8	-0.1016	-0.0064	-0.4572	-0.1016	-0.4128	-0.4572	0.000912
 

·
Registered
Joined
·
810 Posts
nec code continued:

Code:
' RIGHT SIDE LEFT ZIG-ZAGS:
GW	162	7	0	0.0762	0.4119	0	0.2089	0.4119	0.001294
GW	163	7	0	0.2089	0.4119	0	0.3366	0.2842	0.001294
GW	164	7	0	0.3366	0.2842	0	0.21	0.1576	0.001294
GW	165	9	0	0.21	0.1576	0	0.3676	0	0.001294
GW	166	9	0	0.3676	0	0	0.21	-0.1576	0.001294
GW	167	7	0	0.21	-0.1576	0	0.3366	-0.2842	0.001294
GW	168	7	0	0.3366	-0.2842	0	0.2089	-0.4119	0.001294
GW	169	7	0	0.2089	-0.4119	0	0.0762	-0.4119	0.001294
' RIGHT SIDE RIGHT ZIG-ZAGS:
GW	170	7	0	0.762	0.4119	0	0.6293	0.4119	0.001294
GW	171	7	0	0.6293	0.4119	0	0.5016	0.2842	0.001294
GW	172	7	0	0.5016	0.2842	0	0.6282	0.1576	0.001294
GW	173	9	0	0.6282	0.1576	0	0.4706	0	0.001294
GW	174	9	0	0.4706	0	0	0.6282	-0.1576	0.001294
GW	175	7	0	0.6282	-0.1576	0	0.5016	-0.2842	0.001294
GW	176	7	0	0.5016	-0.2842	0	0.6293	-0.4119	0.001294
GW	177	7	0	0.6293	-0.4119	0	0.762	-0.4119	0.001294
' RIGHT SIDE LEFT SCREEN:
GW	178	8	-0.1016	0.0064	0.4572	-0.1016	0.4128	0.4572	0.000912
GW	179	8	-0.1016	0.0064	0.4445	-0.1016	0.4128	0.4445	0.000912
GW	180	8	-0.1016	0.0064	0.4318	-0.1016	0.4128	0.4318	0.000912
GW	181	8	-0.1016	0.0064	0.4191	-0.1016	0.4128	0.4191	0.000912
GW	182	8	-0.1016	0.0064	0.4064	-0.1016	0.4128	0.4064	0.000912
GW	183	8	-0.1016	0.0064	0.3937	-0.1016	0.4128	0.3937	0.000912
GW	184	8	-0.1016	0.0064	0.381	-0.1016	0.4128	0.381	0.000912
GW	185	8	-0.1016	0.0064	0.3683	-0.1016	0.4128	0.3683	0.000912
GW	186	8	-0.1016	0.0064	0.3556	-0.1016	0.4128	0.3556	0.000912
GW	187	8	-0.1016	0.0064	0.3429	-0.1016	0.4128	0.3429	0.000912
GW	188	8	-0.1016	0.0064	0.3302	-0.1016	0.4128	0.3302	0.000912
GW	189	8	-0.1016	0.0064	0.3175	-0.1016	0.4128	0.3175	0.000912
GW	190	8	-0.1016	0.0064	0.3048	-0.1016	0.4128	0.3048	0.000912
GW	191	8	-0.1016	0.0064	0.2921	-0.1016	0.4128	0.2921	0.000912
GW	192	8	-0.1016	0.0064	0.2794	-0.1016	0.4128	0.2794	0.000912
GW	193	8	-0.1016	0.0064	0.2667	-0.1016	0.4128	0.2667	0.000912
GW	194	8	-0.1016	0.0064	0.254	-0.1016	0.4128	0.254	0.000912
GW	195	8	-0.1016	0.0064	0.2413	-0.1016	0.4128	0.2413	0.000912
GW	196	8	-0.1016	0.0064	0.2286	-0.1016	0.4128	0.2286	0.000912
GW	197	8	-0.1016	0.0064	0.2159	-0.1016	0.4128	0.2159	0.000912
GW	198	8	-0.1016	0.0064	0.2032	-0.1016	0.4128	0.2032	0.000912
GW	199	8	-0.1016	0.0064	0.1905	-0.1016	0.4128	0.1905	0.000912
GW	200	8	-0.1016	0.0064	0.1778	-0.1016	0.4128	0.1778	0.000912
GW	201	8	-0.1016	0.0064	0.1651	-0.1016	0.4128	0.1651	0.000912
GW	202	8	-0.1016	0.0064	0.1524	-0.1016	0.4128	0.1524	0.000912
GW	203	8	-0.1016	0.0064	0.1397	-0.1016	0.4128	0.1397	0.000912
GW	204	8	-0.1016	0.0064	0.127	-0.1016	0.4128	0.127	0.000912
GW	205	8	-0.1016	0.0064	0.1143	-0.1016	0.4128	0.1143	0.000912
GW	206	8	-0.1016	0.0064	0.1016	-0.1016	0.4128	0.1016	0.000912
GW	207	8	-0.1016	0.0064	0.0889	-0.1016	0.4128	0.0889	0.000912
GW	208	8	-0.1016	0.0064	0.0762	-0.1016	0.4128	0.0762	0.000912
GW	209	8	-0.1016	0.0064	0.0635	-0.1016	0.4128	0.0635	0.000912
GW	210	8	-0.1016	0.0064	0.0508	-0.1016	0.4128	0.0508	0.000912
GW	211	8	-0.1016	0.0064	0.0381	-0.1016	0.4128	0.0381	0.000912
GW	212	8	-0.1016	0.0064	0.0254	-0.1016	0.4128	0.0254	0.000912
GW	213	8	-0.1016	0.0064	0.0127	-0.1016	0.4128	0.0127	0.000912
GW	214	8	-0.1016	0.0064	0	-0.1016	0.4128	0	0.000912
GW	215	8	-0.1016	0.0064	-0.0127	-0.1016	0.4128	-0.0127	0.000912
GW	216	8	-0.1016	0.0064	-0.0254	-0.1016	0.4128	-0.0254	0.000912
GW	217	8	-0.1016	0.0064	-0.0381	-0.1016	0.4128	-0.0381	0.000912
GW	218	8	-0.1016	0.0064	-0.0508	-0.1016	0.4128	-0.0508	0.000912
GW	219	8	-0.1016	0.0064	-0.0635	-0.1016	0.4128	-0.0635	0.000912
GW	220	8	-0.1016	0.0064	-0.0762	-0.1016	0.4128	-0.0762	0.000912
GW	221	8	-0.1016	0.0064	-0.0889	-0.1016	0.4128	-0.0889	0.000912
GW	222	8	-0.1016	0.0064	-0.1016	-0.1016	0.4128	-0.1016	0.000912
GW	223	8	-0.1016	0.0064	-0.1143	-0.1016	0.4128	-0.1143	0.000912
GW	224	8	-0.1016	0.0064	-0.127	-0.1016	0.4128	-0.127	0.000912
GW	225	8	-0.1016	0.0064	-0.1397	-0.1016	0.4128	-0.1397	0.000912
GW	226	8	-0.1016	0.0064	-0.1524	-0.1016	0.4128	-0.1524	0.000912
GW	227	8	-0.1016	0.0064	-0.1651	-0.1016	0.4128	-0.1651	0.000912
GW	228	8	-0.1016	0.0064	-0.1778	-0.1016	0.4128	-0.1778	0.000912
GW	229	8	-0.1016	0.0064	-0.1905	-0.1016	0.4128	-0.1905	0.000912
GW	230	8	-0.1016	0.0064	-0.2032	-0.1016	0.4128	-0.2032	0.000912
GW	231	8	-0.1016	0.0064	-0.2159	-0.1016	0.4128	-0.2159	0.000912
GW	232	8	-0.1016	0.0064	-0.2286	-0.1016	0.4128	-0.2286	0.000912
GW	233	8	-0.1016	0.0064	-0.2413	-0.1016	0.4128	-0.2413	0.000912
GW	234	8	-0.1016	0.0064	-0.254	-0.1016	0.4128	-0.254	0.000912
GW	235	8	-0.1016	0.0064	-0.2667	-0.1016	0.4128	-0.2667	0.000912
GW	236	8	-0.1016	0.0064	-0.2794	-0.1016	0.4128	-0.2794	0.000912
GW	237	8	-0.1016	0.0064	-0.2921	-0.1016	0.4128	-0.2921	0.000912
GW	238	8	-0.1016	0.0064	-0.3048	-0.1016	0.4128	-0.3048	0.000912
GW	239	8	-0.1016	0.0064	-0.3175	-0.1016	0.4128	-0.3175	0.000912
GW	240	8	-0.1016	0.0064	-0.3302	-0.1016	0.4128	-0.3302	0.000912
GW	241	8	-0.1016	0.0064	-0.3429	-0.1016	0.4128	-0.3429	0.000912
GW	242	8	-0.1016	0.0064	-0.3556	-0.1016	0.4128	-0.3556	0.000912
GW	243	8	-0.1016	0.0064	-0.3683	-0.1016	0.4128	-0.3683	0.000912
GW	244	8	-0.1016	0.0064	-0.381	-0.1016	0.4128	-0.381	0.000912
GW	245	8	-0.1016	0.0064	-0.3937	-0.1016	0.4128	-0.3937	0.000912
GW	246	8	-0.1016	0.0064	-0.4064	-0.1016	0.4128	-0.4064	0.000912
GW	247	8	-0.1016	0.0064	-0.4191	-0.1016	0.4128	-0.4191	0.000912
GW	248	8	-0.1016	0.0064	-0.4318	-0.1016	0.4128	-0.4318	0.000912
GW	249	8	-0.1016	0.0064	-0.4445	-0.1016	0.4128	-0.4445	0.000912
GW	250	8	-0.1016	0.0064	-0.4572	-0.1016	0.4128	-0.4572	0.000912
' RIGHT SIDE RIGHT SCREEN:
GW	251	8	-0.1016	0.8318	0.4572	-0.1016	0.4254	0.4572	0.000912
GW	252	8	-0.1016	0.8318	0.4445	-0.1016	0.4254	0.4445	0.000912
GW	253	8	-0.1016	0.8318	0.4318	-0.1016	0.4254	0.4318	0.000912
GW	254	8	-0.1016	0.8318	0.4191	-0.1016	0.4254	0.4191	0.000912
GW	255	8	-0.1016	0.8318	0.4064	-0.1016	0.4254	0.4064	0.000912
GW	256	8	-0.1016	0.8318	0.3937	-0.1016	0.4254	0.3937	0.000912
GW	257	8	-0.1016	0.8318	0.381	-0.1016	0.4254	0.381	0.000912
GW	258	8	-0.1016	0.8318	0.3683	-0.1016	0.4254	0.3683	0.000912
GW	259	8	-0.1016	0.8318	0.3556	-0.1016	0.4254	0.3556	0.000912
GW	260	8	-0.1016	0.8318	0.3429	-0.1016	0.4254	0.3429	0.000912
GW	261	8	-0.1016	0.8318	0.3302	-0.1016	0.4254	0.3302	0.000912
GW	262	8	-0.1016	0.8318	0.3175	-0.1016	0.4254	0.3175	0.000912
GW	263	8	-0.1016	0.8318	0.3048	-0.1016	0.4254	0.3048	0.000912
GW	264	8	-0.1016	0.8318	0.2921	-0.1016	0.4254	0.2921	0.000912
GW	265	8	-0.1016	0.8318	0.2794	-0.1016	0.4254	0.2794	0.000912
GW	266	8	-0.1016	0.8318	0.2667	-0.1016	0.4254	0.2667	0.000912
GW	267	8	-0.1016	0.8318	0.254	-0.1016	0.4254	0.254	0.000912
GW	268	8	-0.1016	0.8318	0.2413	-0.1016	0.4254	0.2413	0.000912
GW	269	8	-0.1016	0.8318	0.2286	-0.1016	0.4254	0.2286	0.000912
GW	270	8	-0.1016	0.8318	0.2159	-0.1016	0.4254	0.2159	0.000912
GW	271	8	-0.1016	0.8318	0.2032	-0.1016	0.4254	0.2032	0.000912
GW	272	8	-0.1016	0.8318	0.1905	-0.1016	0.4254	0.1905	0.000912
GW	273	8	-0.1016	0.8318	0.1778	-0.1016	0.4254	0.1778	0.000912
GW	274	8	-0.1016	0.8318	0.1651	-0.1016	0.4254	0.1651	0.000912
GW	275	8	-0.1016	0.8318	0.1524	-0.1016	0.4254	0.1524	0.000912
GW	276	8	-0.1016	0.8318	0.1397	-0.1016	0.4254	0.1397	0.000912
GW	277	8	-0.1016	0.8318	0.127	-0.1016	0.4254	0.127	0.000912
GW	278	8	-0.1016	0.8318	0.1143	-0.1016	0.4254	0.1143	0.000912
GW	279	8	-0.1016	0.8318	0.1016	-0.1016	0.4254	0.1016	0.000912
GW	280	8	-0.1016	0.8318	0.0889	-0.1016	0.4254	0.0889	0.000912
GW	281	8	-0.1016	0.8318	0.0762	-0.1016	0.4254	0.0762	0.000912
GW	282	8	-0.1016	0.8318	0.0635	-0.1016	0.4254	0.0635	0.000912
GW	283	8	-0.1016	0.8318	0.0508	-0.1016	0.4254	0.0508	0.000912
GW	284	8	-0.1016	0.8318	0.0381	-0.1016	0.4254	0.0381	0.000912
GW	285	8	-0.1016	0.8318	0.0254	-0.1016	0.4254	0.0254	0.000912
GW	286	8	-0.1016	0.8318	0.0127	-0.1016	0.4254	0.0127	0.000912
GW	287	8	-0.1016	0.8318	0	-0.1016	0.4254	0	0.000912
GW	288	8	-0.1016	0.8318	-0.0127	-0.1016	0.4254	-0.0127	0.000912
GW	289	8	-0.1016	0.8318	-0.0254	-0.1016	0.4254	-0.0254	0.000912
GW	290	8	-0.1016	0.8318	-0.0381	-0.1016	0.4254	-0.0381	0.000912
GW	291	8	-0.1016	0.8318	-0.0508	-0.1016	0.4254	-0.0508	0.000912
GW	292	8	-0.1016	0.8318	-0.0635	-0.1016	0.4254	-0.0635	0.000912
GW	293	8	-0.1016	0.8318	-0.0762	-0.1016	0.4254	-0.0762	0.000912
GW	294	8	-0.1016	0.8318	-0.0889	-0.1016	0.4254	-0.0889	0.000912
GW	295	8	-0.1016	0.8318	-0.1016	-0.1016	0.4254	-0.1016	0.000912
GW	296	8	-0.1016	0.8318	-0.1143	-0.1016	0.4254	-0.1143	0.000912
GW	297	8	-0.1016	0.8318	-0.127	-0.1016	0.4254	-0.127	0.000912
GW	298	8	-0.1016	0.8318	-0.1397	-0.1016	0.4254	-0.1397	0.000912
GW	299	8	-0.1016	0.8318	-0.1524	-0.1016	0.4254	-0.1524	0.000912
GW	300	8	-0.1016	0.8318	-0.1651	-0.1016	0.4254	-0.1651	0.000912
GW	301	8	-0.1016	0.8318	-0.1778	-0.1016	0.4254	-0.1778	0.000912
GW	302	8	-0.1016	0.8318	-0.1905	-0.1016	0.4254	-0.1905	0.000912
GW	303	8	-0.1016	0.8318	-0.2032	-0.1016	0.4254	-0.2032	0.000912
GW	304	8	-0.1016	0.8318	-0.2159	-0.1016	0.4254	-0.2159	0.000912
GW	305	8	-0.1016	0.8318	-0.2286	-0.1016	0.4254	-0.2286	0.000912
GW	306	8	-0.1016	0.8318	-0.2413	-0.1016	0.4254	-0.2413	0.000912
GW	307	8	-0.1016	0.8318	-0.254	-0.1016	0.4254	-0.254	0.000912
GW	308	8	-0.1016	0.8318	-0.2667	-0.1016	0.4254	-0.2667	0.000912
GW	309	8	-0.1016	0.8318	-0.2794	-0.1016	0.4254	-0.2794	0.000912
GW	310	8	-0.1016	0.8318	-0.2921	-0.1016	0.4254	-0.2921	0.000912
GW	311	8	-0.1016	0.8318	-0.3048	-0.1016	0.4254	-0.3048	0.000912
GW	312	8	-0.1016	0.8318	-0.3175	-0.1016	0.4254	-0.3175	0.000912
GW	313	8	-0.1016	0.8318	-0.3302	-0.1016	0.4254	-0.3302	0.000912
GW	314	8	-0.1016	0.8318	-0.3429	-0.1016	0.4254	-0.3429	0.000912
GW	315	8	-0.1016	0.8318	-0.3556	-0.1016	0.4254	-0.3556	0.000912
GW	316	8	-0.1016	0.8318	-0.3683	-0.1016	0.4254	-0.3683	0.000912
GW	317	8	-0.1016	0.8318	-0.381	-0.1016	0.4254	-0.381	0.000912
GW	318	8	-0.1016	0.8318	-0.3937	-0.1016	0.4254	-0.3937	0.000912
GW	319	8	-0.1016	0.8318	-0.4064	-0.1016	0.4254	-0.4064	0.000912
GW	320	8	-0.1016	0.8318	-0.4191	-0.1016	0.4254	-0.4191	0.000912
GW	321	8	-0.1016	0.8318	-0.4318	-0.1016	0.4254	-0.4318	0.000912
GW	322	8	-0.1016	0.8318	-0.4445	-0.1016	0.4254	-0.4445	0.000912
GW	323	8	-0.1016	0.8318	-0.4572	-0.1016	0.4254	-0.4572	0.000912
' LEFT SOURCE:
GW	324	9	0	-0.4706	0	0	-0.3676	0	0.002754
' RIGHT SOURCE:
GW	325	9	0	0.3676	0	0	0.4706	0	0.002754
'
GE	0
GN	-1
EK
LD	5	0	0	0	24900000
'
' RF COMBINER MOD ALTERNATIVE (Enable BOTH for Gain, F/B & F/R, but only ONE for SWR:
EX	0	324	5	0	1	0	' LEFT SIDE GH
EX	0	325	5	0	1	0	' RIGHT SIDE GH
'
' FR	0	0	0	0	800	0	' fm nikiml
' FR Freq Sweep choices in order of increasing calculation time (fm holl_ands):
' FR 0 0 0 0 470 0		' Fixed Freq
' FR 0 29 0 0 470 12		' Freq Sweep 470-806 every 12 MHz - OLD UHF BAND
' FR 0 34 0 0 410 12	' Freq Sweep 410-806 every 12 MHz - Even Wider Sweep
FR 0 39 0 0 470 6		' Freq Sweep 470-698 every 6 MHz - PREFERRED FOR UHF
' FR 0 77 0 0 470 3		' Freq Sweep 470-698 every 3 MHz
' FR 0 153 0 0 470 1.5	' Freq Sweep 470-698 every 1.5 MHz
' FR 0 71 0 0 300 10	' Freq Sweep 300-1000 every 10 MHz - WIDEBAND SWEEP
' FR Hi-VHF choices:
' FR 0 15 0 0 174 3		' Freq Sweep 174-216 every 3 MHz
' FR 0 29 0 0 174 1.5	' Freq Sweep 174-216 every 1.5 MHz - PREFERRED
' FR 0 45 0 0 162 1.5	' Freq Sweep 162-228 every 1.5 MHz - Add +/- 12 MHz BW
' FR 0 43 0 0 174 1		' Freq Sweep 174-216 every 1 MHz - Hi-Rez
' FR 0 23 0 0 198 1		' Freq Sweep 198-220 every 1 MHz - Hi-Rez - Ch13 SPECIAL
' FR 0 26 0 0 150 6		' Freq Sweep 150-300 every 6 MHz - WIDEBAND SWEEP
' FR Lo-VHF choices:
' FR 0 19 0 0 54 3		' Frequency Sweep every 3 MHz for Ch2-6 + FM
' FR 0 35 0 0 54 1		' Frequency Sweep every 1 MHz for Ch2-6
' FR 0 36 0 0 75 1		' Frequency Sweep every 1 MHz for Ch5 + Ch6 + FM
' FR 0 28 0 0 54 6		' Wide Freq Sweep every 6 MHz for Ch2-13
' FR 0 64 0 0 54 12		' Super Wide Freq Sweep 54-810 every 12 MHz
' FR 0 127 0 0 54 6		' Super Wide Freq Sweep 54-810 every 6 MHz
' RP choices in order of increasing calculation time:
' RP 0 1 1 1510 90 90 1 1 0 0	' 1D Gain toward 0-deg Azimuth - SIDE GAIN
' RP 0 1 1 1510 90 0 1 1 0 0	' 1D Gain toward 90-deg Azimuth - FORWARD GAIN
' RP 0 1 1 1510 90 180 1 1 0 0	' 1D Gain toward 270-deg Azimuth - REVERSE GAIN
' RP 0 1 37 1510 90 0 1 5 0 0	' 2D (Left only) Azimuthal Gain Slice
RP 0 1 73 1510 90 0 1 5 0 0	' 2D Azimuthal Gain Slice - PREFERRED
' RP 0 73 1 1510 90 0 5 1 0 0	' 2D Elevation Gain Slice
' RP 0 73 73 1510 90 0 5 5 0 0	' 3D Lower Hemisphere reveals antenna (Fixed Freq)
' RP 0 285 73 1510 90 0 5 5 0 0	' 3D Full Coverage obscures antenna (Fixed Freq)
EN
 

·
Registered
Joined
·
426 Posts
Here is HFSS simulation using MoM: https://ypylypenko.livejournal.com/82831.html

standalone and double phased array.
Impedance data & SWR almost identical.
Gain increase is +3 dB over all UHF frequencies

It took me about 10 minutes to draw this 2 models (5 minutes to print 12 variables for dimensions) from blank screen.
It takes 8 seconds per 1 frequency point for single GH and 35 seconds for double-array GH, using single 2 GHz Intel core.

RAM consumption is 71 Mb for single GH and 220 Mb for double.

Drawing 2x1 or 2x2 or 4x4 array from single model takes 1-2 minutes.
 

·
Registered
Joined
·
810 Posts
Nice work, thanks a lot! The GH is so easy to build, before I saw your post about using a non-split reflector I modeled a triple horizontal stack GH with split screen reflectors that's "only" 9 feet wide by 3 feet tall. Also modeled a double horizontal stack of the holl_ands NU-FF4 NEW UHF Free-Form 4-Bay + FlatScreenRefl and it still outperformed the triple GH on the new UHF band (470-608). Tried rescaling a GH for the new UHF band but couldn't get it working.

I think I'm getting the hang of 4nec2, the GW "source" is just an imaginary wire and you can change the radius until you get as close as possible to 1.000 after running the Average Gain Test to make an accurate model.



 

·
Registered
Joined
·
3,397 Posts
Started playing around with 4nec2 and modeled a horizontal stack of this: UHF SBGH + 2ea 36"x18" Screen Grid Refl.. Seems like it worked but I'm not sure if I'm doing it properly. For the segments part of the GW card, I'm not sure how many segments to use, I just kept changing the amount until I didn't get anymore errors/warnings. I'm not sure what to put for the radius of the GW "source", the radius of the CM94444 balun wires? For the LD card, is this for the conductivity of the type of wire used for the GH elements, like aluminum? For the RF combiner mod I pasted the EX cards from this: Horiz-Stack 2xFF4 + DoubleAng Refl - RFC.
1) In a separate thread I discussed adjusting the Source Wire radius until AGT=1.0 (0.0 dB).

2) Yes, LD card defines Conductivity of the chosen antenna element material.

3) Yes, your Copy/Paste for Source Wire(s) GW/EX Statements was correct. Note that ONLY ONE EX Statement is to be enabled when 4nec2 is used to Calculate/Plot the SWR....otherwise enable all EX statements. [Insert "apostrophe" as first character to disable a statement...turns it into a Comment.]

4) The purpose of "Segmentation" is to make all Segments in the Model roughly the same Length....which is needed for accurate modeling results. I know of three methods to do this, which I usually so indicate in my 4nec2 File comments. For more info re, see Cebik's "Beginner's Guide to Modeling with NEC", esp. parts 1 and 4: Antenna Modeling

a) MANUALSEG: For those antennas where the Source Wire is small [e.g. Bowtie, G-H], set it's Segmentation Number equal to "1". Divide the length of each other Wire by the Length of the Shortest Wire....after rounding off....that is the wire's Segmentation Number. 4nec2's GeoEdit can be used to display wire Lengths. [PS: Some Antennas may "need" the Shortest Wire Segmentation Number set to "3" and hence 3X more Segments in other wires to ensure they have a "sufficiently" large number of Segments....nikiml's OPT does this automatically.]

OTOH, for antennas that do not "require" a separate Source Wire, such as a Yagi (and LPDA), divide the Width of the Active Element by your chosen Segmentation Number (say '7', must be ODD number, cuz middle Segment Number is used in EX Statement) to determine the "standard" Segment Length....and then divide the Width of each Reflector and Director by that "standard" Segment Length to determine the Segmentation Numbers for those Elements.

b) AUTOSEG, using 4nec2: Under "Settings" click on "Auto segmentation" and enter your choice for "segments per half-wave". For most antennas, I've found that 11 or 13 works well [and smaller runs faster]....but some antennas "need" smaller or higher numbers. Then run AGT Test. When you see results, depress "F8" key to see NEC2 results File. Toward top of file, you'll see the Auto Segmentation results that need to be manually copied into your 4nec2 File. [On my PC's, for better viewing, I change to "Landscape" and then CTRL-A (select ALL) to change to size-9 Font.]

c) PYTHONSEG: nikiml's OPTimization program (which runs as C-code and PYTHON Control Scripts) tries various Lengths for the variable SYmbols defined in the 4nec2 File. Hence it has a built-in Segmentation routine. When OPT is finished, the final SYmbol values and Segmentation numbers then need to be copied into the starting 4nec2 File....a minor annoyance cuz OPT strips out all of the formatting TABs and some Comments in the final "outputx.xxx.nec" file.

FYI: AGT Test: Under Calculate, select NEC-Output-Data, Far-Field-Pattern, Freq=Center-Of-Band, Click on "Expert Settings" and then enable "Run Average Gain Test"....finally click on "Generate". [May also check correction on lowest and highest Freqs.]
 

·
Registered
Joined
·
810 Posts
Thanks a lot for the detailed descriptions, I'll definitely be returning to your post for next time. I had been running the AGT test at 470MHz but now I see you can just type in the frequency in the drop-down box.
 

·
Registered
Joined
·
7 Posts
I found the problem. I forgot to add the engine to the PATH.

I'm having another problem. The gain calculated by the 4NEC2 is around 1dBi lower than the calculated using nickm's optimizer.





The impedance and the F2B match. Only the gain does not. Any ideas why?
 

·
Registered
Joined
·
810 Posts
Just guessing but the AGT is a lot less than 1.000 (the "corr" column shows -1.1x).
 

·
Registered
Joined
·
7 Posts
@orbot you are right, I searched the 4NEC2 manual and it says: AGT<0.80 or AGT>1.20 - model is questionable and should be refined.
My elements are around 15cm with a 3/8'' radius. I was using -a10, so around 10 segments per half wavelength. I decreased it to -a5 and the AGT improved.

 

·
Registered
Joined
·
21 Posts
Anyone try using nec.opt lately? After running the eval script, the model tab doesn't display the antenna for me. Same thing happens when trying to open an older html on a different computer that was fine before.

Looking at the code it looks like there's some references to nikiml's site which appears to be down when I try to access it; http://clients.teksavvy.com/~nickm/

I guess that the model tab needs something from the site in order to work. I wonder how difficult it would be to change it so that the modeling portion is also run offline?
 

·
Registered
Joined
·
810 Posts
nikiml's site is now at nikiml's Antenna pages mladenov.ca/~nickm/, and unfortunately it left a lot of dead links. I wonder if a moderator has the power to search/replace part of a web address across the entire forum? If so, it would be changing clients.teksavvy.com/~nickm/ to mladenov.ca/~nickm/.
 

·
Registered
Joined
·
5,191 Posts
Hi nikiml,


Yes, I have noticed the same issue, using the linux tarball there.


I took the liberty of intitializing a git repo, so I could easily track the domain link changes
as I ran the below sed script to do a search and replace excercise for myself.
After the changes it's now working again with your new domain.

Code:
for f in *.*; do sed -i s "s|clients.teksavvy.com|mladenov.ca|g" "$f"; done"
I'll send ya a pm with a link to the repo for ya, if ya wanna take a peek.
 

·
Registered
Joined
·
21 Posts
With the latest nec-0.16.134.

Had some free time to play around. As near as I can tell, when creating the html file, html.py references nec2_code_viewer2-min, which uses a _g2.html file which was hosted at the old teksavvy location; now at the new mladenov. So the showNecModel() portion of a html file created by running eval, will not work if the site is offline, or changed location in this case.


For anyone who wants a quick fix, open up html.py, go to line 110 and replace with the following
Code:
link = link.replace("http://clients.teksavvy.com/~nickm/viewer/_g2.html", "http://mladenov.ca/~nickm/viewer/_g2.html?id=%(model_name)s");\n\
Personally I prefer the model viewer to be able to work offline, so here's a crude hardcoded workaround. Extract the following nec-0.16.134_unofficial_offline.rar into the nec folder. It contains the _g2.html slightly modified and a couple dependencies. The html.py will also have to be updated to the location of the _g2.html file. Here's where it is for me, it will be a little different for anyone else.
Code:
link = link.replace("http://clients.teksavvy.com/~nickm/viewer/_g2.html", "file:///C:/Program Files (x86)/Python34/Lib/site-packages/nec/html/_g2.html?id=%(model_name)s");\n\
nec-0.16.134_unofficial_offline.rar
 

·
Registered
Joined
·
5,191 Posts
1261 - 1280 of 1309 Posts
Top