Original Post is here 
<https://forum.kicad.info/t/log-of-trying-to-add-dragging-diff-pair/41205>

I’m working on drawing a SoC board with KiCAD, but I find KiCAD does not 1 
<https://forum.kicad.info/t/differential-pair-routing-dragging-checking/3360> 
support dragging a differential pair 
<https://gitlab.com/kicad/code/kicad/-/issues/2005>, so I cloned KiCAD 
source code to see if I can add it.

I found the dev docs 
<https://dev-docs.kicad.org/en/components/tool-framework/> and video 
<https://www.youtube.com/watch?v=eyanqxyOCBw>, but the dev docs are too 
simple and not a source code walk through, and the content of video was a 
bit older (5.x) than latest (7.0) source code

So I have to read through source code directly.

IMO, I can learn from drag tool and tune diff pair tool.


I think I can add a DRAG_MODE in pns_router.h
add static TOOL_ACTION routerDragDiffPair; in pcb_actions.h

I think I can copy most part of length_tuner_tool, but need to change some 
in pns_router.cpp



-- 
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/38256188-aa16-4ef7-8cab-30f887be7f77n%40kicad.org.

Reply via email to