Hi, I’m going to update my RF-tools plugins to be 5.99 compatible.
I would need some tips to ‘Fillet’ a track with python code…
I have two contiguous tracks and I would need to fillet those with python code.
import pcbnew from pcbnew import * pcb = pcbnew.GetBoard() tks= for item in pcb.GetTracks(): if item.IsSelected(): tks.append(item)
now I have i.e. two selected tracks and I would need to Fillet those by python
I’ve found this function in pcbnew:
def Fillet(self, aRadius: "int", aErrorMax: "int") -> "SHAPE_POLY_SET": r"""Fillet(SHAPE_POLY_SET self, int aRadius, int aErrorMax) -> SHAPE_POLY_SET""" return _pcbnew.SHAPE_POLY_SET_Fillet(self, aRadius, aErrorMax)
but I would need a
Any tip would be appreciated.