X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=915FVSeK9AjoM7gQrNAgE3FaXH7jQKjI5L8Wjwl9Jjg=; b=YIVYZXNh3HPHgFy4rzJdLiOGDcPTY6DRKIttjQj0SGPpIkOA18X5VqdsON9HQ4vfD2 ds5a7+EFGu0H9sqyLLEo+HrCp/b4tT8IvLF9RjfAZ4LbGvhAjRKm8bSPv1hhS7DLclvO pAoQL3wkW3/xazkUC3BHmAN0pM5BdLLShgPrkMtTwj6W6AeaFcIg2ZbYhUemP07RHVVQ jQd5kE1EFtEtok0AIxb/YJxcRbxxFSgUt17TdmOnwyanIvQuG8TlmgolYW+TsWfjvdxQ j0Aj1vkXyzE5NZDxy/V+iAwUGFpja5wXXWOQzzlhi+ea9Ttk+eSDT3ezIjxbpnQVJGrl geBw== X-Received: by 10.152.87.43 with SMTP id u11mr13593070laz.1.1440595255011; Wed, 26 Aug 2015 06:20:55 -0700 (PDT) Date: Wed, 26 Aug 2015 16:20:52 +0300 From: "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Subject: Re: [geda-user] speed-dial type buttons (was: Antifork) Message-ID: <20150826132052.GB14349@localhost.localdomain> Mail-Followup-To: geda-user AT delorie DOT com References: <55DA8231 DOT 4010904 AT mcmahill DOT net> <55DADE5A DOT 4020902 AT jump-ing DOT de> <55DB6A7C DOT 8090309 AT jump-ing DOT de> <55DB7F6A DOT 2050008 AT ecosensory DOT com> <20150825080001 DOT 5fc83c0223a8f3e52b5dd1bf AT gmail DOT com> <201508251626 DOT t7PGQeGY023950 AT envy DOT delorie DOT com> <20150825213238 DOT c7b0d9f599ca00b4e517e7d0 AT gmail DOT com> <201508251949 DOT t7PJnaJg031751 AT envy DOT delorie DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <201508251949.t7PJnaJg031751@envy.delorie.com> User-Agent: Mutt/1.5.23 (2014-03-12) 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 Precedence: bulk Hi, DJ. On Tue, Aug 25, 2015 at 03:49:36PM -0400, DJ Delorie wrote: > > In both cases there's a many-to-one relationship; one schematic can be > used for many purposes, and one pcb is made of many schematics. > > So gschem would have to have many buttons, one for each purpose the > schematic is used for, but pcb would only need one - to collect the > things it needs. PCB's File->Import does this; it knows how to use a > list of schematic pages or call out to a Makefile to get what *it* > needs. A "getting started" button on gschem would need to assume that > the one schematic is sufficient for one pcb, or figure out how to ask > the user what other schematics are needed. Also, not everyone starts > a pcb with the import - I prefer to lay out the board's boundaries and > physical size first, *then* import. > > BOMs are trickier, because you need to know the set of schematics but > you also need to know the build-out of the board, i.e. which > configuration of parts is populated. I typically use a script to > generate a BOM from schematics on a per-pcb basis, using attributes > from the schematic, but I can't see that working as a button in either > gschem or pcb. Also, if your sch->pcb tool modifies any of the parts, > the BOM generator would need to know about that too. One could use 1) hierarchy or 2) the (active-pages) variable in gschem, though the latter case is more error prone. Cheers, Vladimir