You need to shorten ends of the tracks and insert a PCB_ARC between them.
Arcs are defined using start, end and mid points. Start and end would be the ends of the tracks and mid point needs to be calculated so that the circle of the arc is tangent to track lines.
That’s how kicad models it internally. If GUI doesn’t react the same way to your arc then it’s probably missing some other prerequisits. Try attaching tracks to it’s end and assigning it the same net.
Also I’m not sure what is shown on the video can be done after the fillet operation is complete. I don’t have 5.99 nearby to check at the moment.
Still it would be nice to have a way to call the python Fillet function… this will automatic create an arc tangent to tracks. ‘Fillet’ function will allow the track to be dragged more than the dimension of the created arc.
That function has nothing to do with tracks, it’s for rounding edges of polygon shapes. You can’t use it for tracks because it won’t give you coordinates for arc which you ultimately have to create.
You can lookup EDIT_TOOL::FilletTracks. It’s not usable in scripting, none of the tools are.
There is a SHAPE_ARC constructor that does fillet calculation that you want
/**
* Build a SHAPE_ARC which is tangent to two segments and a given radius.
*
* @param aSegmentA is the first segment
* @param aSegmentB is the second segment
* @param aRadius is the arc radius
* @param aWidth is the arc line thickness
*/
SHAPE_ARC( const SEG& aSegmentA, const SEG& aSegmentB, int aRadius, int aWidth = 0 );
Then the code passes that shape to PCB_ARC. Unfortunately neither SHAPE_ARC nor SEG needed to create it that way are exposed in API.
I will, but in this case I just adapted what I did for kicad 5 to calculate segments and simply got the middle point instead of all the discretized.
Thanks again for support