Hi, On Mon, 2024-02-26 at 19:03 +0000, 'James Jackson' via KiCad Developers wrote: > > 2. A 'tuning inspector' (dockable widget, like the properties inspector) > which shows in real-time the state of any length and / or skew constraints > against matching or chosen nets. This would be particularly useful for tuning > net skews on large collections of nets. For example, I currently run a hacky > python script which queries the board layout every few seconds to calculate > the length of defined nets and displays this in the terminal. Issues to > consider: > a. As far as I can see, the algorithm to match PCB geometry items to a > constraint rule is weaky quadratic (O(Num_Rules * Num_PCB_Geometry_Items)). > Running this in real-time would potentially be a performance killer, so need > to consider some way to choose a set of constraints / matching nets to watch. > Would also need to be updated on DRC rule changes, and need to monitor items > being added to / removed from the board (do hooks exist for this, or do we > need to regularly recompute?). If watching for board changes is a pain, > thoughts include running any processing in a background thread and re-compute > every (for example) 1s. >
You might want to have a look at the net inspector dialog. I needed a similar functionality a while go to get a design job done, so I rewrote the net inspector dialog to be non-modal and updating the trace lengths in real- time as they are being placed (after dragging, not during dragging). Perhaps it could give you some ideas. Best regards, Oleg Endo -- You received this message because you are subscribed to the Google Groups "KiCad Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/kicad.org/d/msgid/devlist/2e03e6de7f488edfa669deadb8aa2281104440d6.camel%40gmail.com.
