X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on ham03.websitewelcome.com X-Spam-Flag2999: NO X-Spam-Level2999: X-Spam-Status2999: "No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gibibit.com; h=Received:Date:From:To:Subject:Message-ID:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding:X-BWhitelist:X-Source:X-Source-Args:X-Source-Dir:X-Source-Sender:X-Source-Auth:X-Email-Count:X-Source-Cap; b=dsMlLVDu41KMKH3S81d0zEJS1SqHb5y81jgkwevsGEDccupJ1qO3at3yJGus7z+tVzGlkmLpXUZM3HTrL8fLWJuS6cChAwIAGYD8QQE7bHPYCk/qzWd3q7VSkbi26SRH; Date: Tue, 14 Feb 2012 00:29:37 -0800 From: Colin D Bennett To: geda-user AT delorie DOT com Subject: [geda-user] pcb =?UTF-8?B?4oCcSW1wb3J0IFNjaGVtYXRpY3PigJ0=?= footprint search path? Message-ID: <20120214002937.42099880@svelte> X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.6; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: c-67-185-118-84.hsd1.wa.comcast.net (svelte) [67.185.118.84]:58962 X-Source-Auth: colin AT gibibit DOT com X-Email-Count: 1 X-Source-Cap: c2t5bGVuO3NreWxlbjtnYXRvcjI5Ny5ob3N0Z2F0b3IuY29t Reply-To: geda-user AT delorie DOT com Hi, I've been using gsch2pcb to import schematics into pcb for a long time now and I now wish to streamline the process using the File | Import Schematics feature of pcb. However, I use the following structure for my electronics projects: ./Schematic/Schematic.sch ./Schematic/gafrc <-- add ../Symbols to gschem search path ./Symbols/*.sym ./Layout/Board.pcb ./Layout/update <-- shell script, calls gsch2pcb ./Footprints/*.fp Currently, the ./Layout/Board.project config file is used by the 'update' script, causing gsch2pcb to look for footprints in ../Footprints, using a command line option. Board.project: ------ schematics ../Schematic/Connectors_and_Power.sch ../Schematic/Microcontroller.sch ../Schematic/Radio.sch output-name Board elements-dir ../Footprints skip-m4 ------ My question is, how can I tell the Import Schematics feature of pcb to look in the Footprints directory for my footprint files? I see from the pcb manual that there is a make+Makefile support mode, but it sounds difficult to write the required Makefile, since it would need to produce a pcb command script to insert the proper footprints, etc., at least as I read it. Is there any attribute I could set in my layout file specifying a relative path to the footprint location for purposes of imports (and possibly also as a starting directory for the File | Load Element Data from File action)? If there is no option yet, would it be a simple addition? I could look at the pcb source and try to hack it in. Thanks. Regards, Colin