www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/10/23/20:28:03

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Tue, 23 Oct 2012 17:27:35 -0700
From: Colin D Bennett <colin AT gibibit DOT com>
To: geda-user AT delorie DOT com
Subject: Re: import schematics? was Re: [geda-user] Odd position mangling
error
Message-ID: <20121023172735.702ee2f3@svelte>
In-Reply-To: <50872E3F.1030806@neurotica.com>
References: <5086B5AD DOT 9080706 AT estechnical DOT co DOT uk>
<CAPYb0EGLoBRUWzokBzsHbacMU8RhnfFnnq+-_+JQB_9m5V9E0Q AT mail DOT gmail DOT com>
<5086C5E4 DOT 7060900 AT estechnical DOT co DOT uk>
<k66li7$aqp$1 AT ger DOT gmane DOT org>
<5086FDF5 DOT 1070006 AT estechnical DOT co DOT uk>
<20121023140840 DOT 4cf8d4d6 AT svelte>
<50872E3F DOT 1030806 AT neurotica DOT com>
X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu)
Mime-Version: 1.0
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - gator297.hostgator.com
X-AntiAbuse: Original Domain - delorie.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - gibibit.com
X-BWhitelist: no
X-Source:
X-Source-Args:
X-Source-Dir:
X-Source-Sender: (svelte) [65.61.115.34]:9617
X-Source-Auth: colin AT gibibit DOT com
X-Email-Count: 1
X-Source-Cap: c2t5bGVuO3NreWxlbjtnYXRvcjI5Ny5ob3N0Z2F0b3IuY29t
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 Tue, 23 Oct 2012 19:54:39 -0400
Dave McGuire <mcguire AT neurotica DOT com> wrote:

> On 10/23/2012 05:08 PM, Colin D Bennett wrote:
> >> Does anyone else see this issue when changing the value (or
> >> other non-layout related parameter) and running gsch2pcb? The
> >> PCB file has not been edited for around 6 months, IIRC.
> > 
> > I never use gsch2pcb anymore since I discovered the pcb
> > "Import Schematics" feature.  This import features is so much
> > more streamlined than gsch2pcb, especially if you have changed
> > footprints since it will keep footprint locations constant
> > (more or less... sometimes it gets them rotated wrong).  Also,
> > no scripts, makefiles, or external tool invocation by the user
> > required.
> > 
> > Is there any reason you still use gsch2pcb / xgsch2pcb?
> 
>   Urr?
> 
>   Please forgive me for butting in, but *I* still use gsch2pcb.
> This "import schematics" thing sounds much nicer.  Is it really
> just as simple as selecting that menu choice?  Does it need any
> other info?

It needs to know the path to the schematic, and optionally
footprint search path if you have custom ones for the project (I
always put my footprints for each project in a "./Footprints/"
subdirectory of the project, so each pcb file has a custom path to
it.)

I think the first time you do Import Schematics, pcb will prompt
you to choose the schematic file with a file chooser dialog, then
the path is saved in the .pcb file.

Your .pcb file will contain an attribute like this:

  Attribute("import::src0" "../Schematic/Schematic.sch")

that specifies the path to your schematic.  Then you just choose
File | Import Schematics to update the layout instantly.

There is also the ":Import()" command which you can look up in the
pcb manual, and it allows you to do fancy stuff like specify the
location where the new elements are inserted.

If you want to specify custom footprint path, create a text file
called pcb.settings and put it in the same directory as your .pcb
file:

$ cat pcb.settings 
lib-newlib = ../Footprints


Regards,
Colin

- Raw text -


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