Obround aperture path warnings now only print once per path
I've made the warning suppressible with -nowarnings, and it will refuse conversion when the aspect ratio causes a line width error of more than 5%. I've also added the aperture code to the error and warning messages. You can find the new version in the Files section, or on GitHub
Made robust against CAD tools that use obround apertures for traces
Interesting that a PCB layout tool would generate a gerber that uses obround pads for traces... I would log a bug report with DipTrace. I can make Gerber2PDF robust against it though, by using the larger dimension as the line width, and then issue a warning. It can refuse when the difference is more than 1% or some such... I'll make the update and let you know.
You can fix it manually by changing it to a circular pad, i.e. %ADD77C,0.0154*%
You can't use obround (i.e. "ADD77O") for paths (i.e. "D01"). It's too difficult to figure out what the exact resulting shape of the track is, which I need to do to translate to PDF. You can only use obround pads for "flash aperture" (i.e. D03") operations. How did you generate the Gerber? Which CAD tool?
I've been threatening for ages to implement a "use a script" feature, so that you don't spec everything on the command-line, but rather a YAML file or something. Something like: gerber2pdf -script myscript.yml That way you eliminate the command-line limitation. Maybe the time has arrived...
What is the error? My suspicion is that it is a command-line command length limit of whatever shell you're using. I "think" Windows CMD has a limit of 8191 characters or something, but it varies depending on exactly what version of Windows and / or shell (CMD vs PowerShell, for example) you're using. Browsing through the source code: The number of commands on the command-line (limited by Gerber2PDF, not the shell) is 4096 commands. You should be able to pass in more than a 1000 files without issues,...