On Mon, Mar 14, 2011 at 10:16:34PM +0000, Thomas Oldbury wrote: > Reading the section on blind and buried vias had me interested. > However, shouldn't vias be assigned layers (and not the other way > around?) It would probably make the code simpler - clicking on a via > would give immediate information about layers it belongs to, whereas > having vias assigned to layers would mean a costly lookup through all > layers to find the via.
I have expressed myself probably in wrong way. There will be a struct called "via". It will contain a "hole" and pointers to attached object on all affected layers. So when you click on the "hole" you can change parameters of all attached object at once. When you click on the attached object on some layer, you will change just that object. So moving will be possible just by moving the "hole". This can be easily programed, as when clicking on hole, you will have an array or something of pointer to all object, which you want to change. On the other way, the object lives on some layer, so you can treat it as any other object. Martin Kupec _______________________________________________ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user