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=20161025; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=+RL3GLvPOqHK/U1vKdrcHqaItuujVWfd2acNXv53a9M=; b=IfOMCCIXp6/MbGSnYrwMT1NdDtVK3Z3aSE5QJ1hmJNAFSAu93QeBDOQFQXhvP0MIhk Zrv/0cijdMJo349lj6FeWkfm2PVJ/15+3QY/vd8azlQg8Fu7kFB4CpFD/wPk+6XQliwG 4YFfX4nU8r5wi6CwSvcgh60TFjClxRegpD1q7g7lxUs1QaD7TRQbgv3YiVMERN+JknPi KRTssUF+4bkjPHMAdsF30bCpjwRnDa+pifRedsW0CTca3bjbrA5ojBXp0NY9e6d4a3uT U7n8c0qqT6jJFlFK3Y1THDQtPwE1F+6QlIVxejzNAtz3QShgTQ6z4JWVesNQScakspV+ yxIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+RL3GLvPOqHK/U1vKdrcHqaItuujVWfd2acNXv53a9M=; b=CAwcX5awGB7XK0Zw1R9VSb1dVP2g9zxmjfUjzzsbOp5K5RBROFHfRc6rV2XbzO7XO3 4WuVbboz+Y4Rweu30K52r0Lp640THcs6Hx4lPy8e6O9UmfDLu3vsUqUoCQBjhx/KvfTm Ndsbh8vKr7j+oJgsVjzGZ/WZmHG7i/aLgcUvgode+J7NIH/XyOtSn+Ouom59WAD120WH GHwGPZZ4KHNag3q4G4mVtnWbCg9lvI+g9Ciy3C84a1lM6HuQknyE/fqBkoV49kyyQ+pW yxIqLUgGiF3lMugOmwl1EXXCUasr/dSwDaEvldGRvCbx95P757B0B0i9tjqhOGJyojya SjWQ== X-Gm-Message-State: AA+aEWZugrP1I5EuHYUc0JKd/g005BXAino61KNVx0xJl2PacouMvB8P I9aFT7H/gPur+hBj9fpSTR6ro9sg 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]" To: geda-user AT delorie DOT com Subject: Re: [geda-user] pcb: save connection data of - anyone ever used this? Net clearance. Message-Id: <20181223152541.4a66bd89d1e764d0399a100a@gmail.com> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 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? No. > 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.