Sorry, that I rise a new issue.
I want to offset the mousebites with at least half of the drill size, to get a flat surface on the board edge.
In KiKit it is working to set the offet, based on the KiKit Python API, there is the function makeMouseBites which your are also call in your kikit-ui.py, there you set the offset to fixed 0, I change it to 0,3:
panel.makeMouseBites([line], diameter=mb_diameter * self.unit, spacing=mb_spacing * self.unit, offset=0.3 * self.unit, prolongation=0 * self.unit)
But it has no effect on.
(In your script you use the function three time, I have changed all the three even though I want to have only MouseBites, no V-cut)
Do you have any idea why the offset is not working?
p.s.: It could be a future improvement to add this parameter to the GUI, what do you think?
Sorry, that I rise a new issue. I want to offset the mousebites with at least half of the drill size, to get a flat surface on the board edge. In KiKit it is working to set the offet, based on the KiKit Python API, there is the function
makeMouseBites
which your are also call in your kikit-ui.py, there you set the offset to fixed 0, I change it to 0,3:panel.makeMouseBites([line], diameter=mb_diameter * self.unit, spacing=mb_spacing * self.unit, offset=0.3 * self.unit, prolongation=0 * self.unit)
But it has no effect on. (In your script you use the function three time, I have changed all the three even though I want to have only MouseBites, no V-cut) Do you have any idea why the offset is not working?p.s.: It could be a future improvement to add this parameter to the GUI, what do you think?