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=CAD/raQCNLKeV+Gp0BvIchdJZ5+QyqU4rVAdmkH30ck=; b=Kv2BslJFVCaCkr1xzizo2rQHzs9CdyGqtOyrjEcUj4GBTwqoL7ViKrX8c1RArNIUIs pfG8ZResvbJv6/yTyjkBVppah3P/mex0Ptj/Lmey6i+/W2+/p8B0NlW5MFXfJmYpLY4w meOf1Q0yLDsJPKqqCLgnyj+3OBGkiMzwCH4O0QVZp9RxpnoA8amJBheWH6eACdzxFUXb Hb2u3udl6QietWGETDxFL62skgz1n5l5H+G5vU+zHqqGxTYYoTCHWnPMVg6ySeWyLgyU qY9RGq4V9scRmexrYft/tD7ayPGkaraSNK8K8gTRIBG4919Iv3jQmLllxmRZV4kv2YZY HbkA== 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=CAD/raQCNLKeV+Gp0BvIchdJZ5+QyqU4rVAdmkH30ck=; b=XxCBYMXO3LBMdoLWyb7cvf8L4SqCCEzNW1rBXhnVnBmxCstjD0sFkSE87qGX23uHtY inTYNsTs3ULKzgyvejPEveypV/GmYMRy2jClTkX3tPZpC2c2dMJYVurinmfeMApUWAPn O9HivA80ZxWVgRxRMy/VBf+LbQ/1K5Ytj7LUE+G4Q1A+O0X6VQChhNXFIahAEy1E9NAM R2tw0M+1EiczNnJLHsyv5XPzWsxJD7eb9+KdaNhnHqlYS+F8FPRRpjMOf5ae6hZ9XHps cS06Oq3SSx3daTg9S/XTk6tnrY+fnDoHFa3cNAI5oI/bi/EBcxE6OWD0vjvNXXRQIqDB bARQ== X-Gm-Message-State: AG10YOSuj6/IixgMO4qKsuW5KYMvXA0gr/JsPywj+aoiJy+/vQkl3voIRrp0mps9qUKmnA== X-Received: by 10.28.175.209 with SMTP id y200mr877731wme.70.1452897250942; Fri, 15 Jan 2016 14:34:10 -0800 (PST) Date: Fri, 15 Jan 2016 23:34:05 +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 DRC and clearance Message-Id: <20160115233405.743617dc00c50386c92bcbce@gmail.com> In-Reply-To: References: <20160115221555 DOT f0a13b6d52b63876b734d3a3 AT gmail DOT com> X-Mailer: Sylpheed 3.5.0beta1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) 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 > > I had an hour two to spend on DRC check. In the attached file "find." the > > drcall(...) function was quite long so I broke out the different loops into > > separate functions. The variables where reused in each loop but I think > > everything is OK except one row info.flag = SELECTEDFLAG; which I suspect > > is used for something. > > > > I have changes in this function. I've been trying to get it merged to > something for a while now, as I'd really rather not do big nasty merges if > they can be avoided. > > If you take a look at home/bkerin/warn_about_invalid_flags you'll get my > latest version of this file. A simpler alternative would be to hold off a > bit on any cleanup here until I can get this branch merged. It will probably be a total rework of the clearance values which is expetected to take some time. As is now it is done per object type plan is: 1. Assign each object on copper layers to a net. 2. For each net. 3. For each clearance value to other net. 4. Grow objects with clearance value or as you name it apply bloat. 5. Check clearance. > Any refactoring of DRCAll counts as scary, as there are lots of globals and > setjmp points lurking around there. It is sort of therefore i factored out the different loop, in particular variables where reused although it is not clear if old values where used. I will work with clearance and do not care about the others for now. Do you happen to know how netlist dialog box find which objects belong to net then a net is highlighted? Nicklas Karlsson