delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
X-Recipient: | geda-user AT delorie DOT com |
Date: | Thu, 18 Feb 2016 08:02:31 +0100 (CET) |
X-X-Sender: | igor2 AT igor2priv |
To: | geda-user AT delorie DOT com |
X-Debug: | to=geda-user AT delorie DOT com from="gedau AT igor2 DOT repo DOT hu" |
From: | gedau AT igor2 DOT repo DOT hu |
Subject: | [geda-user] djopt: what does it do? |
Message-ID: | <alpine.DEB.2.00.1602180751480.7885@igor2priv> |
User-Agent: | Alpine 2.00 (DEB 1167 2008-08-23) |
MIME-Version: | 1.0 |
Reply-To: | geda-user AT delorie DOT com |
Hi all, Background: I'm working on the next phase of pcb-rnd cleanup: modularization. In this step I convert chunks of code into modules that are compile-time configured into: - buildin (static linked) - plugin (dynamic linked; .so, used via the classic PCB plugin system) - or disabled. Autoroute and autoplace are already such modules. The ultimate goal is to move anything non-essential into such modules. First the ones that are well-separated in the source already. My next target is djopt. djopt question: Before converting it to a module, I decided to try it so that I can detect regressions after the modularization. I've drawn a trace with excess loops and U shaped outgrows, unchecked the "Only autorouted nets" and ran djopt(auto). A few traces blinked on the screen but nothing changed on the design. I see no error or warning in the messages window. I could get it to remove a few vias but can't get it to optimize tracks. The global puller does work. I repeated the test with a mainline build from 20140316 with the same result. What exactly djopt() should do? Is there an example pcb file with a well defined result I could test it on? Maybe even a set of input and output pcb files to test specific features like "Miter" individually? TIA, Igor2
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |