delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/01/15/20:16:32

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Message-ID: <1421370873.24766.14.camel@cam.ac.uk>
Subject: Re: [geda-user] Refactoring in PCB
From: Peter Clifton <pcjc2 AT cam DOT ac DOT uk>
To: geda-user AT delorie DOT com
Date: Fri, 16 Jan 2015 01:14:33 +0000
In-Reply-To: <CAOFvGD5SR2tYpZAp6+wgO+20SFvEJ+7zzCDjEYKmXzQnhd=L-w@mail.gmail.com>
References: <1420505387 DOT 3521 DOT 10 DOT camel AT cam DOT ac DOT uk>
<20150106180051 DOT 12514 DOT qmail AT stuge DOT se> <1420586390 DOT 14239 DOT 10 DOT camel AT cam DOT ac DOT uk>
<54B81BF6 DOT 1000306 AT ecosensory DOT com>
<CAOFvGD5SR2tYpZAp6+wgO+20SFvEJ+7zzCDjEYKmXzQnhd=L-w AT mail DOT gmail DOT com>
X-Mailer: Evolution 3.12.7-0ubuntu1
Mime-Version: 1.0
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 2015-01-15 at 17:34 -0500, Jason White wrote:
> On Thu, Jan 15, 2015 at 2:58 PM, John Griessen <john AT ecosensory DOT com> wrote:
> > On 01/06/2015 05:19 PM, Peter Clifton wrote:
> >>
> >> Importing gerber files into PCB is a "wouldn't that be nice" feature
> >> I've had occasion to want several times now. You'd never recover the
> >> footprint data properly to really edit the board, but in some cases,
> >> just having tracking information (or an outline) to start from an
> >> existing board would be a real help.
> >
> > +1
> 
> +1
> 
> I (and the company I work for) have wanted/needed this feature on
> multiple occasions.

A simple naive importer would probably be fairly easy to code up, but
there are enough details around aperture macros etc. that it is probably
best to use libgerbv as the basis for any serious importer.

In the first instance, I'd still imagine it would be most pragmatic to
just warn the user and fail to translate complex entities.. (even though
libgerbv can render them into graphics).

I'd bet most Gerber files out there in the wild are pretty simple
compared to what is theoretically possible. Its been too long since I
hacked on gerbv for me to recall what primitives it renders with
internally, but I'd guess most could translate fairly directly into
in-layer geometry.

Some extra smarts might be required to turn drill-holes into fully
fledged vias, but I doubt its difficult stuff.


PS.. I've got no bandwidth to actually _do_ any of this ;)


-- 
Peter Clifton <peter DOT clifton AT clifton-electronics DOT co DOT uk>

Clifton Electronics

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019