delorie.com/archives/browse.cgi | search |
On Tue, 2012-12-11 at 13:18 -0900, Britton Kerin wrote: > It seems like the difficulty would be keeping the graph up-to-date across > all existing PCB operations (part move, past, manual wire, etc.) For now, I would imagine this to be a manually invoked operation, like it is currently. I am interested in maintaining some connectivity graphs online in the future, but for now we don't need that. In fact, it would probably not be "that" hard to construct a simple tree using our current scanning code using a hash table to track which nodes have already been added, and just inserting the nodes and edges. BTW.. We already perform a very simple online connection check for any copper object which embeds into a region containing a polygon fill. (It calculates the clearance or thermal pattern which needs to be cut into the polygon). I have often thought we should tag these objects (polygon + *) with the association that they affect each other. It wouldn't be a big jump to generalise to giving each object a list of connected objects as well as a list of affects-geometry objects. Regards, -- Peter Clifton <peter DOT clifton AT clifton-electronics DOT co DOT uk> Clifton Electronics
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |