Create Gerber file from antenna design
1 view (last 30 days)
Show older comments
The ultimate goal is to be able to print the actual size antenna on paper and also create a Gerber file for PCB manufacturing. I thought that the following four functions would do the trick, but as you can see I am stuck on the second one (pcbStack):
ant = spiralArchimedean('Turns',6, ...
'InnerRadius',12e-4, ...
'OuterRadius',975e-4, ...
'Tilt',0, ...
'TiltAxis',[0 0 1]);
p = pcbStack(ant);
PC = PCBWriter(p);
gerberWrite(PC);
The error is thrown:
Error using pcbStack/parsePcbStack (line 1447)
Expected a string scalar or character vector for the parameter name, instead the input type
was 'spiralArchimedean'.
Error in pcbStack (line 178)
parsePcbStack(obj,varargin{:});
0 Comments
Answers (1)
Da Huang
on 24 Sep 2019
Hi,
You need to specify a substrate in order to generate the gerber file. Please see the following code.
ant = spiralArchimedean('Turns',6, ...
'InnerRadius',12e-4, ...
'OuterRadius',975e-4, ...
'Tilt',0, ...
'TiltAxis',[0 0 1]);
r = reflector('Exciter',ant,'Substrate',dielectric('fr4'))
r.Spacing = 0.025;
p = pcbStack(r);
p.gerberWrite
0 Comments
See Also
Categories
Find more on Get Started with Antenna Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!