delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/01/18/03:13:57

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:in-reply-to:references:mime-version
:content-type:content-transfer-encoding;
bh=AYpkYcb2pDOu8tuCf3hJZ2jmTMlubXqlFEAELU0lBdM=;
b=tuk9E1T9gRbFIZHGgp2tOZwYQtGsBk6ZfG8DSM3pdmsm8MaMoTkn9rg19F8kGKo8bj
bV1KbMxXe+YKQlw1fBI48wmf+NcUWsp/IqHS1rpjKxNanUMTpVBqSzrNd7NO7J55MrYO
xgb8ALo4mJBdKQ4/PW1P2Kbp5zUF03tozfknPU0fDQfuXYTX7CTSv1Jk2kaQnabBESnL
qyAe+I0H3udIzfzELxW31G+3LTtIku6SihceuTxTonQEYujzdcPeuARJjBn7iyUe/8Ig
IGorej1qjlaUTDzQ2cqZ+chi2gO6sdVTCqX3UOmh4hg1gXtbwiwaaJzPMLcKL0RofejA
aBIw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to
:references:mime-version:content-type:content-transfer-encoding;
bh=AYpkYcb2pDOu8tuCf3hJZ2jmTMlubXqlFEAELU0lBdM=;
b=h5+y5vbbjEmlkL7pMu7JvD0CLZgESM/rqUQ6ur8X8Ki0GYyWObaYsYPTXN0s92fAy2
0zGlTPqUzl4bTyBWeOGtEhRPzS4zw87eiTAWz/PjgC8TVpUusQTcTN/56Zj44HjgQEHI
RAiKAfhKRc8hXVGVwR1qEHN/uovGXrvIXrNtjWsF56GzLT6r1x1zqGrPMZ0ogF9Co9kN
vDJHwuSDmYulXDpdCx8P9rn759GaseqRat1h/VMNwom7l+/Vet5asq7YltN/TInlWP+G
Xxk3puChI5RcnaEZnmHSqZ88H3276eGp+Q4emfokGqQay2ldR0/PrTW2zvk/XtVq1t0+
aEdg==
X-Gm-Message-State: AG10YOTlc6HrTM4R9AZdE9q1DkYZtAZVdS50RfidTcZ4F3I9ApiwWCoCKJHeUrgBAfYCVw==
X-Received: by 10.28.91.147 with SMTP id p141mr11410128wmb.19.1453104759598;
Mon, 18 Jan 2016 00:12:39 -0800 (PST)
Date: Mon, 18 Jan 2016 09:12:38 +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 netlist storage ? (working on clearance)
Message-Id: <20160118091238.930b6cc47954cd60de38bf4c@gmail.com>
In-Reply-To: <CAJXU7q_9hUBVV-KD48krum-9MRpB_DzyBMnBUkT_dPW=CXxeZw@mail.gmail.com>
References: <20160117223434 DOT 3a82b1b69b8a9614cc490965 AT gmail DOT com>
<CAJXU7q_9hUBVV-KD48krum-9MRpB_DzyBMnBUkT_dPW=CXxeZw AT mail DOT gmail DOT com>
X-Mailer: Sylpheed 3.5.0beta1 (GTK+ 2.24.25; x86_64-pc-linux-gnu)
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

I try to spend and hour or so on DRC calculation for clearance. There will be a need to assign unconnected copper object to a net as well as storing more information temporary while doing the check and I will try a different datatype for this. Any changes could wait until there is a real need to store clearance values.

Nicklas Karlsson



On Sun, 17 Jan 2016 23:50:06 +0000
"Peter Clifton (petercjclifton AT googlemail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> wrote:

> On 17 Jan 2016 21:37, "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via
> geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> wrote:
> 
> > Do anyone more than me think it would be a good idea to give netlists an
> own type hierarchy?
> 
> Quite possibly :)
> 
> I had forgotten about that particular horror in the code!
> 
> One option might be to rename the types according to the kind of
> data-structure they implement, especially if fixing the netlist case would
> just mean unnecessary duplication.
> 
> Since we now use glib, there are probably a lot nicer structures we can use
> without open-coding our own. This would be a better approach I suspect.
> 
> Feel free to work up an example / proposal / patch, and I'm sure we can get
> this cleaned up somewhat.
> 
> Peter

- Raw text -


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