Mail Archives: geda-user/2018/12/23/09:26:56

X-Authentication-Warning: 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;; s=20161025;
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20161025;
X-Gm-Message-State: AA+aEWZugrP1I5EuHYUc0JKd/g005BXAino61KNVx0xJl2PacouMvB8P
X-Google-Smtp-Source: AFSGD/Wy5pr6Wr0RImcdZDbbtiwO233AK7IJdJDknz+vSeoc3dhR2Az/0nto0Kwnv+f57Yd+aj2pZg==
X-Received: by 2002:a19:574d:: with SMTP id l74mr4889900lfb.5.1545575143118;
Sun, 23 Dec 2018 06:25:43 -0800 (PST)
Date: Sun, 23 Dec 2018 15:25:41 +0100
From: "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] pcb: save connection data of - anyone ever used
this? Net clearance.
Message-Id: <>
In-Reply-To: <alpine.DEB.2.00.1812140530380.21900@igor2priv>
References: <alpine DOT DEB DOT 2 DOT 00 DOT 1812140530380 DOT 21900 AT igor2priv>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
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 Fri, 14 Dec 2018 05:43:14 +0100 (CET)
gedau AT igor2 DOT repo DOT hu wrote:

> Hi all,
> I'm doing a full rewrite on find.c in pcb-rnd. In fact the most important 
> parts are already done, and I am mostly moving around or removing old 
> code.
> There's a part that I always wondered if anyone ever use: in pcb, file 
> menu, save connection data of submenu. It does some connection lookups and 
> saves in a strange format.
> My questions are:
> 1. Does anybody here use this feature in practice?


> 2. If so, what are you using it for and how? What software does it read?

> 5. If you don't use this specific feature, but always wanted to have 
> something similar that is slightly different (e.g. different file format 
> or different summary of connections), what would that be and what would be 
> the practical use?

Guess it would only be useful for reverse engineering or back annotation.

Assuming it calculate actual connections which does not neccessarily have to agree with netlist it is very useful internally for DRC to check actual connections agree with netlist. To list shorted nets and unconnected pins would also be useful. I have however never saved connections to a file.

Of topic I remember looking into "find.c" then starting to implement clearance check between nets, algorithm is if I get it correct:
  1. For each net.
  1.1. Find all drawing primitives on electrical layers.
  1.1. For each clearance value to other net.
  1.1.1. Grow/bloat drawing primitives with clearance value.
  1.1.2. Check if any of the grown/bloated drawing primites overlap with drawing primitive for any other net.
I guess something similar is also needed to "cut" a hole in copper areas with clearance value to copper area. I do something all the time and did simply not had time to write any more code, partly because I am getting a little bit old and spent quite many nights at night clubs looking for a good woman.

- Raw text -

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