Re: [Kicad-developers] OT: Extracting board dimension from a Gerber board outline file.

2012-01-21 Thread Matthew Beckler
This is a little python script I use to determine the size of a PCB based on the PCB_Edges.gbr file generated by kicad. No guarantees that it'll work on every gerber, but it's worked great so far for me. #!/usr/bin/env python import sys if len(sys.argv) < 2: print "Usage: %s gerberfile" % sys

[Kicad-developers] OT: Extracting board dimension from a Gerber board outline file.

2012-01-21 Thread David J S Briscoe
Hi, I need to produce a small application that can examine the contents of a board outline gerber file produced by PCBNEW. The application needs to read the gerber file and extract the X and Y co-ordinates and spit out the actual board size. Is it possible to extract a board size from the followi