X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Message-ID: <4F11A2F1.1020209@mcmahill.net> Date: Sat, 14 Jan 2012 10:44:49 -0500 From: Dan McMahill User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: geda-user AT delorie DOT com Subject: Re: [geda-user] Standalone DRC for Gerber files References: <57691326464791 AT web158 DOT yandex DOT ru> <20120113070129 DOT 031be9ad AT svelte> <20120113160424 DOT 29061 DOT qmail AT stuge DOT se> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Reply-To: geda-user AT delorie DOT com On 1/13/2012 6:09 PM, Stephen Ecob wrote: > On Sat, Jan 14, 2012 at 3:04 AM, Peter Stuge wrote: >> Colin D Bennett wrote: >>> Ideally.... it would be REALLY awesome if there were a way to import >>> Gerbers into pcb >> >> Do gerbers have traces and widths, or only outlines? > > Traces and widths, the same as PCB. > > There's a fairly straight forward mapping between PCB primitives and > Gerber primitives, it's pretty much one to one. > but there are also polygons in RS-274X. There are also codes which invert the sense of the output, so for example you can represent a large copper area with a funny cut through it by defining a polygon and then erasing the cut area. Those don't quite map directly to pcb. There are also aperture macros that can define things like thermals and other more complex geometries. I agree that a basic import that gets you part way there is probably not too hard. To get all the way there is likely a pain. -Dan