www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/08/27/14:50:34

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=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=QLUYpNnPzd0Cy3SV378o9MPyLntEwMAg0zFUuW/pl5g=;
b=sU0Y4QdbhsIWJk2UlCjMiypEeS+ROBc37NgSV5g9vEEOavz1pSi3bcuYQyqk5hUG7W
sW7JDEThOinxIxMmj/0+rwhLPKIV1FktzZFjR9wL8gsoqJTjEubdmhJ+yBq9kNnTuABN
RVg3fjsa/Ufn2RtU9EzflBvq7TUBAfN9kh9pzKvPwYw9ZMCKkaYS8TtnPE6gbkYKugmu
CK6CMYsGmAJMiENYlZtk3Nn2DzYPGCbmTB/CAYL7OMkBXahZLOC+hvrw+BgxQttSCURS
ZIEyS5/scwgJSaNARBnsbr0a6eidf2wqBwLQzb3Dfc1o+QZxEStOlPCQ53fjtfuDanOh
sOVw==
MIME-Version: 1.0
X-Received: by 10.112.181.197 with SMTP id dy5mr2896502lbc.109.1440701398121;
Thu, 27 Aug 2015 11:49:58 -0700 (PDT)
In-Reply-To: <201508251949.t7PJnaJg031751@envy.delorie.com>
References: <55D8D8B8 DOT 7050907 AT jump-ing DOT de>
<20150822230549 DOT 3750 DOT qmail AT stuge DOT se>
<55D9A5AE DOT 9090604 AT jump-ing DOT de>
<C2FC0AF3-DFDB-4799-87F7-039614405DCD AT noqsi DOT com>
<55D9BC06 DOT 9060106 AT iae DOT nl>
<55D9C34A DOT 2090709 AT jump-ing DOT de>
<C55E2A02-99F7-402C-953F-8E844004D61B AT noqsi DOT com>
<201508232341 DOT t7NNfl9O012371 AT envy DOT delorie DOT com>
<CF6D95DF-9FBF-48F6-8E68-458A2BC14CAF AT noqsi DOT com>
<CAM2RGhS9QqDq2dZLwt7LfUFwQouCaX-SuxEu0U2ofNrxuttmhg AT mail DOT gmail DOT com>
<55DA8231 DOT 4010904 AT mcmahill DOT net>
<55DADE5A DOT 4020902 AT jump-ing DOT de>
<CAM2RGhRd+JgbaxpM9wbqXYLWRrtc6FAw9ubwM42JFTytf8yEng AT mail DOT gmail DOT com>
<55DB6A7C DOT 8090309 AT jump-ing DOT de>
<CAM2RGhTkSRbWoQhPW6AcwMr3UFWbTXAPKnfD-2tUAC4psa1p-A AT mail DOT gmail DOT com>
<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>
Date: Fri, 28 Aug 2015 00:19:58 +0530
Message-ID: <CALT8Ef5iyQrnNTDYAQRmhEDgpUQhNbZLgF8LGZRrz8b6_CfXSg@mail.gmail.com>
Subject: Re: [geda-user] speed-dial type buttons (was: Antifork)
From: "Shashank Chintalagiri (shashank DOT chintalagiri AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
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

I've been working on a way to handle one-to-many relationships between
PCBs and BOMs. It's still far from complete and probably is a highly
specific way of doing things, but since the subject's come up I
thought I'd mention it.

I'm still working on the docs and cleaning the code up when I have the
time to do so. For now, though the docs are pretty useless to do
anything interesting without the risk of breakage, here are the links
to the (both WIP in infancy) code and docs if anyone wants to take a
look.

Git : https://github.com/chintal/tendril
Docs : http://tendril.chintal.in/

Specifically, tendril.gedaif and tendril.boms.

On Wed, Aug 26, 2015 at 1:19 AM, DJ Delorie <dj AT delorie DOT com> 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.



-- 

Chintalagiri Shashank
Indian Institute of Technology, Kanpur

http://blog.chintal.in

- Raw text -


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