X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Fri, 19 Feb 2016 05:18:11 +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: Re: [geda-user] djopt: what does it do? In-Reply-To: <201602180717.u1I7HE3V013462@envy.delorie.com> Message-ID: References: <201602180717 DOT u1I7HE3V013462 AT envy DOT delorie DOT com> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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 Thu, 18 Feb 2016, DJ Delorie wrote: > > I just tried auto-optimize on a test board and it all did what I > expected - remove U-shaped traces and unneeded vias, and in general > move traces to as to minimize overall trace lengths. Miter converts a > 90-degree join with a miter, you can test it with two lines. Best to > test with a coarse grid, of course. Thank you, I've got somewhat closer to understanding what the feature is for. I've also read the comments in the code and prepared some demo/test cases. I still have a few questions, tho: So removing U and decreasing overall trace length is for 90 degree joints only? Example: http://igor2.repo.hu/tmp/djopt1.pcb The above change is made by debumpify and not unjaggy, right? What's the diff between unjaggy and debumpify? Especially, what'd be a good example where unjaggy would make modifications? Doesn't djopt(auto) run miter? I thought auto ran all opts. Or is it "all-but-miter"? Example: http://igor2.repo.hu/tmp/djopt2.pcb Does the via remover try to remove unnecessary bridges on the other layer or only vias that literally touches only one thing? Using this example I couldn't decide; it's also unclear why it leaves 3 vias instead of 0 or 2: http://igor2.repo.hu/tmp/djopt3.pcb Shouldn't vianudge move the via left on this one: http://igor2.repo.hu/tmp/djopt4.pcb What'd be a good example case for orthopull? TIA, Igor2